Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Help configuring BrainTel

Discussion in '3CX Phone System - General' started by badtoad, Jan 22, 2008.

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

    Joined:
    Jan 22, 2008
    Messages:
    2
    Likes Received:
    0
    I need help configuring BrainTel with 3CX. It successfully registers, but i can not make out going calls. It failed with 603 Declined.

    The provider is using Asterisk PBX at their end and here is a working configuration with asterisk.

    Outbound Caller ID: 210XXXX

    Trunk Name: Brain

    PEER Details:
    username=210XXXX
    type=peer
    secret=YYYY
    qualify=yes
    progressinband=yes
    port=8891
    nat=yes
    insecure=very
    host=chat.brain.net.pk
    fromuser=210XXXX
    fromdomain=chat.brain.net.pk:8891
    dtmfmode=rfc2833
    disallow=all
    context=from-trunk
    canreinvite=no
    authname=210XXXX
    auth=md5
    allow=g729


    Based upon above I made the following changes to Gateway / Provider Outbound Parameters section and defined custom values:

    To : Host Part = chat.brain.net.pk
    From : Host Part = chat.brain.net.pk:8891

    If I am missing anything?

    Here is the invite packet it is sending:

    SEND: INVITE sip:2100800@chat.brain.net.pk:8891 SIP/2.0
    Via: SIP/2.0/ ;branch=z9hG4bK-d87543-d56833136165922f-1--d87543-;rport
    Max-Forwards: 70
    Contact: <sip:210XXXX@24.16.98.7:55287>
    To: <sip:2100800@chat.brain.net.pk:8891>
    From: "100"<sip:210XXXX@chat.brain.net.pk:8891>;tag=7b535454
    Call-ID: NGY4OTcyMmZhZWI4MGExOWE0MDVlMTBkNmIwN2Y2MTY.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    Content-Type: application/sdp
    User-Agent: 3CXPhoneSystem 5.0.3790.0
    Content-Length: 247

    v=0
    o=3cxPS 18069061632 391496335361 IN IP4 24.16.98.7
    s=3cxPS Audio call
    c=IN IP4 24.16.98.7
    t=0 0
    m=audio 9000 RTP/AVP 0 8 101
    c=IN IP4 24.16.98.7
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=sendrecv


    I suspect that the issue is with To and From fileds where it is also including 8891 as the port, which might not be required.
    To: <sip:2100800@chat.brain.net.pk:8891>
    From: "100"<sip:210XXXX@chat.brain.net.pk:8891>


    Any help is appreciated.
     
Thread Status:
Not open for further replies.