Discussion:
[asterisk-dev] PJSIP signalling issue
Abhay Gupta
2018-10-09 12:11:27 UTC
Permalink
Hi,

We are having problem with Airtel service provider in India .

Asterisk sends SIP 200OK —> Airtel responds with ACK but asterisk does not recognises the same . Though the same works with chan_sip

<--- Transmitting SIP response (971 bytes) to UDP:10.232.130.170:5060 <http://10.232.130.170:5060/> --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKhmhxdldlymycwbxjuhbbwumms;Role=3;Hpt=8f92_36;TRC=ffffffff-ffffffff
Call-ID: ***@B.5.268.ims.airtel.in <mailto:***@B.5.268.ims.airtel.in>
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=lk6q030e
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=cc711ea4-479a-44ab-b69c-f0db6c9128ba
CSeq: 1 INVITE
Server: Asterisk PBX 13.20.0
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 254

v=0
o=- 129157300 129157302 IN IP4 10.165.10.4
s=Asterisk
c=IN IP4 10.165.10.4
t=0 0
m=audio 13250 RTP/AVP 8 0 97
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP request (565 bytes) from UDP:10.232.130.170:5060 <http://10.232.130.170:5060/> --->
ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK7xt7bymjduhsbdxuswm7tmlby;Role=3;Hpt=8f92_36;TRC=ffffffff-ffffffff
Call-ID: ***@B.5.268.ims.airtel.in <mailto:***@B.5.268.ims.airtel.in>
From: "09821397747"<tel:9821397747;noa=subscriber;srvattri=national;phone-context=+91 <tel:9821397747;noa=subscriber;srvattri=national;phone-context=+91>>;tag=lk6q030e
To: <tel:+911244510099 <tel:+911244510099>>;tag=cc711ea4-479a-44ab-b69c-f0db6c9128ba
CSeq: 1 ACK
Max-Forwards: 65
P-Charging-Vector: icid-value=AE880F240B25F02018105182445;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050
Content-Length: 0


<--- Transmitting SIP response (971 bytes) to UDP:10.232.130.170:5060 <http://10.232.130.170:5060/> --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKb7ca91ba1k36z4bx08769zikz;Role=3;Hpt=9092_36;TRC=ffffffff-ffffffff
Call-ID: ***@B.5.140.ims.airtel.in <mailto:***@B.5.140.ims.airtel.in>
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=83301757
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=d4e8a778-9918-4efd-a601-d7ca4de367e2
CSeq: 1 INVITE
Server: Asterisk PBX 13.20.0
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 254

v=0
o=- 129157121 129157123 IN IP4 10.165.10.4
s=Asterisk
c=IN IP4 10.165.10.4
t=0 0
m=audio 12000 RTP/AVP 8 0 97
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP request (564 bytes) from UDP:10.232.130.170:5060 <http://10.232.130.170:5060/> --->
ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK3k33bxii516c7k4ca0kixb9kz;Role=3;Hpt=9092_36;TRC=ffffffff-ffffffff
Call-ID: ***@B.5.140.ims.airtel.in <mailto:***@B.5.140.ims.airtel.in>
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=83301757
To: <tel:+911244510099 <tel:+911244510099>>;tag=d4e8a778-9918-4efd-a601-d7ca4de367e2
CSeq: 1 ACK
Max-Forwards: 5
P-Charging-Vector: icid-value=AE880F241021602018105182428;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050
Content-Length: 0

Regards,
Joshua Colp
2018-10-09 12:19:37 UTC
Permalink
Post by Abhay Gupta
Hi,
We are having problem with Airtel service provider in India .
Asterisk sends SIP 200OK —> Airtel responds with ACK but asterisk does
not recognises the same . Though the same works with chan_sip
I see no problem with this. It's not a retransmission, those are two separate calls. You can tell based on the Call-ID being different. The first is "***@B.5.268.ims.airtel.in" the second is "***@B.5.140.ims.airtel.in". It appears as though the ACKs were handled appropriately. If there is something else then you'd need to be more specific about what is happening.
--
Joshua Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/
Abhay Gupta
2018-10-12 12:29:20 UTC
Permalink
Hi,

Sorry I send the wrong log by mistake . This is the complete trace .

