[SR-Users] Older Sip Phone is hangup after 60sec with Realtime asterisk

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 10 10:43:29 CET 2014


Hello,

the problem is that the Asterisk sends a re-INVITE without a Route 
header. The re-INVITE is a session timer request and it gets a 404 Not 
Here, resulting in Asterisk trying to end the session by sending BYE. 
The BYE is also without Route header, resulting in another 404 Not Here.

Perhaps you can look to see if a newer version of Asterisk has fixed the 
issue, this is a bug in Asterisk.

A workaround fix for this case in kamailio.cfg will be like:
- if there is a To-tag but no Route header, and uri!=myself, then t_relay()

Again, I suggest to look for a version of Asterisk that doesn't have 
this bug (or maybe is a misconfiguration in asterisk).

Cheers,
Daniel

On 08/01/14 08:19, Noriyuki Hayashi wrote:
> Hello to ALL,
>
> I got ngrep log as below.
>
> I would like to find anything with your great advice.
> I am appreciated very much for you spend time.
> I have looked for the mailiglist and other web sites seems like this
> problem since last year.
> But I could not get any idea.
>
> Kind regards,
> Nori
>
>
> %%%%%%%%%%%%%%%%%%%% ngrep log %%%%%%%%%%%%%%%%%%%%
> ngrep -d any -qt -W byline port 5060 and host 192.168.192.92
>
> interface: any
> filter: (ip or ip6) and ( port 5060 and host 192.168.192.92 )
>
> %%%%%%%%%%%%%%%%%%%%% call start meetme %%%%%%%%%%%%%%%%%%%%%%%%%
> U 2014/01/08 15:53:26.124865 192.168.192.190:5060 -> 192.168.192.92:5060
> INVITE sip:901 at 192.168.192.92 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 1 INVITE.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7473-cf32c-6492.
> Max-Forwards: 70.
> Supported: 100rel,replaces,timer.
> Contact: <sip:99206 at 192.168.192.190>.
> Session-Expires: 120.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:270.
> .
> v=0.
> o=99206 274411564 274411564 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 10206 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
>
> U 2014/01/08 15:53:26.125507 192.168.192.92:5060 -> 192.168.192.190:5060
> SIP/2.0 407 Proxy Authentication Required.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=b27e1a1d33761e85846fc98f5f3a7e58.e17c.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 1 INVITE.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7473-cf32c-6492;rport=5060.
> Proxy-Authenticate: Digest realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo".
> Server: kamailio (4.1.0 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:53:26.257597 192.168.192.190:5060 -> 192.168.192.92:5060
> ACK sip:901 at 192.168.192.92 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=b27e1a1d33761e85846fc98f5f3a7e58.e17c.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 1 ACK.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7473-cf32c-6492.
> Max-Forwards: 70.
> Contact: <sip:99206 at 192.168.192.190>.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:53:26.371017 192.168.192.190:5060 -> 192.168.192.92:5060
> INVITE sip:901 at 192.168.192.92 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Max-Forwards: 70.
> Supported: 100rel,replaces,timer.
> Contact: <sip:99206 at 192.168.192.190>.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92", response="7a222e782631debcfcd2e497e13ab5f9", algorithm=MD5.
> Session-Expires: 120.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:270.
> .
> v=0.
> o=99206 274411564 274411564 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 10206 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
>
> U 2014/01/08 15:53:26.374010 192.168.192.92:5060 -> 192.168.192.190:5060
> SIP/2.0 100 trying -- your call is important to us.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7473-cf40e-2a60;rport=5060.
> Server: kamailio (4.1.0 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:53:26.375184 192.168.192.92:5060 -> 192.168.192.92:5080
> INVITE sip:901 at 192.168.192.92 SIP/2.0.
> Record-Route: <sip:192.168.192.92;lr=on;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK7717.1e2b6c736785878244b672e728900004.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Max-Forwards: 16.
> Supported: 100rel,replaces,timer.
> Contact: <sip:99206 at 192.168.192.190:5060>.
> Session-Expires: 120.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:270.
> .
> v=0.
> o=99206 274411564 274411564 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 10206 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
>
> U 2014/01/08 15:53:26.382267 192.168.192.92:5080 -> 192.168.192.92:5060
> SIP/2.0 100 Trying.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK7717.1e2b6c736785878244b672e728900004.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Record-Route: <sip:192.168.192.92;lr=on;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Session-Expires: 120;refresher=uas.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:53:26.391440 192.168.192.92:5080 -> 192.168.192.92:5060
> SIP/2.0 200 OK.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK7717.1e2b6c736785878244b672e728900004.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Record-Route: <sip:192.168.192.92;lr=on;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Session-Expires: 120;refresher=uas.
> Contact: <sip:901 at 192.168.192.92:5080>.
> Content-Type: application/sdp.
> Require: timer.
> Content-Length: 282.
> .
> v=0.
> o=root 91904444 91904444 IN IP4 192.168.192.92.
> s=Asterisk PBX 11.6.0.
> c=IN IP4 192.168.192.92.
> t=0 0.
> m=audio 18926 RTP/AVP 0 18 101.
> a=rtpmap:0 PCMU/8000.
> 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=sendrecv.
>
>
> U 2014/01/08 15:53:26.392671 192.168.192.92:5060 -> 192.168.192.190:5060
> SIP/2.0 200 OK.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Record-Route: <sip:192.168.192.92;lr=on;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Session-Expires: 120;refresher=uas.
> Contact: <sip:901 at 192.168.192.92:5080>.
> Content-Type: application/sdp.
> Require: timer.
> Content-Length: 282.
> .
> v=0.
> o=root 91904444 91904444 IN IP4 192.168.192.92.
> s=Asterisk PBX 11.6.0.
> c=IN IP4 192.168.192.92.
> t=0 0.
> m=audio 18926 RTP/AVP 0 18 101.
> a=rtpmap:0 PCMU/8000.
> 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=sendrecv.
>
>
> U 2014/01/08 15:53:26.582962 192.168.192.92:5080 -> 192.168.192.92:5060
> SIP/2.0 200 OK.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK7717.1e2b6c736785878244b672e728900004.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Record-Route: <sip:192.168.192.92;lr=on;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Session-Expires: 120;refresher=uas.
> Contact: <sip:901 at 192.168.192.92:5080>.
> Content-Type: application/sdp.
> Require: timer.
> Content-Length: 282.
> .
> v=0.
> o=root 91904444 91904444 IN IP4 192.168.192.92.
> s=Asterisk PBX 11.6.0.
> c=IN IP4 192.168.192.92.
> t=0 0.
> m=audio 18926 RTP/AVP 0 18 101.
> a=rtpmap:0 PCMU/8000.
> 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=sendrecv.
>
>
> U 2014/01/08 15:53:26.584466 192.168.192.92:5060 -> 192.168.192.190:5060
> SIP/2.0 200 OK.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7473-cf40e-2a60.
> Record-Route: <sip:192.168.192.92;lr=on;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 INVITE.
> Session-Expires: 120;refresher=uas.
> Contact: <sip:901 at 192.168.192.92:5080>.
> Content-Type: application/sdp.
> Require: timer.
> Content-Length: 282.
> .
> v=0.
> o=root 91904444 91904444 IN IP4 192.168.192.92.
> s=Asterisk PBX 11.6.0.
> c=IN IP4 192.168.192.92.
> t=0 0.
> m=audio 18926 RTP/AVP 0 18 101.
> a=rtpmap:0 PCMU/8000.
> 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=sendrecv.
>
>
> U 2014/01/08 15:53:26.647287 192.168.192.190:5060 -> 192.168.192.92:5060
> ACK sip:901 at 192.168.192.92:5080 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 ACK.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7474-cf554-7b19.
> Max-Forwards: 70.
> Contact: <sip:99206 at 192.168.192.190>.
> Route: <sip:192.168.192.92;lr;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92", response="7a222e782631debcfcd2e497e13ab5f9", algorithm=MD5.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:53:26.648357 192.168.192.92:5060 -> 192.168.192.92:5080
> ACK sip:901 at 192.168.192.92:5080 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 ACK.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK7717.c66576e8855212d2baa03b6a03afa854.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7474-cf554-7b19.
> Max-Forwards: 16.
> Contact: <sip:99206 at 192.168.192.190:5060>.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92", response="7a222e782631debcfcd2e497e13ab5f9", algorithm=MD5.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:53:26.754732 192.168.192.190:5060 -> 192.168.192.92:5060
> ACK sip:901 at 192.168.192.92:5080 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 ACK.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd7474-cf554-7b19.
> Max-Forwards: 70.
> Contact: <sip:99206 at 192.168.192.190>.
> Route: <sip:192.168.192.92;lr;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92", response="7a222e782631debcfcd2e497e13ab5f9", algorithm=MD5.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:53:26.755648 192.168.192.92:5060 -> 192.168.192.92:5080
> ACK sip:901 at 192.168.192.92:5080 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 2 ACK.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK7717.c66576e8855212d2baa03b6a03afa854.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd7474-cf554-7b19.
> Max-Forwards: 16.
> Contact: <sip:99206 at 192.168.192.190:5060>.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92", response="7a222e782631debcfcd2e497e13ab5f9", algorithm=MD5.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:53:30.951115 192.168.192.92:5080 -> 192.168.192.92:5060
> OPTIONS sip:99206 at 192.168.192.92:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK7e53779c;rport.
> Max-Forwards: 70.
> From: "asterisk" <sip:asterisk at 192.168.192.92:5080>;tag=as3095f979.
> To: <sip:99206 at 192.168.192.92:5060>.
> Contact: <sip:asterisk at 192.168.192.92:5080>.
> Call-ID: 3fa2af205cb43d7608c9d32f2da18e06 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> User-Agent: Asterisk PBX 11.6.0.
> Allow: INVITE, ACK, CANCEL, BYE.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:53:30.952732 192.168.192.92:5060 -> 192.168.192.190:5060
> OPTIONS sip:99206 at 192.168.192.190 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK9b1.724c86d19a5ddd6d4535014a780a26ad.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK7e53779c;rport=5080.
> Max-Forwards: 16.
> From: "asterisk" <sip:asterisk at 192.168.192.92:5080>;tag=as3095f979.
> To: <sip:99206 at 192.168.192.92:5060>.
> Contact: <sip:asterisk at 192.168.192.92:5080>.
> Call-ID: 3fa2af205cb43d7608c9d32f2da18e06 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> User-Agent: Asterisk PBX 11.6.0.
> Allow: INVITE, ACK, CANCEL, BYE.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:53:31.182326 192.168.192.190:5060 -> 192.168.192.92:5060
> SIP/2.0 200 OK.
> From: "asterisk"<sip:asterisk at 192.168.192.92:5080>;tag=as3095f979.
> To: <sip:99206 at 192.168.192.92:5060>;tag=bec0a8c0-13c4-52cd7478-d06dc-1dbf.
> Call-ID: 3fa2af205cb43d7608c9d32f2da18e06 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> Via: SIP/2.0/UDP 192.168.192.92;received=192.168.192.92;branch=z9hG4bK9b1.724c86d19a5ddd6d4535014a780a26ad.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK7e53779c;rport=5080.
> Supported: 100rel,replaces,timer.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:266.
> .
> v=0.
> o=99206 274508480 274508480 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 1 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
>
> U 2014/01/08 15:53:31.182839 192.168.192.92:5060 -> 192.168.192.92:5080
> SIP/2.0 200 OK.
> From: "asterisk"<sip:asterisk at 192.168.192.92:5080>;tag=as3095f979.
> To: <sip:99206 at 192.168.192.92:5060>;tag=bec0a8c0-13c4-52cd7478-d06dc-1dbf.
> Call-ID: 3fa2af205cb43d7608c9d32f2da18e06 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK7e53779c;rport=5080.
> Supported: 100rel,replaces,timer.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:266.
> .
> v=0.
> o=99206 274508480 274508480 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 1 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% meetme start %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> U 2014/01/08 15:53:42.366486 192.168.192.92:5060 -> 192.168.192.190:5060
> ....
>
> U 2014/01/08 15:54:12.398807 192.168.192.92:5060 -> 192.168.192.190:5060
> ....
>
> U 2014/01/08 15:54:26.382858 192.168.192.92:5080 -> 192.168.192.92:5060
> INVITE sip:99206 at 192.168.192.190:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK1fc5ff8a;rport.
> Max-Forwards: 70.
> From: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> To: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> Contact: <sip:901 at 192.168.192.92:5080>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 102 INVITE.
> User-Agent: Asterisk PBX 11.6.0.
> Session-Expires: 120;refresher=uac.
> Min-SE: 90.
> Allow: INVITE, ACK, CANCEL, BYE.
> X-asterisk-Info: SIP re-invite (Session-Timers).
> Content-Type: application/sdp.
> Content-Length: 282.
> .
> v=0.
> o=root 91904444 91904444 IN IP4 192.168.192.92.
> s=Asterisk PBX 11.6.0.
> c=IN IP4 192.168.192.92.
> t=0 0.
> m=audio 18926 RTP/AVP 0 18 101.
> a=rtpmap:0 PCMU/8000.
> 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=sendrecv.
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%% Hangup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> U 2014/01/08 15:54:26.384092 192.168.192.92:5060 -> 192.168.192.92:5080
> SIP/2.0 404 Not here.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK1fc5ff8a;rport=5080.
> From: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> To: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 102 INVITE.
> Server: kamailio (4.1.0 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:54:26.385173 192.168.192.92:5080 -> 192.168.192.92:5060
> ACK sip:99206 at 192.168.192.190:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK1fc5ff8a;rport.
> Max-Forwards: 70.
> From: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> To: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> Contact: <sip:901 at 192.168.192.92:5080>.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 102 ACK.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:54:26.391746 192.168.192.92:5080 -> 192.168.192.92:5060
> BYE sip:99206 at 192.168.192.190:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK28068feb;rport.
> Max-Forwards: 70.
> From: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> To: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 103 BYE.
> User-Agent: Asterisk PBX 11.6.0.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:54:26.393262 192.168.192.92:5060 -> 192.168.192.92:5080
> SIP/2.0 404 Not here.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK28068feb;rport=5080.
> From: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> To: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 103 BYE.
> Server: kamailio (4.1.0 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:54:42.429079 192.168.192.92:5060 -> 192.168.192.190:5060
> ....
>
> U 2014/01/08 15:55:12.461400 192.168.192.92:5060 -> 192.168.192.190:5060
> ....
>
> U 2014/01/08 15:55:17.057947 192.168.192.190:5060 -> 192.168.192.92:5060
> BYE sip:901 at 192.168.192.92:5080 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 3 BYE.
> Via: SIP/2.0/UDP 192.168.192.190:5060;branch=z9hG4bK-52cd74e2-ea36a-2fd5.
> Max-Forwards: 70.
> Supported: 100rel,replaces,timer.
> Route: <sip:192.168.192.92;lr;ftag=bec0a8c0-13c4-52cd7473-cf32a-5a1d;nat=yes>.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92:5080", response="ba0ed363c82d5ab8ed71075ce9bffe20", algorithm=MD5.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:55:17.058922 192.168.192.92:5060 -> 192.168.192.92:5080
> BYE sip:901 at 192.168.192.92:5080 SIP/2.0.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 3 BYE.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK8717.88e75410778fafbbd9f2980c9bd17eb5.0.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd74e2-ea36a-2fd5.
> Max-Forwards: 16.
> Supported: 100rel,replaces,timer.
> Proxy-Authorization: Digest username="99206", realm="192.168.192.92", nonce="Usz3ElLM9eZSQtuUBZxHWSbGHS5a0SDo", uri="sip:901 at 192.168.192.92:5080", response="ba0ed363c82d5ab8ed71075ce9bffe20", algorithm=MD5.
> Content-Length:0.
> .
>
>
> U 2014/01/08 15:55:17.059767 192.168.192.92:5080 -> 192.168.192.92:5060
> SIP/2.0 481 Call leg/transaction does not exist.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK8717.88e75410778fafbbd9f2980c9bd17eb5.0;received=192.168.192.92.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd74e2-ea36a-2fd5.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 3 BYE.
> Server: Asterisk PBX 11.6.0.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
> Supported: replaces, timer.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:55:17.060862 192.168.192.92:5060 -> 192.168.192.190:5060
> SIP/2.0 481 Call leg/transaction does not exist.
> Via: SIP/2.0/UDP 192.168.192.190:5060;rport=5060;branch=z9hG4bK-52cd74e2-ea36a-2fd5.
> From: Richard Nough<sip:99206 at 192.168.192.92>;tag=bec0a8c0-13c4-52cd7473-cf32a-5a1d.
> To: <sip:901 at 192.168.192.92>;tag=as56fb7456.
> Call-ID: 105b302c-bec0a8c0-13c4-52cd7473-cf328-5cc7 at 192.168.192.92.
> CSeq: 3 BYE.
> Server: Asterisk PBX 11.6.0.
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
> Supported: replaces, timer.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:55:31.183442 192.168.192.92:5080 -> 192.168.192.92:5060
> OPTIONS sip:99206 at 192.168.192.92:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK5775add0;rport.
> Max-Forwards: 70.
> From: "asterisk" <sip:asterisk at 192.168.192.92:5080>;tag=as03c41a85.
> To: <sip:99206 at 192.168.192.92:5060>.
> Contact: <sip:asterisk at 192.168.192.92:5080>.
> Call-ID: 799baa2d555fc65c192593e043164160 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> User-Agent: Asterisk PBX 11.6.0.
> Allow: INVITE, ACK, CANCEL, BYE.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:55:31.184889 192.168.192.92:5060 -> 192.168.192.190:5060
> OPTIONS sip:99206 at 192.168.192.190 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.192.92;branch=z9hG4bK2607.248813287fa19094060841836b49a54b.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK5775add0;rport=5080.
> Max-Forwards: 16.
> From: "asterisk" <sip:asterisk at 192.168.192.92:5080>;tag=as03c41a85.
> To: <sip:99206 at 192.168.192.92:5060>.
> Contact: <sip:asterisk at 192.168.192.92:5080>.
> Call-ID: 799baa2d555fc65c192593e043164160 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> User-Agent: Asterisk PBX 11.6.0.
> Allow: INVITE, ACK, CANCEL, BYE.
> Content-Length: 0.
> .
>
>
> U 2014/01/08 15:55:31.374353 192.168.192.190:5060 -> 192.168.192.92:5060
> SIP/2.0 200 OK.
> From: "asterisk"<sip:asterisk at 192.168.192.92:5080>;tag=as03c41a85.
> To: <sip:99206 at 192.168.192.92:5060>;tag=bec0a8c0-13c4-52cd74f0-edb3e-56db.
> Call-ID: 799baa2d555fc65c192593e043164160 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> Via: SIP/2.0/UDP 192.168.192.92;received=192.168.192.92;branch=z9hG4bK2607.248813287fa19094060841836b49a54b.0.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK5775add0;rport=5080.
> Supported: 100rel,replaces,timer.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:266.
> .
> v=0.
> o=99206 274509184 274509184 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 1 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
>
> U 2014/01/08 15:55:31.375108 192.168.192.92:5060 -> 192.168.192.92:5080
> SIP/2.0 200 OK.
> From: "asterisk"<sip:asterisk at 192.168.192.92:5080>;tag=as03c41a85.
> To: <sip:99206 at 192.168.192.92:5060>;tag=bec0a8c0-13c4-52cd74f0-edb3e-56db.
> Call-ID: 799baa2d555fc65c192593e043164160 at 192.168.192.92:5080.
> CSeq: 102 OPTIONS.
> Via: SIP/2.0/UDP 192.168.192.92:5080;branch=z9hG4bK5775add0;rport=5080.
> Supported: 100rel,replaces,timer.
> Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,REFER,NOTIFY,PRACK,UPDATE.
> Content-Type: application/SDP.
> Content-Length:266.
> .
> v=0.
> o=99206 274509184 274509184 IN IP4 192.168.192.190.
> s=Phone Call.
> i=SANYO SIP-2100 1.0.25.
> c=IN IP4 192.168.192.190.
> t=0 0.
> m=audio 1 RTP/AVP 18 0 101.
> a=rtpmap:18 G729/8000.
> a=rtpmap:0 PCMU/8000.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:20.
>
>
> U 2014/01/08 15:55:42.492689 192.168.192.92:5060 -> 192.168.192.190:5060
> ....
>
> On Tue, 07 Jan 2014 00:50:11 +0900
> Noriyuki Hayashi <nhayashi at wats.gr.jp> wrote:
>
>> Hello,
>>
>> Thank you for quick reply.
>> Now I have rpmbuilt ngrep and installed.
>> I usually use tcpdump.
>> I will take the log day after tommorow and send.
>> Because I must work on client office tommorow.
>>
>>
>> Kind regrads,
>> Nori
>>
>> On Mon, 06 Jan 2014 12:55:44 +0100
>> Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> can you get the ngrep output on kamailio server? From asterisk log I see that an INVITE with To-tag has no Route header, which should be there if run though kamailio.
>>>
>>> Cheers,
>>> Daniel
>>>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list