On Thursday 10 April 2014 09:43:28 Daniel-Constantin Mierla wrote: > the re-INVITE should be handled in the same way as ACK for 200ok or BYE > (i.e., request within dialog). Do you get any error message in syslog? > Can you share a ngrep trace of such situation (from initial INVITE to > the end)? you can send it to me if it has sensitive information.
No errors as far as I can see, ACKs go thru just fine. Digging further it seems that the problem is not handling these re-INVITEs in general but only the ones from a test trunk from a new provider. Following re-INVITE fails (10.10.48.129 is external SBC, 10.0.36.178 my 4.1 "SBC" and 10.0.32.40 the 4.0 register server with topoh, attached the full dialog): # U 10.10.48.129:5060 -> 10.0.36.178:5060 INVITE sip:172.19.162.1;line=pcs- mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1 SIP/2.0. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. Expires: 180. Contact: <sip:anonymous@10.10.48.129:5060;transport=udp>. Min-SE: 1800. Session-Expires: 1800;refresher=uac. Supported: replaces, 100rel, timer. Content-Length: 394. Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, PRACK, INFO, REFER, UPDATE. Max-Forwards: 67. Content-Type: application/sdp. User-Agent: Alcatel-Lucent 5020 MGC-8 8.1.0.16.SP5.4. Here the To is mangled and there is no Route. But is that the reason things go wrong? If inconclusive I'll dig some further on the register server during off peak moments. Calling the same endpoint but simulating with a SIP phone (natted) to 10.0.36.178, onhold works as expected. U 10.0.34.226:54503 -> 10.0.36.178:5060 INVITE sip:172.19.162.1;line=pcs- mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1 SIP/2.0. Via: SIP/2.0/UDP 10.0.3.175:5060;branch=z9hG4bK-fe9a78d6. From: "sandbox" <sip:t...@sandbox.pocos.nl>;tag=15cf109cd7012b3fo0. To: <sip:0756xxx...@sandbox.pocos.nl>;tag=34dc7260908c3408. Remote-Party-ID: "sandbox" <sip:t...@sandbox.pocos.nl>;screen=yes;party=calling. Call-ID: 5e72bda0-f317c20b@10.0.3.175. CSeq: 102 INVITE. Max-Forwards: 70. Route: <sip:10.0.36.178;lr=on;nat=yes>, <sip:10.0.32.40;lr=on;ftag=15cf109cd7012b3fo0;did=179.95c1;vst=AAAAABsEBAEBBwwBCwBzWzAFAw8dBQwLGkEIQRMAEEEdQm5s>. Contact: "sandbox" <sip:tst6@10.0.3.175:5060>. Expires: 30. User-Agent: Linksys/SPA962-6.1.3(a). Content-Length: 227. Content-Type: application/sdp. -- POCOS B.V. - Croy 9c - 5653 LC Eindhoven Telefoon: 040 293 8661 - Fax: 040 293 8658 http://www.pocos.nl/ - http://www.sipo.nl/ K.v.K. Eindhoven 17097024
U 10.10.48.129:5060 -> 10.0.36.178:5060 INVITE sip:+31756xxx...@voip.sandboxpocs.nl SIP/2.0. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKb7pfva2088agdm0qf7g1.1. From: "Anonymous"<sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:+31756xxx...@voip.sandboxpocs.nl;user=phone>. CSeq: 596754227 INVITE. Expires: 180. Min-SE: 90. Session-Expires: 1800. Content-Length: 382. Request-Disposition: fork, sequential. Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, PRACK, INFO, REFER, UPDATE. Supported: histinfo, 100rel, timer. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. P-Asserted-Identity: <sip:+31646xxx...@ims.imscore.net;user=phone>. Privacy: id. Max-Forwards: 67. Contact: <sip:anonymous@10.10.48.129:5060;transport=udp>. Content-Type: application/sdp. User-Agent: Alcatel-Lucent 5020 MGC-8 8.1.0.16.SP5.4. . v=0. o=- 3606113292 3606113292 IN IP4 10.10.48.129. s=-. c=IN IP4 10.10.48.129. t=0 0. m=audio 20060 RTP/AVP 8 0 18 4 2 101. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=rtpmap:4 G723/8000. a=rtpmap:2 G726/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=fmtp:18 annexb=no. a=fmtp:4 annexa=no. a=fmtp:4 bitrate=6.3. a=silenceSupp:off - - - -. # U 10.0.36.178:5060 -> 10.10.48.129:5060 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP 10.10.48.129:5060;rport=5060;branch=z9hG4bKb7pfva2088agdm0qf7g1.1. Record-Route: <sip:10.0.32.40;lr=on;ftag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183;did=674.d441>. Record-Route: <sip:10.0.36.178;lr=on>. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. CSeq: 596754227 INVITE. Contact: <sip:172.19.162.1;line=pcs-mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1>. Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY. Supported: timer. Server: IP Office 9.0.1.0 build 845. To: <sip:+31756xxx...@sip.pocos.nl;user=phone>;tag=1ab0493ac1bfcdac. Content-Length: 0. . # U 10.0.36.178:5060 -> 10.10.48.129:5060 SIP/2.0 200 OK. Via: SIP/2.0/UDP 10.10.48.129:5060;rport=5060;branch=z9hG4bKb7pfva2088agdm0qf7g1.1. Record-Route: <sip:10.0.32.40;lr=on;ftag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183;did=674.d441>. Record-Route: <sip:10.0.36.178;lr=on>. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. CSeq: 596754227 INVITE. Contact: <sip:172.19.162.1;line=pcs-mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1>. Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY. Supported: timer. Server: IP Office 9.0.1.0 build 845. Min-SE: 1800. Require: timer. Session-Expires: 1800;refresher=uac. To: <sip:+31756xxx...@sip.pocos.nl;user=phone>;tag=1ab0493ac1bfcdac. Content-Type: application/sdp. Content-Length: 226. . v=0. o=UserA 3699862588 4127909143 IN IP4 10.0.36.178. s=Session SDP. c=IN IP4 10.0.36.178. t=0 0. m=audio 54476 RTP/AVP 8 101. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=nortpproxy:yes. # U 10.10.48.129:5060 -> 10.0.36.178:5060 ACK sip:172.19.162.1;line=pcs-mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1 SIP/2.0. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKevpppo302goh4m0q8681.1. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:+31756xxx...@sip.pocos.nl;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754227 ACK. Contact: <sip:anonymous@10.10.48.129:5060;transport=udp>. Content-Length: 0. Max-Forwards: 67. User-Agent: Alcatel-Lucent 5020 MGC-8 8.1.0.16.SP5.4. . # U 10.10.48.129:5060 -> 10.0.36.178:5060 INVITE sip:172.19.162.1;line=pcs-mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1 SIP/2.0. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. Expires: 180. Contact: <sip:anonymous@10.10.48.129:5060;transport=udp>. Min-SE: 1800. Session-Expires: 1800;refresher=uac. Supported: replaces, 100rel, timer. Content-Length: 394. Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, PRACK, INFO, REFER, UPDATE. Max-Forwards: 67. Content-Type: application/sdp. User-Agent: Alcatel-Lucent 5020 MGC-8 8.1.0.16.SP5.4. . v=0. o=- 3606113292 3606113293 IN IP4 10.10.48.129. s=-. c=IN IP4 10.10.48.129. t=0 0. m=audio 20060 RTP/AVP 8 0 18 4 2 101. a=sendonly. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=rtpmap:4 G723/8000. a=rtpmap:2 G726/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=fmtp:18 annexb=no. a=fmtp:4 annexa=no. a=fmtp:4 bitrate=6.3. a=silenceSupp:off - - - -. # U 10.0.36.178:5060 -> 10.10.48.129:5060 SIP/2.0 100 trying -- your call is important to us. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1;rport=5060. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. Content-Length: 0. . # U 10.10.48.129:5060 -> 10.0.36.178:5060 INVITE sip:172.19.162.1;line=pcs-mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1 SIP/2.0. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. Expires: 180. Contact: <sip:anonymous@10.10.48.129:5060;transport=udp>. Min-SE: 1800. Session-Expires: 1800;refresher=uac. Supported: replaces, 100rel, timer. Content-Length: 394. Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, PRACK, INFO, REFER, UPDATE. Max-Forwards: 67. Content-Type: application/sdp. User-Agent: Alcatel-Lucent 5020 MGC-8 8.1.0.16.SP5.4. . v=0. o=- 3606113292 3606113293 IN IP4 10.10.48.129. s=-. c=IN IP4 10.10.48.129. t=0 0. m=audio 20060 RTP/AVP 8 0 18 4 2 101. a=sendonly. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=rtpmap:4 G723/8000. a=rtpmap:2 G726/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=fmtp:18 annexb=no. a=fmtp:4 annexa=no. a=fmtp:4 bitrate=6.3. a=silenceSupp:off - - - -. # U 10.0.36.178:5060 -> 10.10.48.129:5060 SIP/2.0 100 trying -- your call is important to us. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1;rport=5060. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. Content-Length: 0. . # U 10.10.48.129:5060 -> 10.0.36.178:5060 INVITE sip:172.19.162.1;line=pcs-mp4KWiTsxRmtEAM3WGysx7y3xGnoxAxtuAxSuA7KEsktxGZKWgQfZD6smqlf9Gttzjy*;alias=10.0.32.40~5060~1 SIP/2.0. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. Expires: 180. Contact: <sip:anonymous@10.10.48.129:5060;transport=udp>. Min-SE: 1800. Session-Expires: 1800;refresher=uac. Supported: replaces, 100rel, timer. Content-Length: 394. Allow: INVITE, BYE, REGISTER, ACK, OPTIONS, CANCEL, SUBSCRIBE, NOTIFY, PRACK, INFO, REFER, UPDATE. Max-Forwards: 67. Content-Type: application/sdp. User-Agent: Alcatel-Lucent 5020 MGC-8 8.1.0.16.SP5.4. . v=0. o=- 3606113292 3606113293 IN IP4 10.10.48.129. s=-. c=IN IP4 10.10.48.129. t=0 0. m=audio 20060 RTP/AVP 8 0 18 4 2 101. a=sendonly. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=rtpmap:4 G723/8000. a=rtpmap:2 G726/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=fmtp:18 annexb=no. a=fmtp:4 annexa=no. a=fmtp:4 bitrate=6.3. a=silenceSupp:off - - - -. # U 10.0.36.178:5060 -> 10.10.48.129:5060 SIP/2.0 100 trying -- your call is important to us. Via: SIP/2.0/UDP 10.10.48.129:5060;branch=z9hG4bKq7m2h6102gbgpmsb52c1.1;rport=5060. Call-ID: SDqj77801-889102173bc5f169e17c9aee50469a7f-a8b85e3. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=SDqj77801-127.0.0.1alUtKGp-06001+1+5df90004+11130183. To: <sip:;user=phone>;tag=1ab0493ac1bfcdac. CSeq: 596754228 INVITE. 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