[SR-Users] NAT Traversal issue

Raj Roy Ghandhi roy.gandhi at gmail.com
Tue Dec 4 12:58:20 CET 2012


Hi,
My Kamalio development version works very well with websocket and webrtc
clients.
But when I try to call the guy in remote area (he had connected to the same
server with 3G dongle) no voice and video.

Here is how I have set it up.
1. Kamailio 3.4 development version running on public IP
2. NAT Traversal is done with RTPProxy 1.2.


3. IP Phones work very well. (phones are behind NAT)
4. Web page with WebRTC works well in LAN behind the NAT

But I try to call a account which in logged into same Kamailio server we do
not hear voice nor media.

I have attached the sip capture into 2 files
1. LAN webrtc client->LAN client web page call
2. LAN webrtc client -> 3G Dongle webrtc client

Please help me out to figure this out.

Best Regards,
Roy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121204/19ca8786/attachment.htm>
-------------- next part --------------
interface: eth0 (50.62.131.0/255.255.255.0)
match: port=5060

T 50.62.131.23:8080 -> 103.247.48.130:55161 [AP]
.~..ACK sip:1004 at 103.247.48.130:55161;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bK360e.00026edd70b96704cb81c80a68974567.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bK360e.f4821c8cbfe17519eab77c646bac3b28.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bKOabKiBFSHWoaW3Tlfxnl;rport=10921.
From: <sip:1005 at 50.62.131.23>;tag=HR3zr1RB3pFAyiCMroCb.
To: <sip:1004 at 50.62.131.23>;tag=vAEr1XA08CEPeSeQyNZP.
Contact: "allan"<sip:1005 at 112.135.253.137:10921;transport=ws;alias=112.135.253.137~10921~5>;+sip.ice.
Call-ID: b92e2549-e075-c2dc-4cd7-15d0453dbead.
CSeq: 50914 ACK.
Content-Length: 0.
Max-Forwards: 68.
Proxy-Authorization: Digest username="1005",realm="50.62.131.23",nonce="UL1/4FC9frSo6PhNP9NrXpGTvo6il6fD",uri="sip:1004 at 103.247.48.130:55161;transport=ws;alias=103.247.48.130~55161~5",response="7a17d49ef95a2032bb9d95c5fb8fd959",algorithm=MD5.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.


T 50.62.131.23:8080 -> 103.247.48.130:55161 [A]
.~..INVITE sip:1004 at 103.247.48.130:55161;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bK460e.875dc75862ecb1152fcf8b8a1688bb1f.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bK460e.d4b479eb2a5d0080a4b667a62e5b6e11.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bKgLHVpHaMKJtI3PIB7P3dKET9rAMz88p7;rport=10921.
From: <sip:1005 at 50.62.131.23>;tag=HR3zr1RB3pFAyiCMroCb.
To: <sip:1004 at 50.62.131.23>;tag=vAEr1XA08CEPeSeQyNZP.
Contact: "allan"<sip:1005 at 112.135.253.137:10921;transport=ws;alias=112.135.253.137~10921~5>;+sip.ice.
Call-ID: b92e2549-e075-c2dc-4cd7-15d0453dbead.
CSeq: 50915 INVITE.
Content-Type: application/sdp.
Content-Length: 2009.
Max-Forwards: 68.
Proxy-Authorization: Digest username="1005",realm="50.62.131.23",nonce="UL1/4FC9frSo6PhNP9NrXpGTvo6il6fD",uri="sip:1004 at 103.247.48.130:55161;transport=ws;alias=103.247.48.130~55161~5",response="83a36fa696550fdbbab901764d50b810",algorithm=MD5.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.
v=0.
o=- 1778509583 3 IN IP4 50.62.131.23.
s=webrtc (chrome 22.0.1189.0) - Doubango Telecom (sipML5 r000).
t=0 0.
a=group:BUNDLE audio video.
m=audio 60846 RTP/SAVPF 103 104 0 8 106 105 13 126.
c=IN IP4 50.62.131.23.
a=rtcp:60847.
a=candidate:2205430794 1 udp 2113937151 192.168.1.25 53592 typ host generation 0.
a=candidate:2205430794 2 udp 2113937151 192.168.1.25 53592 typ host generation 0.
a=candidate:

