3cx to Asterisk Bridge - Invite failed

Discussion in '3CX Phone System - General' started by dooglec, Oct 11, 2014.

Thread Status:
Not open for further replies.
  1. dooglec

    Joined:
    Oct 11, 2014
    Messages:
    2
    Likes Received:
    0
    I have a remote office connecting in to my main 3CX office, the remote office uses a legacy Asterisk system (nextix) and I'm having trouble getting them to connect.
    I have a master bridge in 3CX and I created a tunnel on the Asterisk system (config as in image) which works fine, 3cx sees the bridge as up and I can call 3cx -> remote however remote ->3cx gets a no circuits available message.

    Checking the logs I see this error:

    This shows the connection isn't working but 3cx isn't accepting the connection for some reason, the password and username are correct, (12345 for testing) however I can't make calls to the main office.

    Any help would be much appreciated!
     

    Attached Files:

  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,357
    Likes Received:
    224
    With 3CX set as the master, you should see the "other" PBX successfully register in the logs. That would verify that the user name and password were seen as correct.

    This leads me to believe that it may have something to do with something other than the trunk credentials.

    You could try registering a VoIP device (ATA?) to the 3CX Master trunk (the trunk should appear as a VoIP provider to that device), to see if that works, with basic settings.
     
  3. dooglec

    Joined:
    Oct 11, 2014
    Messages:
    2
    Likes Received:
    0
    Thanks Leejor,

    The trunk itself seems to work, and calls can go one way, it seems as if I need to someone register the remote extensions as allowed for calling to stop 3cx dropping them, but It wouldn't make sense to have to re-create all the extensions from the remote office locally?
     
  4. jasit

    jasit New Member

    Joined:
    Feb 12, 2013
    Messages:
    169
    Likes Received:
    1
    Re: 3cx to Asterisk Bridge - solution

    I just got it working this morning. I was curious about how it worked too.

    Here are the steps I followed
    On the 3cx Server
    1) Create the Master Direct-UDP Bridge
    Virtual extension number 10002
    Authpassword 55555
    Take note of the password
    Check both allow outbound and inbound calls
    support re-invite yes
    support replaces yes
    pbx Delivers Audio

    add G.711 U
    add G.711 A

    2) Create a outbound route matching the extensions on the Freepbx server

    On the Freepbx server

    1) Create a Trunk
    Trunk Name 3CXserver
    Peer Details area
    username=10002
    type=peer&friend
    secret=55555
    nat=auto
    insecure=very
    host=192.168.0.90
    fromuser=10002
    fromdomain=192.168.0.90
    dtmfmode=auto
    disallow=all
    context=from-internal
    allow=ulaw

    Register String
    10002:55555:10002@192.168.0.90:5060/10002

    2) Create an outbound route
    Intra-Company Checked
    Dial pattern to match the extensions on 3CX
    Trunk Sequence select 3CXserver
     
Thread Status:
Not open for further replies.