Results 1 to 2 of 2

Thread: Connecting Between Pika to asterisk by Trunk

  1. #1
    hanandyn Guest

    Default Connecting Between Pika to asterisk by Trunk


    i need to configure pika device running asteriskgui 2 to another asterisk PBX.
    i want this connection to be done as trunk to trunk.
    my extension setup is that one side has extension 5xxx and the other side 6xxx and i want them to be able to dial one to another just by entering the extension number.
    i have done this many time between PBX running freepbx but i couldn't find out how to do it between asteriskgui to freepbx.

    thank you for your assistance.

  2. #2
    skar Guest

    Default How-To: Connect 2 WARPs with Asterisk 2-4 using IAX

    It is possible to connect two Asterisk GUI 2 WARPs so that extensions on a remote WARP can just be dialled as if they were local extensions on your WARP. This requires the creation of a IAX trunk on each WARP that corresponds to an extension on the other WARP.

    For this example, I have 2 WARP appliances, each running Asterisk GUI 2.4 as released here. The WARPs are set up as follows:

    WARP A - Ottawa
    extensions 5000 to 5500
    IP =

    WARP B - Toronto
    extensions 6000 to 6500
    IP =

    The following example will set up the Ottawa box so that it can call Toronto extensions as if they were a local extension. In order to allow the Toronto office to call Ottawa extensions as if they were local, this same procedure detailed below just needs to be applied in reverse. You will also need to use IP addresses and names that apply to your setup, the above are only examples.

    In order to set this up, we need to create an IAX trunk on the Ottawa side that connects to an IAX extension on the other side. This may seem strange but the extension here is just the connect point for the IAX trunk.

    So let's begin. On the Ottawa box we need to go to Trunks -> VOIP trunks -> Add SIP/IAX Trunk. I fill it in as shown.

    Now we go over to the Toronto side and create an IAX extension. We go to User Extensions -> Create New User Extension and fill it in as shown below.

    If we apply the changes to both sides, we can see on our Ottawa WARP that our IAX trunk to call Toronto is registered. Go to System Status page and you should see our ottawa IAX trunk is registered.

    Now we need to create a calling rule on the Ottawa WARP. We go to Outbound Calling Rules -> New Outbound Call Rule and fill it in as shown below.

    Then we need to go to our Class of Service on the Ottawa WARP and edit an existing one or create a new one. It should be filled out as shown below.

    We now make sure changes are applied on both sides. We can now pick up an extension on our Ottawa WARP and dial an extension on Toronto as if it were local. I dialled 6001 as that was an fxs port on the Toronto WARP and it rings through.

    Remember: To get this to work from Toronto to Ottawa now, you need to redo the above in the opposite direction.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts