Hi All,
I am trying to get my DID to work in Asterisk Version 13.12.1 this is what my SIP provider said was happening.
My Invite message on my test call from my cell phone:
INVITE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 209.212.xxx.xxx:5060;branch=z9hG4bK+56dd28313993f8adc333728619d39e0f1+sip+1+b323e755
From: “CTC TELECOM” sip:[email protected]:5060;tag=209.212.xxx.xxx+1+eeee358d+a0b1623;isup-oli=62
To: sip:[email protected]
CSeq: 286513367 INVITE
Expires: 180
Content-Length: 178
Call-Info: sip:209.212.xxx.xxx:5060;method="NOTIFY;Event=telephone-event;Duration=2000"
Supported: resource-priority,siprec, 100rel
Contact: sip:[email protected]:5060;isup-oli=62
Content-Type: application/sdp
Allow-Events: message-summary, refer, dialog, line-seize, presence, call-info, as-feature-event, calling-name
Max-Forwards: 69
Call-ID: 0gQAAC8WAAACBAAALxYAAHUCnp9T4RXw0W+EU/hSYs8whGTTgG/[email protected]
Organization: MetaSwitch
P-Asserted-Identity: “CTC TELECOM” sip:[email protected]:5060
Accept: application/sdp, application/dtmf-relay
v=0
o=- 18962383773092 18962383773092 IN IP4 209.212.xxx.xxx
s=-
c=IN IP4 209.212.xxx.xxx
t=0 0
m=audio 28188 RTP/AVP 18 0 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
The full message I am getting from your phone system:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 209.212.xxx.xxx:5060;branch=z9hG4bK+56dd28313993f8adc333728619d39e0f1+sip+1+b323e755;received=209.212.xxx.xxx;rport=5060
From: “CTC TELECOM” sip:[email protected]:5060;tag=209.212.xxx.xxx+1+eeee358d+a0b1623;isup-oli=62
To: sip:[email protected];tag=as54c9556d
Call-ID: 0gQAAC8WAAACBAAALxYAAHUCnp9T4RXw0W+EU/hSYs8whGTTgG/[email protected]
CSeq: 286513367 INVITE
Server: FPBX-13.0.192.19(13.12.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="4a16d99c"
Content-Length: 0
I can place calls out
Here is my Trunk Set up
host=hpbx-ctctelcom.net
username=NNNNNNNNNN
secret=PPPPPPPPPP
type=friend
context=from-trunk
insecure=port,invite
disallow=all
allow=ulaw
I have the Inbound route of the DID set to go to my Ext.
I don’t know what I am missing. Any hlep would be great