[Spce-user] Callee hangup doesnt' send BYE ...
Sébastien Cramatte
scramatte at gmail.com
Mon Jan 16 09:42:09 EST 2012
Hi Andreas,
Please take a look to sp_trace attached file
xx.xx.xx.xx => Sip Provider IP
yy.yy.yy.yy => Peering IP
zz.zz.zz.zz => Client IP
868xxxxxx => Caller number (SP subscriber)
968xxxxxx => Callee number (PSTN number)
The scenario was sp subscriber calls callee and hang the callee !
Thank you
El 16/01/12 14:00, Andreas Granig escribió:
> Hi Sebastien,
>
> On 01/16/2012 01:26 PM, Sébastien Cramatte wrote:
>> We have got issue with our SIP peering.
>> Callee hangup doesnt' send BYE.
>>
>> How can we solve this issue ? Does it is related to SIP Provider ?
> If you hang up on the callee side and it doesn't send a BYE to the SP,
> then it's a client issue, where we can't do anything about it.
> If it sends a BYE, but it's not forwarded to the calling party, then
> please provide a full SIP trace for us to have a look. Maybe some Route
> headers sent by the callee are not ok.
>
> Andreas
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120116/ad8461d2/attachment-0001.html>
-------------- next part --------------
root at spce2:/home/scramatte# ngrep-sip yy.yy.yy.yy
interface: any
filter: (ip or ip6) and ( port 5060 )
match: yy.yy.yy.yy
###################
U 2012/01/16 15:34:52.376968 127.0.0.1:5080 -> 127.0.0.1:5060
INVITE sip:b2b-968xxxxxx at yy.yy.yy.yy:5060 SIP/2.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1vXOIaVN;rport'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>'
CSeq: 10 INVITE'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Contact: <sip:127.0.0.1:5080>'
Route: <sip:127.0.0.1:5060;received=sip:yy.yy.yy.yy:5060;lr>'
P-Asserted-Identity: <sip:868xxxxxx at zz.zz.zz.zz>'
P-R-Uri: sip:968xxxxxx at yy.yy.yy.yy:5060'
P-D-Uri: sip:127.0.0.1:5060;received=sip:yy.yy.yy.yy:5060'
Supported: timer'
Session-Expires: 300'
Min-SE: 90'
Content-Type: application/sdp'
Content-Length: 352'
'
v=0'
o=root 18145528 18145529 IN IP4 xx.xx.xx.xx'
s=Asterisk PBX 1.8.8.0~dfsg-1'
c=IN IP4 xx.xx.xx.xx'
t=0 0'
m=audio 32628 RTP/AVP 18 0 8 9 101'
a=rtpmap:18 G729/8000'
a=fmtp:18 annexb=no'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:9 G722/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=ptime:20'
a=sendrecv'
a=nortpproxy:yes'
##
U 2012/01/16 15:34:52.377204 xx.xx.xx.xx:5060 -> yy.yy.yy.yy:5060
INVITE sip:968xxxxxx at yy.yy.yy.yy:5060 SIP/2.0'
Max-Forwards: 10'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Via: SIP/2.0/UDP xx.xx.xx.xx;branch=z9hG4bK25dd.e98e5a6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1vXOIaVN;rport=5080'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>'
CSeq: 10 INVITE'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
P-Asserted-Identity: <sip:868xxxxxx at zz.zz.zz.zz>'
Supported: timer'
Session-Expires: 300'
Min-SE: 90'
Content-Type: application/sdp'
Content-Length: 352'
Contact: <sip:ngcp-lb at xx.xx.xx.xx:5060>'
'
v=0'
o=root 18145528 18145529 IN IP4 xx.xx.xx.xx'
s=Asterisk PBX 1.8.8.0~dfsg-1'
c=IN IP4 xx.xx.xx.xx'
t=0 0'
m=audio 32628 RTP/AVP 18 0 8 9 101'
a=rtpmap:18 G729/8000'
a=fmtp:18 annexb=no'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:9 G722/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=ptime:20'
a=sendrecv'
a=nortpproxy:yes'
##
U 2012/01/16 15:34:52.741254 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:5060
SIP/2.0 180 Ringing'
Via: SIP/2.0/UDP xx.xx.xx.xx;branch=z9hG4bK25dd.e98e5a6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1vXOIaVN;rport=5080'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
CSeq: 10 INVITE'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Contact: <sip:968xxxxxx at yy.yy.yy.yy:5060;user=phone;transport=udp>'
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER'
Content-Length: 0'
'
#
U 2012/01/16 15:34:52.741967 127.0.0.1:5060 -> 127.0.0.1:5080
SIP/2.0 180 Ringing'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1vXOIaVN;rport=5080'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
CSeq: 10 INVITE'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Contact: <sip:968xxxxxx at yy.yy.yy.yy:5060;user=phone;transport=udp>'
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER'
Content-Length: 0'
P-NGCP-Src-Ip: yy.yy.yy.yy'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
'
###############
U 2012/01/16 15:34:56.056094 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:5060
SIP/2.0 200 OK'
Via: SIP/2.0/UDP xx.xx.xx.xx;branch=z9hG4bK25dd.e98e5a6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1vXOIaVN;rport=5080'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
CSeq: 10 INVITE'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Contact: <sip:968xxxxxx at yy.yy.yy.yy:5060;user=phone;transport=udp>'
Content-Length: 244'
Content-Type: application/sdp'
'
v=0'
o=HuaweiSoftX3000 95339483 95339483 IN IP4 212.106.213.8'
s=Sip Call'
c=IN IP4 212.106.213.8'
t=0 0'
m=audio 33966 RTP/AVP 18 101'
a=rtpmap:18 G729/8000'
a=rtpmap:101 telephone-event/8000'
a=ptime:20'
a=fmtp:101 0-15'
a=fmtp:18 annexb=no'
#
U 2012/01/16 15:34:56.056726 127.0.0.1:5060 -> 127.0.0.1:5080
SIP/2.0 200 OK'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1vXOIaVN;rport=5080'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
CSeq: 10 INVITE'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Contact: <sip:968xxxxxx at yy.yy.yy.yy:5060;user=phone;transport=udp>'
Content-Length: 244'
Content-Type: application/sdp'
P-NGCP-Src-Ip: yy.yy.yy.yy'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
'
v=0'
o=HuaweiSoftX3000 95339483 95339483 IN IP4 212.106.213.8'
s=Sip Call'
c=IN IP4 212.106.213.8'
t=0 0'
m=audio 33966 RTP/AVP 18 101'
a=rtpmap:18 G729/8000'
a=rtpmap:101 telephone-event/8000'
a=ptime:20'
a=fmtp:101 0-15'
a=fmtp:18 annexb=no'
#####
U 2012/01/16 15:34:56.060021 127.0.0.1:5080 -> 127.0.0.1:5060
ACK sip:968xxxxxx at yy.yy.yy.yy:5060;user=phone;transport=udp SIP/2.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKHkEpQa5G;rport'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
CSeq: 10 ACK'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Contact: <sip:127.0.0.1:5080>'
Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>, <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Supported: timer'
Content-Length: 0'
'
#
U 2012/01/16 15:34:56.060232 xx.xx.xx.xx:5060 -> yy.yy.yy.yy:5060
ACK sip:968xxxxxx at yy.yy.yy.yy:5060;user=phone;transport=udp SIP/2.0'
Max-Forwards: 10'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Via: SIP/2.0/UDP xx.xx.xx.xx;branch=z9hG4bKcydzigwkX'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKHkEpQa5G;rport=5080'
From: "868xxxxxx" <sip:868xxxxxx at zz.zz.zz.zz>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
To: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
CSeq: 10 ACK'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
Supported: timer'
Content-Length: 0'
Contact: <sip:ngcp-lb at xx.xx.xx.xx:5060>'
'
#
U 2012/01/16 15:35:00.756984 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:5060
INVITE sip:ngcp-lb at xx.xx.xx.xx:5060 SIP/2.0'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;branch=z9hG4bKrftu50309ophihd4h2k0sb0000g00.1'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at yy.yy.yy.yy>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 INVITE'
Contact: <sip:968xxxxxx at yy.yy.yy.yy:5060;transport=udp>'
Max-Forwards: 69'
Content-Length: 256'
Content-Type: application/sdp'
Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
'
v=0'
o=HuaweiSoftX3000 95339483 95339484 IN IP4 212.106.213.8'
s=Sip Call'
c=IN IP4 212.106.213.8'
t=0 0'
m=audio 33966 RTP/AVP 18 101'
a=rtpmap:18 G729/8000'
a=rtpmap:101 telephone-event/8000'
a=ptime:20'
a=fmtp:101 0-15'
a=fmtp:18 annexb=no'
a=sendonly'
#
U 2012/01/16 15:35:00.757456 xx.xx.xx.xx:5060 -> yy.yy.yy.yy:5060
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;branch=z9hG4bKrftu50309ophihd4h2k0sb0000g00.1;rport=5060'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at yy.yy.yy.yy>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 INVITE'
Server: Sipwise NGCP LB 2.X'
Content-Length: 0'
'
#
U 2012/01/16 15:35:00.757704 127.0.0.1:5060 -> 127.0.0.1:5080
INVITE sip:127.0.0.1:5080 SIP/2.0'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=d23424a2-CC-27>'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=d23424a2-CC-27>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKa66a.8415d5b7.0'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;rport=5060;branch=z9hG4bKrftu50309ophihd4h2k0sb0000g00.1'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at yy.yy.yy.yy>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 INVITE'
Contact: <sip:968xxxxxx at yy.yy.yy.yy:5060;transport=udp>'
Max-Forwards: 68'
Content-Length: 256'
Content-Type: application/sdp'
P-NGCP-Src-Ip: yy.yy.yy.yy'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
'
v=0'
o=HuaweiSoftX3000 95339483 95339484 IN IP4 212.106.213.8'
s=Sip Call'
c=IN IP4 212.106.213.8'
t=0 0'
m=audio 33966 RTP/AVP 18 101'
a=rtpmap:18 G729/8000'
a=rtpmap:101 telephone-event/8000'
a=ptime:20'
a=fmtp:101 0-15'
a=fmtp:18 annexb=no'
a=sendonly'
#######
U 2012/01/16 15:35:00.761126 127.0.0.1:5080 -> 127.0.0.1:5060
SIP/2.0 200 OK'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=d23424a2-CC-27>'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=d23424a2-CC-27>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKa66a.8415d5b7.0;received=127.0.0.1'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;rport=5060;branch=z9hG4bKrftu50309ophihd4h2k0sb0000g00.1'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at yy.yy.yy.yy>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 INVITE'
Supported: timer'
Session-Expires: 300;refresher=uas'
Contact: <sip:127.0.0.1:5080>'
Content-Type: application/sdp'
Content-Length: 280'
'
v=0'
o=root 18145528 18145530 IN IP4 xx.xx.xx.xx'
s=Asterisk PBX 1.8.8.0~dfsg-1'
c=IN IP4 xx.xx.xx.xx'
t=0 0'
m=audio 32628 RTP/AVP 18 101'
a=rtpmap:18 G729/8000'
a=fmtp:18 annexb=no'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=ptime:20'
a=recvonly'
a=nortpproxy:yes'
#
U 2012/01/16 15:35:00.761270 xx.xx.xx.xx:5060 -> yy.yy.yy.yy:5060
SIP/2.0 200 OK'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=d23424a2-CC-27>'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=d23424a2-CC-27>'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;rport=5060;branch=z9hG4bKrftu50309ophihd4h2k0sb0000g00.1'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at yy.yy.yy.yy>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 INVITE'
Supported: timer'
Session-Expires: 300;refresher=uas'
Content-Type: application/sdp'
Content-Length: 280'
Contact: <sip:ngcp-lb at xx.xx.xx.xx:5060>'
'
v=0'
o=root 18145528 18145530 IN IP4 xx.xx.xx.xx'
s=Asterisk PBX 1.8.8.0~dfsg-1'
c=IN IP4 xx.xx.xx.xx'
t=0 0'
m=audio 32628 RTP/AVP 18 101'
a=rtpmap:18 G729/8000'
a=fmtp:18 annexb=no'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-16'
a=ptime:20'
a=recvonly'
a=nortpproxy:yes'
#
U 2012/01/16 15:35:00.794151 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:5060
ACK sip:ngcp-lb at xx.xx.xx.xx:5060 SIP/2.0'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;branch=z9hG4bK4ofqhb2050f1ch1e74p0.1'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 ACK'
Max-Forwards: 69'
Content-Length: 0'
Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
Route: <sip:127.0.0.1;r2=on;lr=on;ftag=7DBB0477-4F14358C0005BFE8-F8726700>'
'
#
U 2012/01/16 15:35:00.794374 127.0.0.1:5060 -> 127.0.0.1:5080
ACK sip:127.0.0.1:5080 SIP/2.0'
Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=d23424a2-CC-27>'
Record-Route: <sip:xx.xx.xx.xx;r2=on;lr=on;ftag=d23424a2-CC-27>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKcydzigwkX'
Via: SIP/2.0/UDP yy.yy.yy.yy:5060;rport=5060;branch=z9hG4bK4ofqhb2050f1ch1e74p0.1'
Call-ID: 0072df8e72f3ca87121cb30123f08af6 at sip.mycompany.net_b2b-1'
From: <sip:968xxxxxx at sip.mycompany.net>;tag=d23424a2-CC-27'
To: "868xxxxxx" <sip:868xxxxxx at xx.xx.xx.xx>;tag=7DBB0477-4F14358C0005BFE8-F8726700'
CSeq: 1 ACK'
Max-Forwards: 68'
Content-Length: 0'
P-NGCP-Src-Ip: yy.yy.yy.yy'
P-NGCP-Src-Port: 5060'
P-NGCP-Src-Proto: udp'
'
More information about the Spce-user
mailing list