Hello,
I’ve tried what I was told and it’s still the same.
I have also captured the data with the ISP’s voice box that if the incoming and outgoing calls work. but I can’t replicate the behavior in asterisk.
ISP voice box:
äFÝc\Üæd¨E¸;@ùU5D£U>ôRÄÄ’ÕREGISTER sip:sip.isp.com SIP/2.0
Via: SIP/2.0/UDP 22.22.22.22:5060;rport;branch=z9hG4bK-4d9cc92e66748a775a32bcdc35248684
From: “+34900000000” sip:[email protected];tag=239579a726b299117f72
To: “+34900000000” sip:[email protected]
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:5060
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, SUBSCRIBE, REFER, UPDATE
Max-Forwards: 70
Expires: 3600
User-Agent: Router CPE1
Content-Length: 0
\Üæd¨äFÝcE¸ y[,U>ôRU5D£ÄÄgfSIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 22.22.22.22:5060;received=22.22.22.22;branch=z9hG4bK-4d9cc92e66748a775a32bcdc35248684;rport=5060
From: “+34900000000” sip:[email protected];tag=239579a726b299117f72
To: “+34900000000” sip:[email protected];tag=1053d1a00cc839e8b0d312e9f76d8f26
Call-ID: [email protected]
CSeq: 1 REGISTER
Content-Length: 0
WWW-Authenticate: Digest nonce=“REQUESTHASH”,realm=“sip.isp.com”,algorithm=MD5,qop=“auth”
P-Charging-Function-Addresses: ccf=“aaa://sip.isp.com”
P-Charging-Vector: icid-value=1053d1a00cc839e8b0d312e9f7653766
äFÝc\Üæd¨E¸]@ÖU5D£U>ôRÄÄIÔREGISTER sip:sip.isp.com SIP/2.0
Via: SIP/2.0/UDP 22.22.22.22:5060;rport;branch=z9hG4bK-5150784a6045a5d16d1ec0d462c0db86
From: “+34900000000” sip:[email protected];tag=239579a726b299117f72
To: “+34900000000” sip:[email protected]
Call-ID: [email protected]
CSeq: 2 REGISTER
Contact: sip:[email protected]:5060
Authorization: Digest username="[email protected]", realm=“sip.isp.com”, nonce=“REQUESTHASH”, uri=“sip:sip.isp.com”, response=“RESPONDHASH”, algorithm=MD5, cnonce=“CNONCEHASH”, qop=auth, nc=00000001
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, SUBSCRIBE, REFER, UPDATE
Max-Forwards: 70
Expires: 3600
User-Agent: Router CPE1
Content-Length: 0
\Üæd¨äFÝcE¸yZFU>ôRU5D£ÄÄrÅ_SIP/2.0 200 OK
Via: SIP/2.0/UDP 22.22.22.22:5060;received=22.22.22.22;branch=z9hG4bK-5150784a6045a5d16d1ec0d462c0db86;rport=5060
From: “+34900000000” sip:[email protected];tag=239579a726b299117f72
To: “+34900000000” sip:[email protected];tag=1053d1a00cc851fc30d312e9f8036036
Call-ID: [email protected]
CSeq: 2 REGISTER
Content-Length: 0
Contact: sip:[email protected]:5060;expires=3600
P-Associated-URI: sip:[email protected]
P-Associated-URI: tel:+34900000000
P-Charging-Vector: icid-value=1053d1a00cc851fc30d312e9f7fe72cd;term-ioi=sip.isp.com
Authentication-Info: nextnonce=“HASH”,qop=auth,rspauth=“06592440ba254baf70f8ab15de59c08e”,cnonce=“CNONCEHASH”,nc=00000001
P-Charging-Function-Addresses: ccf=“aaa://sip.isp.com”
äFÝc\Üæd¨E¸@U5D£U>ôRÄÄ
&“INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 22.22.22.22:5060;branch=z9hG4bK-31bd71df7168e01c2085ab75564ace33
From: “+34900000000” sip:[email protected];tag=26db5b4c2f8cda9139ddf6b5554c9182
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: sip:[email protected]:5060
Proxy-Authorization: Digest username="[email protected]”, realm=“sip.isp.com”, nonce=“HASH”, uri="sip:[email protected]", response=“HASH1”, algorithm=MD5, cnonce=“HASH2”, qop=auth, nc=00000001
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, SUBSCRIBE, REFER, UPDATE
Max-Forwards: 70
User-Agent: Router CPE1
P-Asserted-Identity: “+34900000000” sip:[email protected]
Content-Length: 216
v=0
o=- 81747 2 IN IP4 22.22.22.22
s=-
c=IN IP4 22.22.22.22
t=0 0
m=audio 5050 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15,32
a=ptime:20
\Üæd¨äFÝcE¸My\U>ôRU5D£ÄÄ9¤æSIP/2.0 100 Trying
Via: SIP/2.0/UDP 22.22.22.22:5060;branch=z9hG4bK-31bd71df7168e01c2085ab75564ace33
From: “+34900000000” sip:[email protected];tag=26db5b4c2f8cda9139ddf6b5554c9182
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 1 INVITE
\Üæd¨äFÝcE¸ny[^U>ôRU5D£ÄÄZ SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 22.22.22.22:5060;branch=z9hG4bK-31bd71df7168e01c2085ab75564ace33
From: “+34900000000” sip:[email protected];tag=26db5b4c2f8cda9139ddf6b5554c9182
To: sip:[email protected];tag=p65551t1537707424m343198c1149360512s1_1758194262-22192178
Call-ID: [email protected]
CSeq: 1 INVITE
Content-Length: 0
Contact: sip:[email protected]:5060;transport=udp
Supported: timer
P-Charging-Vector: icid-value=016f19890c1398aa50d312ea15e87378
P-Charging-Function-Addresses: ccf=“aaa://sip.isp.com”
FREEPBX
äFÝcdÑTPþY#@E`v
?hZD7lU>ð(ÄbÿOPTIONS sip:sip.isp.com SIP/2.0
Via: SIP/2.0/UDP 24.24.24.24:5160;branch=z9hG4bK3ea5ae19;rport
Max-Forwards: 70
From: “Unknown” sip:USER1234%[email protected]:5160;tag=as671b0ec6
To: sip:sip.isp.com
Contact: sip:USER1234%[email protected]:5160
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
User-Agent: Router CPE1
Date: Tue, 31 Mar 2020 11:08:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
)4ñmìTE Ó@5BU>ðÀ¨(
Ä(
þSIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.30.2:5160;received=192.168.30.2;rport=5160;branch=z9hG4bK3ea5ae19
To: sip:sip.isp.com;tag=h7g4Esbg_r3745vce929icv9b22li3tjgn25gp317
From: “Unknown” sip:USER1234%[email protected]:5160;tag=as671b0ec6
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
Content-Length: 0
mìT)4ñE`Ô
p@?«À¨(
U>ð(ÄÀÊ REGISTER sip:sip.isp.com SIP/2.0
Via: SIP/2.0/UDP 192.168.30.2:5160;branch=z9hG4bK015aa8cf;rport
Max-Forwards: 70
From: sip:[email protected];tag=as37f2eed8
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 REGISTER
Supported: replaces, timer
User-Agent: Router CPE1
Expires: 3600
Contact: sip:[email protected]:5160
Content-Length: 0
dÑTPþYäFÝc£@E .
º@6äÈU>ðZD7lÄ(å1SIP/2.0 401 Unauthorized 11030230337
Via: SIP/2.0/UDP 24.24.24.24:5160;received=24.24.24.24;rport=5160;branch=z9hG4bK015aa8cf
To: sip:[email protected];tag=h7g4Esbg_05938f82082df05a224961e6bce
From: sip:[email protected];tag=as37f2eed8
Call-ID: [email protected]
CSeq: 102 REGISTER
Service-Route: sip:85.62.240.173:5060;transport=udp;lr
WWW-Authenticate: Digest realm=“sip.isp.com”,nonce=“96F93DDDA824835E0000000015ECF315”,algorithm=MD5,qop=“auth”
Content-Length: 0
mìT)4ñE`Ö
@>ˬ(
U>ð(ÄÂREGISTER sip:sip.isp.com SIP/2.0
Via: SIP/2.0/UDP 192.168.30.2:5160;branch=z9hG4bK4a3c1ccd;rport
Max-Forwards: 70
From: sip:[email protected];tag=as37f2eed8
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 103 REGISTER
Supported: replaces, timer
User-Agent: Router CPE1
Authorization: Digest username="[email protected]", realm=“sip.isp.com”, algorithm=MD5, uri=“sip:sip.isp.com”, nonce=“96F93DDDA824835E0000000015ECF315”, response=“1a26f46219505f42c12081fc381dfd66”, qop=auth, cnonce=“49c9aff4”, nc=00000001
Expires: 3600
Contact: sip:[email protected]:5160
Content-Length: 0
dÑTPþYäFÝc£@E Ñ
ß@6äU>ðZD7lÄ(½ö0SIP/2.0 200 OK
Via: SIP/2.0/UDP 24.24.24.24:5160;received=24.24.24.24;rport=5160;branch=z9hG4bK4a3c1ccd
To: sip:[email protected];tag=h7g4Esbg_05938f8204e1c05a224961f90b7
From: sip:[email protected];tag=as37f2eed8
Call-ID: [email protected]
CSeq: 103 REGISTER
Contact: sip:[email protected]:5160;expires=3600
P-Associated-Uri: sip:[email protected]
P-Associated-Uri: tel:+34900000000
Service-Route: sip:85.62.240.173:5060;transport=udp;lr
Content-Length: 0
Authentication-Info: nextnonce=“9EE2DBB7A824835E00000000ED6E2A29”,qop=auth,rspauth=“72955cd8f4a653bc65bd82dff2fd59ca”,cnonce=“49c9aff4”,nc=00000001
mìT)4ñE`¼AÑ@bÀ¨(
U>ð(ĨÍÂINVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.30.2:5160;branch=z9hG4bK6db2e2f0;rport
Max-Forwards: 70
From: sip:USER1234%[email protected]:5160;tag=as09317512
To: sip:[email protected]:5060
Contact: sip:USER1234%[email protected]:5160
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Router CPE1
Date: Tue, 31 Mar 2020 11:08:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 277
v=0
o=root 1327473564 1327473564 IN IP4 192.168.30.2
s=Asterisk PBX 16.9.0
c=IN IP4 192.168.30.2
t=0 0
m=audio 10200 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
dÑTPþYäFÝc£@E ¤@@6ÆÚU>ðZD7lÄ(Ì"SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 24.24.24.24:5160;received=24.24.24.24;rport=5160;branch=z9hG4bK6db2e2f0
To: sip:[email protected]:5060;tag=h7g4Esbg_sfyvqn27hhjk48w1yb8nkeeksxcc2sqy
From: sip:USER1234%[email protected]:5160;tag=as09317512
Call-ID: [email protected]
CSeq: 102 INVITE
Content-Length: 0