[asterisk-dev] PJSIP signalling issue

Abhay Gupta abhay at avissol.com
Tue Oct 9 07:11:27 CDT 2018


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: asbcwnc0a1gca6padwqawgqpwv8gqplbn1p1 at B.5.268.ims.airtel.in <mailto:asbcwnc0a1gca6padwqawgqpwv8gqplbn1p1 at B.5.268.ims.airtel.in>
From: <sip:9821397747 at ims.airtel.in <mailto:sip%3A9821397747 at ims.airtel.in>>;tag=lk6q030e
To: <sip:+911244510099 at ims.airtel.in <mailto:sip%3A%2B911244510099 at 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: asbcwnc0a1gca6padwqawgqpwv8gqplbn1p1 at B.5.268.ims.airtel.in <mailto:asbcwnc0a1gca6padwqawgqpwv8gqplbn1p1 at 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: asbcjhwwc6h5slz6hjlr5coi74j46ozwh2hl at B.5.140.ims.airtel.in <mailto:asbcjhwwc6h5slz6hjlr5coi74j46ozwh2hl at B.5.140.ims.airtel.in>
From: <sip:9999056472 at ims.airtel.in <mailto:sip%3A9999056472 at ims.airtel.in>>;tag=83301757
To: <sip:+911244510099 at ims.airtel.in <mailto:sip%3A%2B911244510099 at 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: asbcjhwwc6h5slz6hjlr5coi74j46ozwh2hl at B.5.140.ims.airtel.in <mailto:asbcjhwwc6h5slz6hjlr5coi74j46ozwh2hl at 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,







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20181009/559b359f/attachment.html>


More information about the asterisk-dev mailing list