Hi all,
I'm having an issue with ACK's being proxied. When an INVITE first comes in (new transaction, new dialog), I do a 'www_challenge(...)'. This makes the proxy send a '401 Unauthorized' reply. The client acknowledges this reply with "ACK". This ACK is 'absorbed' by the proxy.
When during an established call/dialog the client sends an INVITE to set the call on hold, this is an in dialog INVITE (with to-tag etc). Although authentication for this INVITE isn't very necessary, my script does 'www_challenge' anyway. The proxy sends '401 Unauthorized', the client responds with 'ACK'. This ACK however is not 'absorbed' as it should be, but forwarded/proxied (or at least handed over to the routing script). Is this intended behaviour? If so, how can I recognize this ACK to be able to drop it?
I found some related info in this email thread: http://lists.kamailio.org/pipermail/devel/2008-December/017246.html but doesn't discuss this exact issue.
Though this isn't a big problem for me (the upstream gateway ignores the ack, and I can disable authentication for re-invite's), I'm curious why the proxy behaves this way. Hopefully someone can enlighten me.
regards, Egbert.
Hello,
On 3/15/12 9:48 AM, Egbert Groot wrote:
Hi all,
I'm having an issue with ACK's being proxied. When an INVITE first comes in (new transaction, new dialog), I do a 'www_challenge(...)'. This makes the proxy send a '401 Unauthorized' reply. The client acknowledges this reply with "ACK". This ACK is 'absorbed' by the proxy.
When during an established call/dialog the client sends an INVITE to set the call on hold, this is an in dialog INVITE (with to-tag etc). Although authentication for this INVITE isn't very necessary, my script does 'www_challenge' anyway. The proxy sends '401 Unauthorized', the client responds with 'ACK'. This ACK however is not 'absorbed' as it should be, but forwarded/proxied (or at least handed over to the routing script). Is this intended behaviour? If so, how can I recognize this ACK to be able to drop it?
I found some related info in this email thread: http://lists.kamailio.org/pipermail/devel/2008-December/017246.html but doesn't discuss this exact issue.
Though this isn't a big problem for me (the upstream gateway ignores the ack, and I can disable authentication for re-invite's), I'm curious why the proxy behaves this way. Hopefully someone can enlighten me.
do you create transaction before doing authentication in second case? ACK is absorbed transparently by sl module for stateless reply and they get to config and absorbed by tm with t_relay() if it is an ACK for a stateful reply.
So, even if it gets to config, does it get relayed? If yes, can you post an ngrep trace of such case?
Cheers, Daniel
So, even if it gets to config, does it get relayed? If yes, can you post an ngrep trace of such case?
98.123.118.16 = sip client, soft Phone [client] 77.14.12.129 = kamailio sip proxy [proxy] 63.78.36.101 = destination pbx [pbx]
Scenario: [client] calls via the [proxy] an extention on the [pbx]. After being connected, the [client] puts the call on hold by sending a re-invite. The [proxy] does want to have that re-invite authenticated. The ACK send by the [client] acknowledging the 401 shouldn't hit the proxy routingscript, it should be absorbed by the proxy (I think). See the ACK CSeq 23146 in the sip transcript below.
[client] [proxy] [pbx] INVITE-------> <---------401 ACK------------> INVITE---------> <---------100 INVITE----> <---------200 <---------200 ACK-------------> ACK--------> INVITE-----------> <---------401 ACK --------------> ACK-?------>
11:51:51.301915 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 956 INVITE sip:0619595659@77.14.12.129 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj3e3fa157ab7a4e108ab4b125e1d1b55c Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129 Contact: sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23144 INVITE Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 367
v=0 o=- 3541319510 3541319510 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 9 104 103 102 0 8 101 a=rtcp:50009 a=rtpmap:9 G722/8000 a=rtpmap:104 speex/32000 a=rtpmap:103 speex/16000 a=rtpmap:102 speex/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
11:51:51.302987 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 502 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPj3e3fa157ab7a4e108ab4b125e1d1b55c;received=98.123.118.16 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=b27e1a1d33761e85846fc98f5f3a7e58.854e Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23144 INVITE WWW-Authenticate: Digest realm="sipserver", nonce="T2mz8k9pssabSMJnV5T7AyadAn6g7E6f" Server: MVPProxy Content-Length: 0
11:51:51.305522 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 436 ACK sip:0619595659@77.14.12.129 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj3e3fa157ab7a4e108ab4b125e1d1b55c Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=b27e1a1d33761e85846fc98f5f3a7e58.854e Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23144 ACK User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:51.306007 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 1144 INVITE sip:0619595659@77.14.12.129 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129 Contact: sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Authorization: Digest username="egbertclient", realm="sipserver", nonce="T2mz8k9pssabSMJnV5T7AyadAn6g7E6f", uri="sip:0619595659@77.14.12.129", response="25cb6bfc26b0ceb9bb765747fd6e5cf4" Content-Type: application/sdp Content-Length: 367
v=0 o=- 3541319510 3541319510 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 9 104 103 102 0 8 101 a=rtcp:50009 a=rtpmap:9 G722/8000 a=rtpmap:104 speex/32000 a=rtpmap:103 speex/16000 a=rtpmap:102 speex/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
11:51:51.307943 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 368 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f;received=98.123.118.16 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: MVPProxy Content-Length: 0
11:51:51.308245 IP 77.14.12.129.5060 > 63.78.36.101.5060: SIP, length: 1182 INVITE sip:0619595659@77.14.12.129 SIP/2.0 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK5a67.7aaa1162.0 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Max-Forwards: 69 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129 Contact: sip:iybovxea@10.0.0.37:61574;alias=98.123.118.16~61574~1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 367
v=0 o=- 3541319510 3541319510 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 9 104 103 102 0 8 101 a=rtcp:50009 a=rtpmap:9 G722/8000 a=rtpmap:104 speex/32000 a=rtpmap:103 speex/16000 a=rtpmap:102 speex/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
11:51:51.311340 IP 63.78.36.101.5060 > 77.14.12.129.5060: SIP, length: 713 SIP/2.0 100 Trying Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK5a67.7aaa1162.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: sip:0619595659@63.78.36.101:5060 Content-Length: 0
11:51:51.311816 IP 63.78.36.101.5060 > 77.14.12.129.5060: SIP, length: 1046 SIP/2.0 200 OK Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK5a67.7aaa1162.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083510 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
11:51:51.312895 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 948 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083510 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
11:51:51.317070 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 484 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPjdd22ef4098ee4d9a80843b539560c26e Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 ACK Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:51.317976 IP 77.14.12.129.5060 > 63.78.36.101.5060: SIP, length: 648 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bKcydzigwkX Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjdd22ef4098ee4d9a80843b539560c26e Max-Forwards: 69 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 ACK Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.894180 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 933 INVITE sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Contact: sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 INVITE Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 254
v=0 o=- 3541319510 3541319511 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 0 8 101 a=rtcp:50009 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly
11:51:54.895369 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 475 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d;received=98.123.118.16 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 INVITE WWW-Authenticate: Digest realm="sipserver", nonce="T2mz9k9pssoPK98kCH+kDW6d5i1TGaHJ" Server: MVPProxy Content-Length: 0
11:51:54.897940 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 484 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 ACK Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.898389 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 1126 INVITE sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Contact: sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Authorization: Digest username="egbertclient", realm="sipserver", nonce="T2mz9k9pssoPK98kCH+kDW6d5i1TGaHJ", uri="sip:0619595659@63.78.36.101:5060", response="392328ba5bde6dea5a7f3b04f6b6f50e" Content-Type: application/sdp Content-Length: 254
v=0 o=- 3541319510 3541319511 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 0 8 101 a=rtcp:50009 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly
11:51:54.899597 IP 77.14.12.129.5060 > 63.78.36.101.5060: SIP, length: 648 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bKcydzigwkX Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d Max-Forwards: 69 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 ACK Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.900534 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 383 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53;received=98.123.118.16 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: MVPProxy Content-Length: 0
11:51:54.900844 IP 77.14.12.129.5060 > 63.78.36.101.5060: SIP, length: 1159 INVITE sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 X-MVPPRX-AUTH: egbertclient Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK3a67.74de4d62.0 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Max-Forwards: 69 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Contact: sip:iybovxea@10.0.0.37:61574;alias=98.123.118.16~61574~1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 254
v=0 o=- 3541319510 3541319511 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 0 8 101 a=rtcp:50009 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly
11:51:54.901639 IP 63.78.36.101.5060 > 77.14.12.129.5060: SIP, length: 728 SIP/2.0 100 Trying Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK3a67.74de4d62.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: sip:0619595659@63.78.36.101:5060 Content-Length: 0
11:51:54.901764 IP 63.78.36.101.5060 > 77.14.12.129.5060: SIP, length: 1046 SIP/2.0 200 OK Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK3a67.74de4d62.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083511 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=recvonly
11:51:54.903836 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 948 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083511 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=recvonly
11:51:54.909204 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 484 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj8440cd2c61524809b2f8fd9a8512aa8b Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 ACK Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.910157 IP 77.14.12.129.5060 > 63.78.36.101.5060: SIP, length: 648 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bKcydzigwkX Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj8440cd2c61524809b2f8fd9a8512aa8b Max-Forwards: 69 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 ACK Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:52:00.668085 IP 98.123.118.16.61574 > 77.14.12.129.5060: SIP, length: 484 BYE sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Max-Forwards: 70 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:52:00.669419 IP 77.14.12.129.5060 > 63.78.36.101.5060: SIP, length: 654 BYE sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK1b67.8a4e9305.0 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Max-Forwards: 69 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:52:00.670373 IP 63.78.36.101.5060 > 77.14.12.129.5060: SIP, length: 674 SIP/2.0 200 OK Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK1b67.8a4e9305.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0
11:52:00.671041 IP 77.14.12.129.5060 > 98.123.118.16.61574: SIP, length: 576 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Record-Route: sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient" sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To: sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0
Hello,
can you paste here the config actions used for handling the ACK?
I noticed some things for which I would like to see the config:
- the ACK for has Route header which is not consumed when ACK is relayed - therefore looks like is not going through loose_route()
Load the debugger module and enable siptrace to see the actions executed for the ack -- send the log here as well.
Another thing, sip requests that are relayed should be authenticated via proxy_challenge()/proxy_authenticate().
Send also the output of 'kamailio -V' to know exactly the version you are working with.
Cheers, Daniel
On 3/21/12 12:59 PM, Egbert Groot wrote:
So, even if it gets to config, does it get relayed? If yes, can you post an ngrep trace of such case?
98.123.118.16 = sip client, soft Phone [client] 77.14.12.129 = kamailio sip proxy [proxy] 63.78.36.101 = destination pbx [pbx]
Scenario: [client] calls via the [proxy] an extention on the [pbx]. After being connected, the [client] puts the call on hold by sending a re-invite. The [proxy] does want to have that re-invite authenticated. The ACK send by the [client] acknowledging the 401 shouldn't hit the proxy routingscript, it should be absorbed by the proxy (I think). See the ACK CSeq 23146 in the sip transcript below.
[client] [proxy] [pbx] INVITE-------> <---------401 ACK------------> INVITE---------> <---------100 INVITE----> <---------200 <---------200 ACK-------------> ACK--------> INVITE-----------> <---------401 ACK --------------> ACK-?------>
11:51:51.301915 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 956 INVITE sip:0619595659@77.14.12.129 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj3e3fa157ab7a4e108ab4b125e1d1b55c Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129 Contact:sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23144 INVITE Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 367
v=0 o=- 3541319510 3541319510 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 9 104 103 102 0 8 101 a=rtcp:50009 a=rtpmap:9 G722/8000 a=rtpmap:104 speex/32000 a=rtpmap:103 speex/16000 a=rtpmap:102 speex/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
11:51:51.302987 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 502 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPj3e3fa157ab7a4e108ab4b125e1d1b55c;received=98.123.118.16 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=b27e1a1d33761e85846fc98f5f3a7e58.854e Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23144 INVITE WWW-Authenticate: Digest realm="sipserver", nonce="T2mz8k9pssabSMJnV5T7AyadAn6g7E6f" Server: MVPProxy Content-Length: 0
11:51:51.305522 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 436 ACK sip:0619595659@77.14.12.129 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj3e3fa157ab7a4e108ab4b125e1d1b55c Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=b27e1a1d33761e85846fc98f5f3a7e58.854e Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23144 ACK User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:51.306007 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 1144 INVITE sip:0619595659@77.14.12.129 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129 Contact:sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Authorization: Digest username="egbertclient", realm="sipserver", nonce="T2mz8k9pssabSMJnV5T7AyadAn6g7E6f", uri="sip:0619595659@77.14.12.129", response="25cb6bfc26b0ceb9bb765747fd6e5cf4" Content-Type: application/sdp Content-Length: 367
v=0 o=- 3541319510 3541319510 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 9 104 103 102 0 8 101 a=rtcp:50009 a=rtpmap:9 G722/8000 a=rtpmap:104 speex/32000 a=rtpmap:103 speex/16000 a=rtpmap:102 speex/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
11:51:51.307943 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 368 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f;received=98.123.118.16 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: MVPProxy Content-Length: 0
11:51:51.308245 IP 77.14.12.129.5060> 63.78.36.101.5060: SIP, length: 1182 INVITE sip:0619595659@77.14.12.129 SIP/2.0 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK5a67.7aaa1162.0 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Max-Forwards: 69 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129 Contact:sip:iybovxea@10.0.0.37:61574;alias=98.123.118.16~61574~1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 367
v=0 o=- 3541319510 3541319510 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 9 104 103 102 0 8 101 a=rtcp:50009 a=rtpmap:9 G722/8000 a=rtpmap:104 speex/32000 a=rtpmap:103 speex/16000 a=rtpmap:102 speex/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
11:51:51.311340 IP 63.78.36.101.5060> 77.14.12.129.5060: SIP, length: 713 SIP/2.0 100 Trying Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK5a67.7aaa1162.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact:sip:0619595659@63.78.36.101:5060 Content-Length: 0
11:51:51.311816 IP 63.78.36.101.5060> 77.14.12.129.5060: SIP, length: 1046 SIP/2.0 200 OK Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK5a67.7aaa1162.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact:sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083510 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
11:51:51.312895 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 948 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj27ae28acb6754f8188e00bffeeee498f Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact:sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083510 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
11:51:51.317070 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 484 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPjdd22ef4098ee4d9a80843b539560c26e Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 ACK Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:51.317976 IP 77.14.12.129.5060> 63.78.36.101.5060: SIP, length: 648 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bKcydzigwkX Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjdd22ef4098ee4d9a80843b539560c26e Max-Forwards: 69 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23145 ACK Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.894180 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 933 INVITE sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Contact:sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 INVITE Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 254
v=0 o=- 3541319510 3541319511 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 0 8 101 a=rtcp:50009 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly
11:51:54.895369 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 475 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d;received=98.123.118.16 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 INVITE WWW-Authenticate: Digest realm="sipserver", nonce="T2mz9k9pssoPK98kCH+kDW6d5i1TGaHJ" Server: MVPProxy Content-Length: 0
11:51:54.897940 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 484 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 ACK Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.898389 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 1126 INVITE sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Contact:sip:iybovxea@10.0.0.37:61574 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Authorization: Digest username="egbertclient", realm="sipserver", nonce="T2mz9k9pssoPK98kCH+kDW6d5i1TGaHJ", uri="sip:0619595659@63.78.36.101:5060", response="392328ba5bde6dea5a7f3b04f6b6f50e" Content-Type: application/sdp Content-Length: 254
v=0 o=- 3541319510 3541319511 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 0 8 101 a=rtcp:50009 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly
11:51:54.899597 IP 77.14.12.129.5060> 63.78.36.101.5060: SIP, length: 648 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bKcydzigwkX Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj962f4c055e3f4cbaa54e7dfeb233724d Max-Forwards: 69 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23146 ACK Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.900534 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 383 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.0.0.124:61574;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53;received=98.123.118.16 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: MVPProxy Content-Length: 0
11:51:54.900844 IP 77.14.12.129.5060> 63.78.36.101.5060: SIP, length: 1159 INVITE sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 X-MVPPRX-AUTH: egbertclient Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK3a67.74de4d62.0 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Max-Forwards: 69 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Contact:sip:iybovxea@10.0.0.37:61574;alias=98.123.118.16~61574~1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Supported: 100rel, norefersub User-Agent: Blink 0.2.7 (Windows) Content-Type: application/sdp Content-Length: 254
v=0 o=- 3541319510 3541319511 IN IP4 10.0.0.37 s=Blink 0.2.7 (Windows) c=IN IP4 10.0.0.37 t=0 0 m=audio 50008 RTP/AVP 0 8 101 a=rtcp:50009 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly
11:51:54.901639 IP 63.78.36.101.5060> 77.14.12.129.5060: SIP, length: 728 SIP/2.0 100 Trying Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK3a67.74de4d62.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact:sip:0619595659@63.78.36.101:5060 Content-Length: 0
11:51:54.901764 IP 63.78.36.101.5060> 77.14.12.129.5060: SIP, length: 1046 SIP/2.0 200 OK Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK3a67.74de4d62.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact:sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083511 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=recvonly
11:51:54.903836 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 948 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPjbb606d49204d4912b9c9a56ada636a53 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 INVITE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact:sip:0619595659@63.78.36.101:5060 Content-Type: application/sdp Content-Length: 289
v=0 o=root 524083510 524083511 IN IP4 63.78.36.101 s=Asterisk PBX 1.8.7.0 c=IN IP4 63.78.36.101 t=0 0 m=audio 12262 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=recvonly
11:51:54.909204 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 484 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj8440cd2c61524809b2f8fd9a8512aa8b Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 ACK Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:51:54.910157 IP 77.14.12.129.5060> 63.78.36.101.5060: SIP, length: 648 ACK sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bKcydzigwkX Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj8440cd2c61524809b2f8fd9a8512aa8b Max-Forwards: 69 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23147 ACK Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:52:00.668085 IP 98.123.118.16.61574> 77.14.12.129.5060: SIP, length: 484 BYE sip:0619595659@63.78.36.101:5060 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.124:61574;rport;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Max-Forwards: 70 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:52:00.669419 IP 77.14.12.129.5060> 63.78.36.101.5060: SIP, length: 654 BYE sip:0619595659@63.78.36.101:5060 SIP/2.0 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK1b67.8a4e9305.0 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Max-Forwards: 69 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 User-Agent: Blink 0.2.7 (Windows) Content-Length: 0
11:52:00.670373 IP 63.78.36.101.5060> 77.14.12.129.5060: SIP, length: 674 SIP/2.0 200 OK Via: SIP/2.0/UDP 77.14.12.129;branch=z9hG4bK1b67.8a4e9305.0;received=77.14.12.129;rport=5060 Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0
11:52:00.671041 IP 77.14.12.129.5060> 98.123.118.16.61574: SIP, length: 576 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.124:61574;received=98.123.118.16;rport=61574;branch=z9hG4bKPj4467acdeafb241818abb2f812cd32fa3 Record-Route:sip:77.14.12.129;lr;ftag=45293a8c128b4abbbd325c1bfceaa786 From: "egbertclient"sip:egbertclient@77.14.12.129;tag=45293a8c128b4abbbd325c1bfceaa786 To:sip:0619595659@77.14.12.129;tag=as74bb72c1 Call-ID: 2ece677d9093456a9192ae325f5d6f62 CSeq: 23148 BYE Server: Asterisk PBX 1.8.7.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer 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