Hello,
Here's the results of an ngrep command. It is showing a situation where I make a call on the PSTN to a DID, which terminates on my SIP Trunk. OpenSER receives the INVITE, etc. and I answer with my SIP phone, my phone OKs to OpenSER, OpenSER OKs to the SIP Trunk, but the SIP Trunk never ACKS. What causes this?
Thanks,
Eric
interface: eth0 (192.168.2.0/255.255.255.0) filter: (ip) and ( port 5060 ) # U 8.21.8.24:5060 -> 192.168.2.10:5060 INVITE sip:1001@2.6.7.9 SIP/2.0. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Contact: sip:19195551212@8.21.8.24. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. User-Agent: Vox Callcontrol. Max-Forwards: 70. Date: Sun, 17 Feb 2008 15:37:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Type: application/sdp. Content-Length: 311. . v=0. o=root 25921 25921 IN IP4 8.21.8.24. s=session. c=IN IP4 8.21.8.24. t=0 0. m=audio 15994 RTP/AVP 0 8 18 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport=5060. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. Server: OpenSER (1.3.0-notls (i386/linux)). Content-Length: 0. .
# U 192.168.2.10:5060 -> 192.168.2.3:5060 INVITE sip:1001@192.168.2.3 SIP/2.0. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport=5060. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Contact: sip:19195551212@8.21.8.24. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. User-Agent: Vox Callcontrol. Max-Forwards: 69. Date: Sun, 17 Feb 2008 15:37:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Type: application/sdp. Content-Length: 329. P-hint: usrloc applied. . v=0. o=root 25921 25921 IN IP4 8.21.8.24. s=session. c=IN IP4 192.168.2.10. t=0 0. m=audio 35058 RTP/AVP 0 8 18 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 100 Trying. Content-Length: 0. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. .
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 180 Ringing. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. .
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 180 Ringing. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. .
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 200 OK. Content-Length: 217. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.3. t=0 0. a=direction:active. m=audio 49162 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 200 OK. Content-Length: 236. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.10. t=0 0. a=direction:active. m=audio 35060 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 200 OK. Content-Length: 217. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.3. t=0 0. a=direction:active. m=audio 49162 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 200 OK. Content-Length: 236. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.10. t=0 0. a=direction:active. m=audio 35060 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 200 OK. Content-Length: 217. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.3. t=0 0. a=direction:active. m=audio 49162 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 200 OK. Content-Length: 236. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.10. t=0 0. a=direction:active. m=audio 35060 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 70. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.3;rport;branch=z9hG4bKc0a802030131c9b147b80e6900007d3200000019. .
# U 192.168.2.10:5060 -> 8.21.8.24:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Record-Route: sip:192.168.2.10;lr=on;ftag=35794812523426. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 69. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bK3067.f0fdf201.0. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d320000001 9. P-hint: rr-enforced. .
# U 192.168.2.10:5060 -> 8.21.8.24:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Record-Route: sip:192.168.2.10;lr=on;ftag=35794812523426. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 69. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bK3067.f0fdf201.0. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d320000001 9. P-hint: rr-enforced. .
# U 192.168.2.3:5060 -> 192.168.2.10:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 70. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.3;rport;branch=z9hG4bKc0a802030131c9b147b80e6900007d3200000019. .
# U 8.21.8.24:5060 -> 192.168.2.10:5060 SIP/2.0 481 Call leg/transaction does not exist. Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bK3067.f0fdf201.0;received=2.6.7.9. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d320000001 9. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 1 BYE. User-Agent: Vox Callcontrol. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Length: 0. .
# U 192.168.2.10:5060 -> 192.168.2.3:5060 SIP/2.0 481 Call leg/transaction does not exist. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d320000001 9. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 1 BYE. User-Agent: Vox Callcontrol. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Length: 0. .
exit 18 received, 0 dropped
El Domingo, 17 de Febrero de 2008, Eric Phetteplace escribió:
Hello,
Here's the results of an ngrep command. It is showing a situation where I make a call on the PSTN to a DID, which terminates on my SIP Trunk. OpenSER receives the INVITE, etc. and I answer with my SIP phone, my phone OKs to OpenSER, OpenSER OKs to the SIP Trunk, but the SIP Trunk never ACKS. What causes this?
It seems a issue relatedto your PSTN gateway. Does it occur with any UAS?
In 200 OK there is no public address in the Recorde-Route list.
On Sunday 17 February 2008, Eric Phetteplace wrote:
Hello,
Here's the results of an ngrep command. It is showing a situation where I make a call on the PSTN to a DID, which terminates on my SIP Trunk. OpenSER receives the INVITE, etc. and I answer with my SIP phone, my phone OKs to OpenSER, OpenSER OKs to the SIP Trunk, but the SIP Trunk never ACKS. What causes this?
Thanks,
Eric
interface: eth0 (192.168.2.0/255.255.255.0) filter: (ip) and ( port 5060 ) # U 8.21.8.24:5060 -> 192.168.2.10:5060 INVITE sip:1001@2.6.7.9 SIP/2.0. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Contact: sip:19195551212@8.21.8.24. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. User-Agent: Vox Callcontrol. Max-Forwards: 70. Date: Sun, 17 Feb 2008 15:37:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Type: application/sdp. Content-Length: 311. . v=0. o=root 25921 25921 IN IP4 8.21.8.24. s=session. c=IN IP4 8.21.8.24. t=0 0. m=audio 15994 RTP/AVP 0 8 18 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport=5060. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. Server: OpenSER (1.3.0-notls (i386/linux)). Content-Length: 0. .
# U 192.168.2.10:5060 -> 192.168.2.3:5060 INVITE sip:1001@192.168.2.3 SIP/2.0. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport=5060. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Contact: sip:19195551212@8.21.8.24. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. User-Agent: Vox Callcontrol. Max-Forwards: 69. Date: Sun, 17 Feb 2008 15:37:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Type: application/sdp. Content-Length: 329. P-hint: usrloc applied. . v=0. o=root 25921 25921 IN IP4 8.21.8.24. s=session. c=IN IP4 192.168.2.10. t=0 0. m=audio 35058 RTP/AVP 0 8 18 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 100 Trying. Content-Length: 0. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. .
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 180 Ringing. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. .
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 180 Ringing. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. .
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 200 OK. Content-Length: 217. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.3. t=0 0. a=direction:active. m=audio 49162 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 200 OK. Content-Length: 236. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.10. t=0 0. a=direction:active. m=audio 35060 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 200 OK. Content-Length: 217. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.3. t=0 0. a=direction:active. m=audio 49162 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 200 OK. Content-Length: 236. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.10. t=0 0. a=direction:active. m=audio 35060 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 SIP/2.0 200 OK. Content-Length: 217. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKd949.f8032901.0,SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.3. t=0 0. a=direction:active. m=audio 49162 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16.
# U 192.168.2.10:5060 -> 8.21.8.24:5060 SIP/2.0 200 OK. Content-Length: 236. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Content-Type: application/sdp. CSeq: 102 INVITE. From: sip:19195551212@8.21.8.24;tag=as6869d7f8. Record-Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: "ericp"sip:1001@2.6.7.9;tag=35794812523426. Server: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 8.21.8.24:5060;rport=5060;branch=z9hG4bK69c359bd. . v=0. o=- 3412233443 3412233443 IN IP4 192.168.2.3. s=SJphone. c=IN IP4 192.168.2.10. t=0 0. a=direction:active. m=audio 35060 RTP/AVP 0 100. a=rtpmap:0 PCMU/8000. a=rtpmap:100 telephone-event/8000. a=fmtp:100 0-11,16. a=nortpproxy:yes.
# U 192.168.2.3:5060 -> 192.168.2.10:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 70. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.3;rport;branch=z9hG4bKc0a802030131c9b147b80e6900007d3200000019. .
# U 192.168.2.10:5060 -> 8.21.8.24:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Record-Route: sip:192.168.2.10;lr=on;ftag=35794812523426. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 69. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bK3067.f0fdf201.0. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d32000000 1 9. P-hint: rr-enforced. .
# U 192.168.2.10:5060 -> 8.21.8.24:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Record-Route: sip:192.168.2.10;lr=on;ftag=35794812523426. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 69. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bK3067.f0fdf201.0. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d32000000 1 9. P-hint: rr-enforced. .
# U 192.168.2.3:5060 -> 192.168.2.10:5060 BYE sip:19195551212@8.21.8.24 SIP/2.0. Content-Length: 0. Contact: sip:192.168.2.3:5060. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. Max-Forwards: 70. CSeq: 1 BYE. From: sip:1001@2.6.7.9;tag=35794812523426. Route: sip:192.168.2.10;lr=on;ftag=as6869d7f8. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. User-Agent: SJphone/1.50.271d (SJ Labs). Via: SIP/2.0/UDP 192.168.2.3;rport;branch=z9hG4bKc0a802030131c9b147b80e6900007d3200000019. .
# U 8.21.8.24:5060 -> 192.168.2.10:5060 SIP/2.0 481 Call leg/transaction does not exist. Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bK3067.f0fdf201.0;received=2.6.7.9. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d32000000 1 9. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 1 BYE. User-Agent: Vox Callcontrol. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Length: 0. .
# U 192.168.2.10:5060 -> 192.168.2.3:5060 SIP/2.0 481 Call leg/transaction does not exist. Via: SIP/2.0/UDP 192.168.2.3;rport=5060;branch=z9hG4bKc0a802030131c9b147b80e6900007d32000000 1 9. From: sip:1001@2.6.7.9;tag=35794812523426. To: sip:19195551212@8.21.8.24;tag=as6869d7f8. Call-ID: 41d92a2106bd8b50595d335717906399@8.21.8.24. CSeq: 1 BYE. User-Agent: Vox Callcontrol. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Length: 0. .
exit 18 received, 0 dropped
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
El Domingo, 17 de Febrero de 2008, Robert Dyck escribió:
In 200 OK there is no public address in the Recorde-Route list.
It shouldn't be a problem since the gateway seems to have an interface to that private network. In fact, note that the first INVITE from gateway goes to the private address of OpenSer:
U 8.21.8.24:5060 -> 192.168.2.10:5060 INVITE sip:1001@2.6.7.9 SIP/2.0. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Contact: sip:19195551212@8.21.8.24.
We can only guess about the topology. My guess is that here is a router with a public address and that the node that is hosting openser does not have an interface on the public network. The router could be using port forwarding or it could be a NAT binding. Then it would _appear_ as if the message went directly from the public network to 192.168.2.10:5060 depending on your point of observation.
For INVITE we rely on the registrar for the public address. For ACK we rely on the RR list.
On Sunday 17 February 2008, Iñaki Baz Castillo wrote:
El Domingo, 17 de Febrero de 2008, Robert Dyck escribió:
In 200 OK there is no public address in the Recorde-Route list.
It shouldn't be a problem since the gateway seems to have an interface to that private network. In fact, note that the first INVITE from gateway goes to the private address of OpenSer:
U 8.21.8.24:5060 -> 192.168.2.10:5060 INVITE sip:1001@2.6.7.9 SIP/2.0. Via: SIP/2.0/UDP 8.21.8.24:5060;branch=z9hG4bK69c359bd;rport. From: "19195551212" sip:19195551212@8.21.8.24;tag=as6869d7f8. To: sip:1001@2.6.7.9. Contact: sip:19195551212@8.21.8.24.