Using BrainTel (not working)
I am using http://braintel.net.pk/
And it is not working. I need help to 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:
[email protected]:8891 SIP/2.0
Via: SIP/2.0/ ;branch=z9hG4bK-d87543-d56833136165922f-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:
[email protected]:55287>
To: <sip:
[email protected]:8891>
From: "100"<sip:
[email protected]: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:
[email protected]:
8891>
From: "100"<sip:
[email protected]:
8891>