I am getting inbound calls from all of my 3 carriers. I bought a bunch of DIDs from a new provider today and they are using freeswitch , they are sending calls over in _+1xxxxxxxxxx format , I have uncommented the line in extensions.conf under context trunkinbound to allow these calls. I actually just added a it to the rest. Whenever i call a did , its giving me fast busy and in the CLI this is what I am getting : (I masked the last 4 of every phone number for privacy )
U 2015/03/24 15:31:07.661110 162.246.xx.xx:5060 -> 192.168.1.72:5060
INVITE sip:1505333xxxx@173.246.xx.xxSIP/2.0
Via: SIP/2.0/UDP 162.246.139.145;rport;branch=z9hG4bKacH2HaZ7c09rc
Max-Forwards: 47
From: "+1561350xxxx" <sip:561350xxxx@162.246.xx.xx>;tag=B1jD09jc0FSFF
To: <sip:1505333xxxx@173.246.xx.xx>
Call-ID: 2d5f4da5-4cc4-1233-65bf-00163c67f99f
CSeq: 73264003 INVITE
Contact: <sip:mod_sofia@162.246.xx.xx:5060>
User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20141113T152002Z~dd61232163~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 276
X-FS-Support: update_display,send_info
Remote-Party-ID: "+1561350xxxx <sip:561350xxxx@162.246.xx.xx>;party=calling;screen=yes;privacy=off
v=0
o=FreeSWITCH 1427173017 1427173018 IN IP4 162.246.139.202
s=FreeSWITCH
c=IN IP4 162.246.139.202
t=0 0
m=audio 27116 RTP/AVP 0 8 3 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
#
U 2015/03/24 15:31:07.661498 192.168.1.72:5060 -> 162.246.xx.xx:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 162.246.xx.xx;branch=z9hG4bKacH2HaZ7c09rc;received=162.246.xx.xx;rport=5060
From: "+1561350xxxx" <sip:561350xxxx@162.246.xx.xx>;tag=B1jD09jc0FSFF
To: <sip:1505333xxxx@173.246.xx.xx>;tag=as097bace0
Call-ID: 2d5f4da5-4cc4-1233-65bf-00163c67f99f
CSeq: 73264003 INVITE
Server: Asterisk PBX 1.8.26.0-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3621d4fd"
Content-Length: 0
##
U 2015/03/24 15:31:07.672116 162.246.139.145:5060 -> 192.168.1.72:5060
ACK sip:1505333xxxx@173.246.xx.xxSIP/2.0
Via: SIP/2.0/UDP 162.246.xx.xx;5rport;branch=z9hG4bKacH2HaZ7c09rc
Max-Forwards: 47
From: "+1561350xxxx" <sip:561350xxxx@162.246.xx.xx>;tag=B1jD09jc0FSFF
To: <sip:1505333xxxx@173.246.xx.xx>;tag=as097bace0
Call-ID: 2d5f4da5-4cc4-1233-65bf-00163c67f99f
CSeq: 73264003 ACK
Content-Length: 0
--------------------------------------------------------------------------------
here are my inbound settings :
[xxxxDIDs]
disallow=all
allow=gsm
allow=ulaw
allow=g729
type=friend
host=162.246.xx.xx
qualify=yes
insecure=port,invite
nat=yes
context=trunkinbound
Ive tried a couple different settings but nothing is working. Just gets rejected every time. no matter what i do .
sip show peers shows the server as unreachable when qualify is yes.
any help at all is greatly appreciated , first time i have had an issue with inbound.