[Freeswitch-users] Need help in NAT traversal
Виталий Давудов
vitaliy.davudov at vts24.ru
Wed Oct 3 11:44:23 MSD 2012
Hi, Anton!
Thanks for your answer!
Problem was resolved on the far side. Freeswitch did not require more
adjustment.
01.10.2012 23:17, Anton Kvashenkin пишет:
> Which gateway do you use? You can try stun.sipnet.ru
> <http://stun.sipnet.ru>. Could you please paste sip-messages (use
> ngrep) from 3-way handshake, also sofia_contact */external_gateway
>
> 2012/10/1 Виталий Давудов <vitaliy.davudov at vts24.ru
> <mailto:vitaliy.davudov at vts24.ru>>
>
> Hi!
> I tried to establish connection between Freeswitch and external
> gateway which is located behind NAT.
>
> NAT-gateway is configured to do ip/port forwarding.
>
> RTP session can't be established. With tcpdump & wireshark that's
> what I saw:
>
> |Time | 91.211.XXX.XXX |
> 192.168.0.100 |
> | | | 77.246.XXX.XXX |
> |8,088 | INVITE SDP (g711A g711U CN)
> | |SIP From: "9260123069"
> <sip:9260123069 at 91.211.XXX.XXX To:<sip:4959899711 at 77.246.XXX.XXX:5065
> | |(5065) ------------------> (5065) | |
> |8,088 | INVITE SDP (g711A g711U CN)
> | |SIP From: "9260123069"
> <sip:9260123069 at 91.211.XXX.XXX To:<sip:4959899711 at 77.246.XXX.XXX:5065
> | |(5065) ------------------> (5065) | |
> |8,099 | 100 Trying| | |SIP Status
> | |(5065) <------------------ (5065) | |
> |8,116 | 200 Ok SDP (g711A) | |SIP Status
> | |(5065) <------------------ (5065) | |
> |8,117 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |8,117 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |8,199 | RTP (g711A) | |RTP Num
> packets:28 Duration:0.259s SSRC:0x76B458
> | |(16694) --------------------------------------> (49152) |
> |8,287 | RTP (g711A) | |RTP Num
> packets:860 Duration:17.181s SSRC:0xEAC34F46
> | |(16694) <------------------ (49152) | |
> |8,479 | RTP (g711A) | |RTP Num
> packets:1488 Duration:14.900s SSRC:0x76B458
> | |(16694) ------------------> (49152) | |
> |10,116 | 200 Ok SDP (g711A) | |SIP Status
> | |(5065) <------------------ (5065) | |
> |10,116 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |10,116 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |14,116 | 200 Ok SDP (g711A) | |SIP Status
> | |(5065) <------------------ (5065) | |
> |14,116 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |14,116 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |22,116 | 200 Ok SDP (g711A) | |SIP Status
> | |(5065) <------------------ (5065) | |
> |22,116 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |22,116 | ACK | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |23,420 | BYE | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |23,420 | BYE | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |24,421 | BYE | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
> |24,421 | BYE | | |SIP Request
> | |(5065) --------------------------------------> (5065) |
>
> Freeswitch answered to local ip-address of a gateway which used in
> sip "contact" header. Is it possible to say Freeswitch to use
> public ip-address which is in the field "from" instead?
>
> --
> Best regards,
> Vitaly.
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
С наилучшими пожеланиями,
Давудов Виталий Федорович
ООО "ВИП-ТЕЛЕКОМ-СЕРВИС"
(Группа компаний "ETERIA")
http://www.vts24.ru
Тел: (495) 989-47-00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/eb93926e/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list