T 50.62.131.23:8080 -> 103.247.48.130:55161 [AP]
.~..ACK sip:1004 at 103.247.48.130:55161;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bK360e.bf139f85992792dc89d292461931f9c0.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bK360e.9cd3a5cf9d235604940851528556017d.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bKh023sH2ZTwcU44wzK5JP;rport=10921.
From: <sip:1005 at 50.62.131.23>;tag=HR3zr1RB3pFAyiCMroCb.
To: <sip:1004 at 50.62.131.23>;tag=vAEr1XA08CEPeSeQyNZP.
Contact: "allan"<sip:1005 at 112.135.253.137:10921;transport=ws;alias=112.135.253.137~10921~5>;+sip.ice.
Call-ID: b92e2549-e075-c2dc-4cd7-15d0453dbead.
CSeq: 50914 ACK.
Content-Length: 0.
Max-Forwards: 68.
Proxy-Authorization: Digest username="1005",realm="50.62.131.23",nonce="UL1/4FC9frSo6PhNP9NrXpGTvo6il6fD",uri="sip:1004 at 103.247.48.130:55161;transport=ws;alias=103.247.48.130~55161~5",response="7a17d49ef95a2032bb9d95c5fb8fd959",algorithm=MD5.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.


T 50.62.131.23:8080 -> 112.135.253.137:10921 [AP]
.~..BYE sip:1005 at 112.135.253.137:10921;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bKcde9.dc2be89cbace6ff6bbc29682239b388a.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bKcde9.586031647d4f56fb6d9645073c0599ff.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=103.247.48.130;branch=z9hG4bKZ1gAmd5aaMk8RXx9tpznbqMiTdT8mmJs;rport=55161.
From: <sip:1004 at 50.62.131.23>;tag=vAEr1XA08CEPeSeQyNZP.
To: <sip:1005 at 50.62.131.23>;tag=HR3zr1RB3pFAyiCMroCb.
Call-ID: b92e2549-e075-c2dc-4cd7-15d0453dbead.
CSeq: 34113 BYE.
Content-Length: 0.
Max-Forwards: 68.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.

-------------- next part --------------
interface: eth0 (50.62.131.0/255.255.255.0)
match: port=5060

T 50.62.131.23:8080 -> 112.135.253.137:11065 [AP]
.~..ACK sip:1004 at 112.135.253.137:11065;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bKe596.d66cc1cbc145d625f4570316e872ba40.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bKe596.ef919616943a14b0a58e4baa596e7339.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bKxtAlRqoC2eHQ5vWNi5Nv;rport=11073.
From: <sip:1005 at 50.62.131.23>;tag=7BpJ99OFDT9SxetgLX7s.
To: <sip:1004 at 50.62.131.23>;tag=T0H7bGSNdaxeUkDdQ5nE.
Contact: "allan"<sip:1005 at 112.135.253.137:11073;transport=ws;alias=112.135.253.137~11073~5>;+sip.ice.
Call-ID: 8f74b5e9-2d4b-aaab-517a-79e4b8536910.
CSeq: 63905 ACK.
Content-Length: 0.
Max-Forwards: 68.
Proxy-Authorization: Digest username="1005",realm="50.62.131.23",nonce="UL2A+lC9f86G2krlTFjm46+Y+hdfR/yu",uri="sip:1004 at 112.135.253.137:11065;transport=ws;alias=112.135.253.137~11065~5",response="dc18ce8e9196bcc0a632c5415fc747b8",algorithm=MD5.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.


