Daniel ,dialog timeout happen only for below scenarioSIP/2.0 200 OK Record-Route: <sip:22.22.22.22:5060;lr>,<sip:11.11.11.11:345>so ack isACK sip:11.11.11.11:345 SIP/2.0
ack message ruri is overwritten by strict route uri , in this case dialog module is returning dialog matching failed error after receiving ack from UAC , so dialog timeout is occurred after 2 min because of not confirmed dialog statebut below scenario is working fine (both record route entries have loose route )SIP/2.0 200 OK Record-Route: <sip:22.22.22.22:5060;lr>,<sip:11.11.11.11:345;lr>so ack isACK sip:22.22.22.22:5060 SIP/2.0
On Sat, Oct 17, 2015 at 1:54 PM, Arun Kumar <mi2arun@gmail.com> wrote:
Hi
dialog timeout is occurred if 200 ok having mixed loose and strict routing entries in record route header
conf file attached
INVITE sip:123456789@22.22.22.22:5060 SIP/2.0Via: SIP/2.0/UDP 176.204.26.157:63939;rport;branch=z9hG4bKPjvAKLQD72G88kpqC2IJwbmTcXUlHGULcWMax-Forwards: 70From: sip:123455555@22.22.22.22;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuCall-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14602 INVITERoute: <sip:11.11.11.11:345;lr>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONSSupported: replaces, 100rel, timer, norefersubSession-Expires: 1800Min-SE: 90User-Agent: zeo-iphoneOpcode: 19815Content-Type: application/sdpContent-Length: 320
v=0o=- 3653999880 3653999880 IN IP4 10.220.83.191s=pjmediab=AS:25t=0 0a=X-nat:0m=audio 4000 RTP/AVP 18 96c=IN IP4 10.220.83.191b=TIAS:8000a=rtcp:4001 IN IP4 10.123.11.223a=sendrecva=rtpmap:18 G729/8000a=fmtp:18 annexb=noa=rtpmap:96 telephone-event/8000a=fmtp:96 0-16a=X-adapter:some value
SIP/2.0 407 Proxy Authentication requiredVia: SIP/2.0/UDP 11.11.11.11:345;branch=z9hG4bK3d4f.6f8dff1ec0806cb23f56d847d5fe3934.0,SIP/2.0/UDP176.204.26.157:63939;rport=63939;branch=z9hG4bKPjvAKLQD72G88kpqC2IJwbmTcXUlHGULcW;received=176.204.26.157From: <sip:123455555@22.22.22.22>;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuCall-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14602 INVITEProxy-Authenticate: Digest nonce="6b24dc6996de20028c78dbeaf13edc55",realm="22.22.22.22",opaque="",stale=FALSE,algorithm=MD5Content-Length: 0
ACK sip:123456789@22.22.22.22:5060 SIP/2.0Via: SIP/2.0/UDP 176.204.26.157:63939;rport;branch=z9hG4bKPjvAKLQD72G88kpqC2IJwbmTcXUlHGULcWMax-Forwards: 70From: sip:123455555@22.22.22.22;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuCall-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14602 ACKRoute: <sip:11.11.11.11:345;lr>Content-Length: 0
INVITE sip:123456789@22.22.22.22:5060 SIP/2.0Via: SIP/2.0/UDP 176.204.26.157:63939;rport;branch=z9hG4bKPjmWCyQQWaKBZC0fGKfS2LCXCIklN-UIHIMax-Forwards: 70From: sip:123455555@22.22.22.22;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuCall-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14603 INVITERoute: <sip:11.11.11.11:345;lr>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONSSupported: replaces, 100rel, timer, norefersubSession-Expires: 1800Min-SE: 90User-Agent: zeo-iphoneOpcode: 19815Proxy-Authorization: Digest username="123455555", realm="22.22.22.22", nonce="6b24dc6996de20028c78dbeaf13edc55", uri="sip:123456789@22.22.22.22:5060", response="554a1da255084f7a95d3b6e7a0c48933", algorithm=MD5Content-Type: application/sdpContent-Length: 320
v=0o=- 3653999880 3653999880 IN IP4 10.220.83.191s=pjmediab=AS:25t=0 0a=X-nat:0m=audio 4000 RTP/AVP 18 96c=IN IP4 10.220.83.191b=TIAS:8000a=rtcp:4001 IN IP4 34.220.83.191a=sendrecva=rtpmap:18 G729/8000a=fmtp:18 annexb=noa=rtpmap:96 telephone-event/8000a=fmtp:96 0-16a=X-adapter:some value
SIP/2.0 100 TryingVia: SIP/2.0/UDP 11.11.11.11:345;branch=z9hG4bK4d4f.b793c28bbb6684da0ad60d4320be2d6b.0,SIP/2.0/UDP176.204.26.157:63939;rport=63939;branch=z9hG4bKPjmWCyQQWaKBZC0fGKfS2LCXCIklN-UIHI;received=176.204.26.157From: <sip:123455555@22.22.22.22>;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuCall-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14603 INVITEContent-Length: 0
SIP/2.0 183 Session progressVia: SIP/2.0/UDP 11.11.11.11:345;branch=z9hG4bK4d4f.b793c28bbb6684da0ad60d4320be2d6b.0,SIP/2.0/UDP176.204.26.157:63939;rport=63939;branch=z9hG4bKPjmWCyQQWaKBZC0fGKfS2LCXCIklN-UIHI;received=176.204.26.157From: <sip:123455555@22.22.22.22>;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuTo: <sip:123456789@22.22.22.22>;tag=GB-1445011078679CSeq: 14603 INVITECall-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhContact: <sip:22.22.22.22:5060>Content-Type: application/sdpContent-Length: 298
v=0o=- 3653999880 3653999880 IN IP4 50.56.154.204s=zeodialerc=IN IP4 50.33.154.204b=AS:25t=0 0m=audio 53128 RTP/AVP 18 96c=IN IP4 50.33.154.204b=TIAS:8000a=rtpmap:18 G729/8000a=sendrecva=fmtp:18 annexb=noa=rtpmap:96 telephone-event/8000a=fmtp:96 0-16a=X-adapter:some value
SIP/2.0 183 Session ProgressRecord-Route: <sip:22.22.22.22:5060;lr>,<sip:11.11.11.11:345>Call-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14603 INVITEAllow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,UPDATEP-Early-Media: sendrecvContact: <sip:22.22.22.22:5060>Via: SIP/2.0/UDP 11.11.11.11:345;branch=z9hG4bK4d4f.b793c28bbb6684da0ad60d4320be2d6b.0,SIP/2.0/UDP176.204.26.157:63939;rport=63939;branch=z9hG4bKPjmWCyQQWaKBZC0fGKfS2LCXCIklN-UIHI;received=176.204.26.157To: <sip:123456789@22.22.22.22>;tag=GB-1445011078679Content-Type: application/sdpFrom: <sip:123455555@22.22.22.22>;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuContent-Length: 212
v=0o=- 1426744035 1426744035 IN IP4 50.56.154.204s=Nexgec=IN IP4 50.22.154.204t=0 0m=audio 53128 RTP/AVP 18 96a=rtpmap:18 G729/8000a=fmtp:18 annexb=noa=rtpmap:96 telephone-event/8000a=ptime:20
SIP/2.0 200 OKRecord-Route: <sip:22.22.22.22:5060;lr>,<sip:11.11.11.11:345>Call-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14603 INVITEAllow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,UPDATEContact: <sip:22.22.22.22:5060>Via: SIP/2.0/UDP 11.11.11.11:345;branch=z9hG4bK4d4f.b793c28bbb6684da0ad60d4320be2d6b.0,SIP/2.0/UDP176.204.26.157:63939;rport=63939;branch=z9hG4bKPjmWCyQQWaKBZC0fGKfS2LCXCIklN-UIHI;received=176.204.26.157To: <sip:123456789@22.22.22.22>;tag=GB-1445011078679Content-Type: application/sdpFrom: <sip:123455555@22.22.22.22>;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuContent-Length: 212
v=0o=- 1426744035 1426744035 IN IP4 50.56.154.204s=Nexgec=IN IP4 50.33.44.204t=0 0m=audio 53128 RTP/AVP 18 96a=rtpmap:18 G729/8000a=fmtp:18 annexb=noa=rtpmap:96 telephone-event/8000a=ptime:20
ACK sip:11.11.11.11:345 SIP/2.0Via: SIP/2.0/UDP 176.204.26.157:63939;rport;branch=z9hG4bKPjldbprXw3ybGOxoeKWwvtdxLmNp8jXsOXMax-Forwards: 70From: sip:123455555@22.22.22.22;tag=E9YwhssbjdD63KZpXep-UCmOxshWrcwuTo: sip:123456789@22.22.22.22;tag=GB-1445011078679Call-ID: VlaYDWuM5COSfEIqydwAxFM76TLv7SyhCSeq: 14603 ACKRoute: <sip:22.22.22.22:5060;lr>Route: <sip:22.22.22.22:5060>Content-Length: 0
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com