[Kamailio-Users] [Bulk] nat problems
Aurelien Grimaud
gstelzz at yahoo.fr
Wed Dec 17 19:02:56 CET 2008
Hi,
Ricky Gutierrez a écrit :
> Hi list, I want to comment some problems of nat that I have, I have
> two connected remote UAC in a same location
>
> UAC 202 REMOTE A
> UAC 123 REMOTE A
>
> if the UAC 123 calls to UAC 202 there is not bidirectional audio
>
> UAC 204 REMOTE B
> UAC 122 REMOTE C
>
> if the UAC 122 calls to UAC 202 if there is bidirectional audio
>
> some help like I can solve this problem?, the remote clients in site A
> they are behind a nat symetrics
>
> I am using rtpproxy version 1.1 and openser 1.3.2
>
>
> log sip
>
This is part of 123 calling 202 right ?
Where is the initial INVITE with the 123 sdp ?
> U +2.975758 190.212.49.86:58944 -> 190.184.22.152:5060
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 190.184.22.152:5060;branch=z9hG4bK74f3.13c6ec23.0
> Via: SIP/2.0/UDP 192.168.10.37:5060;rport=63451;received=190.212.49.86;branch=z9hG4bK33571797d7d31cb0
>
> Record-Route: <sip:190.184.22.152;lr=on;ftag=0966ab4346392f45>
> From: "ricardo-elim" <sip:123 at 190.184.22.152>;tag=0966ab4346392f45
> To: <sip:202 at 190.184.22.152>;tag=15c74eb7e1a2ae92
> Call-ID: 4dfa1b96e314c165 at 192.168.10.37
> CSeq: 17345 INVITE
> User-Agent: Grandstream GXP2020 1.1.6.16
> Contact: <sip:202 at 192.168.10.40:5064;transport=udp>
> Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
> Content-Type: application/sdp
> Supported: replaces, timer
> Content-Length: 214
>
> v=0
> o=202 8000 8000 IN IP4 192.168.10.40
> s=SIP Call
> c=IN IP4 192.168.10.40
> t=0 0
> m=audio 5004 RTP/AVP 18 101
> a=sendrecv
> a=rtpmap:18 G729/8000
> a=ptime:20
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11
>
> #
> U +0.000475 190.184.22.152:5060 -> 190.212.49.86:63451
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 192.168.10.37:5060;rport=63451;received=190.212.49.86;branch=z9hG4bK33571797d7d31cb0
> Record-Route: <sip:190.184.22.152;lr=on;ftag=0966ab4346392f45>
> From: "ricardo-elim" <sip:123 at 190.184.22.152>;tag=0966ab4346392f45
> To: <sip:202 at 190.184.22.152>;tag=15c74eb7e1a2ae92
> Call-ID: 4dfa1b96e314c165 at 192.168.10.37
> CSeq: 17345 INVITE
> User-Agent: Grandstream GXP2020 1.1.6.16
> Contact: <sip:202 at 190.212.49.86:58944;transport=udp;nat=yes>
> Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
> Content-Type: application/sdp
> Supported: replaces, timer
> Content-Length: 234
> P-hint: onreply_route|force_rtp_proxy
> P-hint: Onreply-route - fixcontact
>
> v=0
> o=202 8000 8000 IN IP4 192.168.10.40
> s=SIP Call
> c=IN IP4 190.184.22.152
> t=0 0
> m=audio 35036 RTP/AVP 18 101
> a=sendrecv
> a=rtpmap:18 G729/8000
> a=ptime:20
> a=rtpmap:101
> telephone-event/8000
> a=fmtp:101 0-11
> a=nortpproxy:yes
>
> #
> U +0.241543 190.212.49.86:63451 -> 190.184.22.152:5060
> ACK sip:202 at 190.212.49.86:58944;transport=udp;nat=yes SIP/2.0
> Via: SIP/2.0/UDP 192.168.10.37:5060;branch=z9hG4bKa26522558c582a68
> Route: <sip:190.184.22.152;lr=on;ftag=0966ab4346392f45>
> From: "ricardo-elim" <sip:123 at 190.184.22.152>;tag=0966ab4346392f45
> To: <sip:202 at 190.184.22.152>;tag=15c74eb7e1a2ae92
> Contact: <sip:123 at 192.168.10.37:5060;transport=udp>
> Supported: path
> Proxy-Authorization: Digest username="123", realm="190.184.22.152", algorithm=MD5, uri="sip:202 at 190.184.22.152", nonce="49485f8958ba6dc4e39ee5893d15ea3e60ae19ad", response="afb5db07f3a90d4cfc6ea483fd120404"
> Call-ID: 4dfa1b96e314c165 at 192.168.10.37
> CSeq: 17345 ACK
> User-Agent: Grandstream BT200 1.1.6.16
> Max-Forwards: 70
> Allow:
> INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
> Content-Length: 0
>
>
> #
> U +0.000334 190.184.22.152:5060 -> 190.212.49.86:58944
> ACK sip:202 at 190.212.49.86:58944;transport=udp SIP/2.0
> Record-Route: <sip:190.184.22.152;lr=on;ftag=0966ab4346392f45>
> Via: SIP/2.0/UDP 190.184.22.152;branch=z9hG4bK74f3.13c6ec23.2
> Via: SIP/2.0/UDP 192.168.10.37:5060;rport=63451;received=190.212.49.86;branch=z9hG4bKa26522558c582a68
> From: "ricardo-elim" <sip:123 at 190.184.22.152>;tag=0966ab4346392f45
> To: <sip:202 at 190.184.22.152>;tag=15c74eb7e1a2ae92
> Contact: <sip:123 at 190.212.49.86:63451;transport=udp;nat=yes>
> Supported: path
> Proxy-Authorization: Digest username="123", realm="190.184.22.152", algorithm=MD5, uri="sip:202 at 190.184.22.152", nonce="49485f8958ba6dc4e39ee5893d15ea3e60ae19ad", response="afb5db07f3a90d4cfc6ea483fd120404"
> Call-ID: 4dfa1b96e314c165 at 192.168.10.37
> CSeq:
> 17345 ACK
> User-Agent: Grandstream BT200 1.1.6.16
> Max-Forwards: 69
> Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
> Content-Length: 0
>
>
>
> #
> U +0.383479 190.184.22.152:5060 -> 190.212.49.86:58944
> OPTIONS sip:190.212.49.86:58944 SIP/2.0
> Via: SIP/2.0/UDP 190.184.22.152:5060;branch=0
> From: sip:pinger at 190.184.22.152;tag=d7259e51
> To: sip:190.212.49.86:58944
> Call-ID: 1f9f65c1-fcccdef2-674a at 190.184.22.152
> CSeq: 1 OPTIONS
> Content-Length: 0
>
>
> #
> U +0.173847 190.212.49.86:58944 -> 190.184.22.152:5060
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 190.184.22.152:5060;branch=0
> From: sip:pinger at 190.184.22.152;tag=d7259e51
> To: sip:190.212.49.86:58944;tag=15c74eb7e1a2ae92
> Call-ID: 1f9f65c1-fcccdef2-674a at 190.184.22.152
> CSeq: 1 OPTIONS
> User-Agent: Grandstream GXP2020 1.1.6.16
> Contact: <sip:202 at 192.168.10.40:5064;transport=udp>
> Allow:
> INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
> Supported: replaces, timer
> Content-Length: 0
>
>
> #
> U +0.826048 190.184.22.152:5060 -> 190.212.35.160:50273
> OPTIONS sip:190.212.35.160:50273 SIP/2.0
> Via: SIP/2.0/UDP 190.184.22.152:5060;branch=0
> From: sip:pinger at 190.184.22.152;tag=e7259e51
> To: sip:190.212.35.160:50273
> Call-ID: 1f9f65c1-0dccdef2-774a at 190.184.22.152
> CSeq: 1 OPTIONS
> Content-Length: 0
>
>
> #
> U +0.192726 190.212.35.160:50273 -> 190.184.22.152:5060
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 190.184.22.152:5060;branch=0
> From: sip:pinger at 190.184.22.152;tag=e7259e51
> To: sip:190.212.35.160:50273;tag=c2c330e1c7bae7ba
> Call-ID: 1f9f65c1-0dccdef2-774a at 190.184.22.152
> CSeq: 1 OPTIONS
> User-Agent: Grandstream GXP2000 1.1.6.16
> Contact: <sip:203 at 192.168.0.16:5060;transport=udp;user=phone>
> Allow:
> INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
> Supported: replaces, timer
> Content-Length: 0
>
>
> #
> U +1.807039 192.168.11.1:5060 -> 192.168.11.30:5060
> OPTIONS sip:192.168.11.30:5060 SIP/2.0
> Via: SIP/2.0/UDP 192.168.11.1:5060;branch=0
> From: sip:pinger at 190.184.22.152;tag=f7259e51
> To: sip:192.168.11.30:5060
> Call-ID: 1f9f65c1-1dccdef2-974a at 192.168.11.1
> CSeq: 1 OPTIONS
> Content-Length: 0
>
>
>
> regards
>
> rickygm
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list