Trunk from Elastix to Trixbox

Discussion in 'General' started by nanozzo, Nov 29, 2010.

  1. nanozzo

    Joined:
    Nov 29, 2010
    Messages:
    2
    Likes Received:
    0
    Hello everyone,
    I rode with in Elastix PBX and would like to create a trunk between it and another with in Trixbox PBX.
    I tried with the classic patterns that I was on Trixbox, but do not work.
    I ask for help
    Thanks to all
    :( :(
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Hi and wellcome to our Elastix Forum.

    First, what's trunk used? (SIP or IAX2)
    Second, What are parameters on every trunk?
    Third, Do you have some routers, or others?
     
  3. nanozzo

    Joined:
    Nov 29, 2010
    Messages:
    2
    Likes Received:
    0
    Hi danardf and thaks to your help,
    1.the trunk is in iax2
    2.elastix parameters :

    Edit iax trunk
    General Settings

    Trunk Name:Ciccio2
    outbound CallerID:pippo1

    Outgoing Settings
    Trunk Name:Ciccio2_Peer

    PEER Details:
    host=trixbox ip address
    username=Pippo1
    secret=Pippo1
    type=peer

    Incoming Settings

    USER Context:Ciccio2
    USER Details
    secret=Pippo1
    context=from-internal
    host=trixbox ip address




    Outbound Route

    Edit Route

    Route Name:Ciccio2


    Dial patterns

    90|.

    Trunk sequence

    0 iax2/Ciccio2_Peer









    Trixbox:

    Edit iax trunk


    .General Settings

    oubound caller ID:pippo1

    Outgoing Settings:

    Trunk Name:pippo1_Peer

    PEER Details:
    host=elastix ip address
    username=Pippo1
    secret=Pippo1
    type=peer

    Incoming Settings

    User context:pippo1

    USER Details:
    secret=Pippo1
    type=user
    context=from-internal
     
  4. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    ok.
    Please read the chapter 30 on the document "Elastix Without Tears".

    Just an example like this:

    Side A:

    PEER Details:
    Code:
    hotsmane=side_b
    type=friend
    context=from-internal
    disallow=all
    allow=alaw
    qualify=yes
    username=pipo
    secret=pipo
    And without user context (leave empty).

    Side b:

    PEER Details:
    Code:
    hotsmane=side_a
    type=friend
    context=from-internal
    disallow=all
    allow=alaw
    qualify=yes
    username=pipo
    secret=pipo
    And without user context (leave empty).

    Next, you could play with dial pattern and dial rules to adjust every dialplan.

    Let me know. ;)
     

Share This Page