T 50.62.131.23:8080 -> 112.135.253.137:11065 [A]
.~..INVITE sip:1004 at 112.135.253.137:11065;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bKb596.f435750d9c21bbac4324333a538490ce.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bKb596.a4910b2278a29569ca6aa07916b79bdb.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bK1op9CrXU0OsNGnRWuz6gK4aOsnTuxpWG;rport=11073.
From: <sip:1005 at 50.62.131.23>;tag=7BpJ99OFDT9SxetgLX7s.
To: <sip:1004 at 50.62.131.23>;tag=T0H7bGSNdaxeUkDdQ5nE.
Contact: "allan"<sip:1005 at 112.135.253.137:11073;transport=ws;alias=112.135.253.137~11073~5>;+sip.ice.
Call-ID: 8f74b5e9-2d4b-aaab-517a-79e4b8536910.
CSeq: 63906 INVITE.
Content-Type: application/sdp.
Content-Length: 2012.
Max-Forwards: 68.
Proxy-Authorization: Digest username="1005",realm="50.62.131.23",nonce="UL2A+lC9f86G2krlTFjm46+Y+hdfR/yu",uri="sip:1004 at 112.135.253.137:11065;transport=ws;alias=112.135.253.137~11065~5",response="d34aeec66505df25940b198054f3159d",algorithm=MD5.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.
v=0.
o=- 1889796088 3 IN IP4 50.62.131.23.
s=webrtc (chrome 22.0.1189.0) - Doubango Telecom (sipML5 r000).
t=0 0.
a=group:BUNDLE audio video.
m=audio 62386 RTP/SAVPF 103 104 0 8 106 105 13 126.
c=IN IP4 50.62.131.23.
a=rtcp:62387.
a=candidate:2205430794 1 udp 2113937151 192.168.1.25 60501 typ host generation 0.
a=candidate:2205430794 2 udp 2113937151 192.168.1.25 60501 typ host gener

T 50.62.131.23:8080 -> 112.135.253.137:11065 [AP]
.~..ACK sip:1004 at 112.135.253.137:11065;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bKe596.a0a2abdb496abf99de31a386256f31f4.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bKe596.c97fceddc814208ce6ac0243887dee05.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bKPGMuUzOIci4GriGCJaTT;rport=11073.
From: <sip:1005 at 50.62.131.23>;tag=7BpJ99OFDT9SxetgLX7s.
To: <sip:1004 at 50.62.131.23>;tag=T0H7bGSNdaxeUkDdQ5nE.
Contact: "allan"<sip:1005 at 112.135.253.137:11073;transport=ws;alias=112.135.253.137~11073~5>;+sip.ice.
Call-ID: 8f74b5e9-2d4b-aaab-517a-79e4b8536910.
CSeq: 63905 ACK.
Content-Length: 0.
Max-Forwards: 68.
Proxy-Authorization: Digest username="1005",realm="50.62.131.23",nonce="UL2A+lC9f86G2krlTFjm46+Y+hdfR/yu",uri="sip:1004 at 112.135.253.137:11065;transport=ws;alias=112.135.253.137~11065~5",response="dc18ce8e9196bcc0a632c5415fc747b8",algorithm=MD5.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.


T 50.62.131.23:8080 -> 112.135.253.137:11073 [AP]
.~..BYE sip:1005 at 112.135.253.137:11073;transport=ws SIP/2.0.
Via: SIP/2.0/WS  50.62.131.23;branch=z9hG4bKeb92.bac2bea07e53a6a0a30bc9b64f9ce7e4.0.
Via: SIP/2.0/UDP 50.62.131.23;rport=5060;branch=z9hG4bKeb92.b8396be65ac639d35bdabfcc3bca5bbd.0.
Via: SIP/2.0/WS df7jal23ls0d.invalid;received=112.135.253.137;branch=z9hG4bKzbBukbhygTod20Z9hLXKfIThmFKxBuev;rport=11065.
From: <sip:1004 at 50.62.131.23>;tag=T0H7bGSNdaxeUkDdQ5nE.
To: <sip:1005 at 50.62.131.23>;tag=7BpJ99OFDT9SxetgLX7s.
Call-ID: 8f74b5e9-2d4b-aaab-517a-79e4b8536910.
CSeq: 25415 BYE.
Content-Length: 0.
Max-Forwards: 68.
User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/.
Organization: Stellooo Telecom.
.



More information about the sr-users mailing list