Outbound dialing for calls received via trunk

Discussion in 'General' started by lesliem, Sep 1, 2010.

  1. lesliem

    Joined:
    Sep 1, 2010
    Messages:
    1
    Likes Received:
    0
    Hi everyone,

    My setup is as follows:
    AAstra PBX (Server 1) connected to a Elastix box (V2 - Server 2) via a SIP trunk - Trunk A.
    Both servers are on the same subnet.

    Calls from extensions on Server 1 to extensions on Server 2 and visa versa work fine.
    Calls from extensions on server 1 to the elastix box however take about 2 seconds to start ringing (calls from Server 2 to server 1 are instant)

    I have a SIP trunk configured on the Elastix box to a VOIP Provider - Trunk B.
    Calls from extensions on Server 2 to external parties over Trunk B work fine.
    I have a ISDN trunk configured on Server 1 - Trunk C.
    I can dial a third party from Server 2 via Trunk A and then Trunk C.

    If I dial a third party from Server 1 via Trunk A and then Trunk B however, the call gets connected, but there is no sound at either end.

    I am new to Elastix (asterix) and dont know how to check the logs to see what is going on.
    I have added the Elastix SIP trunk details below.
    Thanks in advance.

    Trunk A:
    Peer details:
    username=<username>
    type=peer
    qualify=yes
    secret=<secret>
    nat=no
    insecure=very
    host=10.0.0.3
    fromuser=<username>
    fromdomain=<pbx domain>

    User Details:
    username=<username>
    type=friend
    secret=<secret>
    host=dynamic
    context=from-internal
    nat=yes

    Trunk B:
    Peer details:
    host=<voip provider IP>
    username=<username>
    secret=<secret>
    type=peer
    nat=auto

    User Details:
    secret=<secret>
    type=peer
    context=from-trunk
    nat=auto

    Register String (Trunk B)
    <username>:<secret>@<Voip Provider IP>
     

Share This Page