<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, Anton!<br>
    <br>
    Thanks for your answer! <br>
    <br>
    Problem was resolved <span id="result_box" class="short_text"
      lang="en"><span class="hps">on the far side</span></span>. <span
      id="result_box" class="short_text" lang="en"><span class="hps">Freeswitch</span>
      <span class="hps">did not require</span> <span class="hps">more
        adjustment.<br>
        <br>
      </span></span><br>
    <div class="moz-cite-prefix">01.10.2012 23:17, Anton Kvashenkin
      пишет:<br>
    </div>
    <blockquote
cite="mid:CANBhyPBdB-=ix5B8hw8MrzhqmW-TgvvoRksb=8VBEtzq9PE-Jg@mail.gmail.com"
      type="cite">Which gateway do you use? You can try <a
        moz-do-not-send="true" 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">&lt;<a
            moz-do-not-send="true"
            href="mailto:vitaliy.davudov@vts24.ru" target="_blank">vitaliy.davudov@vts24.ru</a>&gt;</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 &amp;
            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" &lt;<a
                moz-do-not-send="true">sip:9260123069@91.211.XXX.XXX</a>
              To:&lt;<a moz-do-not-send="true">sip:4959899711@77.246.XXX.XXX:5065</a><br>
              |         |(5065)   ------------------&gt;  (5065)  
              |                   |<br>
              |8,088    |         INVITE SDP (g711A g711U CN)         
              |                   |SIP From: "9260123069" &lt;<a
                moz-do-not-send="true">sip:9260123069@91.211.XXX.XXX</a>
              To:&lt;<a moz-do-not-send="true">sip:4959899711@77.246.XXX.XXX:5065</a><br>
              |         |(5065)   ------------------&gt;  (5065)  
              |                   |<br>
              |8,099    |         100 Trying|                  
              |                   |SIP Status<br>
              |         |(5065)   &lt;------------------  (5065)  
              |                   |<br>
              |8,116    |         200 Ok SDP (g711A)           
              |                   |SIP Status<br>
              |         |(5065)   &lt;------------------  (5065)  
              |                   |<br>
              |8,117    |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |8,117    |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |8,199    |         RTP (g711A)                  
              |                   |RTP Num packets:28  Duration:0.259s
              SSRC:0x76B458<br>
              |         |(16694) 
              --------------------------------------&gt;  (49152)  |<br>
              |8,287    |         RTP (g711A)                  
              |                   |RTP Num packets:860  Duration:17.181s
              SSRC:0xEAC34F46<br>
              |         |(16694)  &lt;------------------  (49152) 
              |                   |<br>
              |8,479    |         RTP (g711A)                  
              |                   |RTP Num packets:1488 
              Duration:14.900s SSRC:0x76B458<br>
              |         |(16694)  ------------------&gt;  (49152) 
              |                   |<br>
              |10,116   |         200 Ok SDP (g711A)           
              |                   |SIP Status<br>
              |         |(5065)   &lt;------------------  (5065)  
              |                   |<br>
              |10,116   |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |10,116   |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |14,116   |         200 Ok SDP (g711A)           
              |                   |SIP Status<br>
              |         |(5065)   &lt;------------------  (5065)  
              |                   |<br>
              |14,116   |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |14,116   |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |22,116   |         200 Ok SDP (g711A)           
              |                   |SIP Status<br>
              |         |(5065)   &lt;------------------  (5065)  
              |                   |<br>
              |22,116   |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |22,116   |         ACK       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |23,420   |         BYE       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |23,420   |         BYE       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |24,421   |         BYE       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (5065)   |<br>
              |24,421   |         BYE       |                  
              |                   |SIP Request<br>
              |         |(5065)  
              --------------------------------------&gt;  (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 moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
          <a moz-do-not-send="true" href="http://www.cudatel.com"
            target="_blank">http://www.cudatel.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
            target="_blank">http://wiki.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://www.cluecon.com"
            target="_blank">http://www.cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
С наилучшими пожеланиями,
Давудов Виталий Федорович
ООО "ВИП-ТЕЛЕКОМ-СЕРВИС"
(Группа компаний "ETERIA")
<a class="moz-txt-link-freetext" href="http://www.vts24.ru">http://www.vts24.ru</a>
Тел: (495) 989-47-00</pre>
  </body>
</html>