INVITE sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>^M
CSeq: 1 INVITE^M
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,REFER,UPDATE^M
Contact: <sip: <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>10.232 <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>. <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>130.170 <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>: <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>5060 <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>>^M
Max-Forwards: 5^M
Supported: timer,100rel,histinfo^M
Session-Expires: 1800^M
Min-SE: 600^M
P-Asserted-Identity: <tel:09999056472 <tel:09999056472>>^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 378^M
Content-Type: application/sdp^M

=====================================

SIP/2.0 100 Trying^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Content-Length: 0^M


===================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


==================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


===================================

INVITE sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK3b1bf4mh9wfrs21dwftmh9wbs;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 2 INVITE^M
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,REFER,UPDATE^M
Contact: <sip: <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>10.232 <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>. <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>130.170 <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>: <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>5060 <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff <sip:10.232.130.170:5060;Dpt=f02a-200;Hpt=8eb2_16;CxtId=4;TRC=ffffffff-ffffffff>>^M
Max-Forwards: 5^M
Supported: timer^M
Session-Expires: 1800;refresher=uac^M
Min-SE: 600^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 192^M
Content-Type: application/sdp^M


=================================

SIP/2.0 491 Request Pending^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bK3b1bf4mh9wfrs21dwftmh9wbs;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 2 INVITE^M
Server: Asterisk PBX 13.20.0^M
Content-Length: 0^M
^M


================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK3b1bf4mh9wfrs21dwftmh9wbs;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 2 ACK^M
Max-Forwards: 70^M
Content-Length: 0^M


=================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


=================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^

================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


====================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


====================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


===================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M


=============================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


=============================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


===============================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


==================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


===================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


==================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


==================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M

================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M
Content-Length: 0^M


==================================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M


=================================

ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M


==============================

SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 10.232.130.170:5060;rport=5060;received=10.232.130.170;branch=z9hG4bKmt21w13mts9hs12do2buotorb;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: <sip:***@ims.airtel.in <mailto:sip%***@ims.airtel.in>>;tag=a4mtt442^M
To: <sip:+***@ims.airtel.in <mailto:sip%3A%***@ims.airtel.in>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 INVITE^M
Server: Asterisk PBX 13.20.0^M
Contact: <sip:10.165.10.4:5060 <http://10.165.10.4:5060/>>^M
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE^M
Supported: 100rel, timer, replaces, norefersub^M
Session-Expires: 1800;refresher=uac^M
Require: timer^M
Content-Type: application/sdp^M
Content-Length: 254^M
^M


================================


ACK sip:10.165.10.4:5060 <http://10.165.10.4:5060/> SIP/2.0^M
Via: SIP/2.0/UDP 10.232.130.170:5060;branch=z9hG4bK2wub332w4fo14wdhdm231b3d3;Role=3;Hpt=8eb2_36;TRC=ffffffff-ffffffff^M
Call-ID: ***@B.5.229.ims.airtel.in <mailto:***@B.5.229.ims.airtel.in>^M
From: "09999056472"<tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91 <tel:9999056472;noa=subscriber;srvattri=national;phone-context=+91>>;tag=a4mtt442^M
To: <tel:+911244510099 <tel:+911244510099>>;tag=8e9db72e-e65f-4a01-b2f3-b4bfae12ff5b^M
CSeq: 1 ACK^M
Max-Forwards: 5^M
P-Charging-Vector: icid-value=AE880F241513B2018105191218;orig-ioi=10.232.128.242;term-ioi=SIP_astroscience_929405_4510050^M

Regards,

Abhay Gupta
Post by Joshua Colp
Post by Abhay Gupta
Hi,
We are having problem with Airtel service provider in India .
Asterisk sends SIP 200OK —> Airtel responds with ACK but asterisk does
not recognises the same . Though the same works with chan_sip
--
Joshua Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference
asterisk-dev mailing list
http://lists.digium.com/mailman/listinfo/asterisk-dev
Joshua C. Colp
2018-10-12 12:35:24 UTC
Permalink
Post by Abhay Gupta
Hi,
Sorry I send the wrong log by mistake . This is the complete trace .
They appear to be changing the From header to use a 'tel' URI. These are not supported in PJSIP as of this time, so that's likely the cause.
--
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://li
Loading...