Which gateway do you use? You can try <a href="http://stun.sipnet.ru">stun.sipnet.ru</a>. Could you please paste sip-messages (use ngrep) from 3-way handshake, also sofia_contact */external_gateway<br><br><div class="gmail_quote">
2012/10/1 χΙΤΑΜΙΚ δΑΧΥΔΟΧ <span dir="ltr"><<a href="mailto:vitaliy.davudov@vts24.ru" target="_blank">vitaliy.davudov@vts24.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi!<br>
I tried to establish connection between Freeswitch and external
gateway which is located behind NAT.<br>
<br>
NAT-gateway is configured to do ip/port forwarding.<br>
<br>
RTP session can't be established. With tcpdump & wireshark <span lang="en"><span>that's
what I</span> <span>saw</span></span>:<br>
<br>
<small>|Time | 91.211.XXX.XXX |
192.168.0.100 |<br>
| | | 77.246.XXX.XXX
| <br>
|8,088 | INVITE SDP (g711A g711U CN)
| |SIP From: "9260123069"
<<a>sip:9260123069@91.211.XXX.XXX</a>
To:<<a>sip:4959899711@77.246.XXX.XXX:5065</a><br>
| |(5065) ------------------> (5065)
| |<br>
|8,088 | INVITE SDP (g711A g711U CN)
| |SIP From: "9260123069"
<<a>sip:9260123069@91.211.XXX.XXX</a>
To:<<a>sip:4959899711@77.246.XXX.XXX:5065</a><br>
| |(5065) ------------------> (5065)
| |<br>
|8,099 | 100 Trying|
| |SIP Status<br>
| |(5065) <------------------ (5065)
| |<br>
|8,116 | 200 Ok SDP (g711A)
| |SIP Status<br>
| |(5065) <------------------ (5065)
| |<br>
|8,117 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|8,117 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|8,199 | RTP (g711A)
| |RTP Num packets:28 Duration:0.259s
SSRC:0x76B458<br>
| |(16694) -------------------------------------->
(49152) |<br>
|8,287 | RTP (g711A)
| |RTP Num packets:860 Duration:17.181s
SSRC:0xEAC34F46<br>
| |(16694) <------------------ (49152)
| |<br>
|8,479 | RTP (g711A)
| |RTP Num packets:1488 Duration:14.900s
SSRC:0x76B458<br>
| |(16694) ------------------> (49152)
| |<br>
|10,116 | 200 Ok SDP (g711A)
| |SIP Status<br>
| |(5065) <------------------ (5065)
| |<br>
|10,116 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|10,116 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|14,116 | 200 Ok SDP (g711A)
| |SIP Status<br>
| |(5065) <------------------ (5065)
| |<br>
|14,116 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|14,116 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|22,116 | 200 Ok SDP (g711A)
| |SIP Status<br>
| |(5065) <------------------ (5065)
| |<br>
|22,116 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|22,116 | ACK |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|23,420 | BYE |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|23,420 | BYE |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|24,421 | BYE |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
|24,421 | BYE |
| |SIP Request<br>
| |(5065) -------------------------------------->
(5065) |<br>
</small><br>
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?<span class="HOEnZb"><font color="#888888"><br>
<pre cols="72">--
Best regards,
Vitaly.
</pre>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>