<div dir="ltr"><div>Hello Jimmy,<br><br></div>Put the bind-server-ip to auto and set your public ip to ext-rtp-ip and ext-sip-ip in vars.xml file. Hope it will work.</div><div class="gmail_extra"><br clear="all"><div><b>Thanks<br>


=====================<br>
Manish Khilwani<br>
Skype: manish_khilwani<br>
Gmail: <a href="/user/SendEmail.jtp?type=node&node=7590072&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><br>
MSN : <a href="/user/SendEmail.jtp?type=node&node=7590072&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>
Phone : 919099923079</b><br></div>
<br><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 4:29 PM, Jimmy Chang [via freeswitch-users] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=7590072&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>

<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">

        
  

    
  
  
    Hi,<br>
    <br>
    In the default configuration, the internal profile listen port 5060
    and external profile listen port 5080.<br>
    And follow the setting in
    <a href="http://wiki.freeswitch.org/wiki/NAT_Traversal" rel="nofollow" link="external" target="_blank">http://wiki.freeswitch.org/wiki/NAT_Traversal</a><br>
    vars.xml<br>
    &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;bind_server_ip=59.120.xx.xx&quot;/&gt;<br>
    &lt;X-PRE-PROCESS cmd=&quot;set&quot;
    data=&quot;external_sip_ip=stun:<a href="http://stun.freeswitch.org" target="_blank" rel="nofollow" link="external">stun.freeswitch.org</a>&quot;/&gt;<br>
    &lt;X-PRE-PROCESS cmd=&quot;set&quot;
    data=&quot;external_rtp_ip=stun:<a href="http://stun.freeswitch.org" target="_blank" rel="nofollow" link="external">stun.freeswitch.org</a>&quot;/&gt;<br>
    <br>
    internal.xml<br>
    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;<br>
    <br>
    external.xml<br>
    &lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip}&quot;/&gt;<br>
    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;<br>
    <br>
    <br>
    When user make a SIP call from public network using external
    profile(5080), he encountered no audio.<br>
    Here is the SDP of 200 OK from FS to user.<br>
    <i>v=0</i><i><br>
    </i><i>o=FreeSWITCH 1366781127 1366781128 IN IP4 10.0.110.33</i><i><br>
    </i><i>s=FreeSWITCH</i><i><br>
    </i><i>c=IN IP4 10.0.110.33</i><i><br>
    </i><i>t=0 0</i><i><br>
    </i><i>m=audio 10568 RTP/AVP 18 101</i><i><br>
    </i><i>a=rtpmap:18 G729/8000</i><i><br>
    </i><i>a=fmtp:18 annexb=no</i><i><br>
    </i><i>a=rtpmap:101 telephone-event/8000</i><i><br>
    </i><i>a=fmtp:101 0-16</i><i><br>
    </i><i>a=silenceSupp:off - - - -</i><i><br>
    </i><i>a=ptime:20</i><i><br>
    </i><i>m=video 10530 RTP/AVP 116</i><i><br>
    </i><i>a=rtpmap:116 H264/90000</i><i><br>
    </i><i>a=fmtp:116 profile-level-id=428014</i><br>
    <br>
    <br>
    When user make a SIP call from public network using internal
    profile(5060), everything OK.<br>
    Here is the SDP of 200 OK from FS to user.<br>
    <i>v=0</i><i><br>
    </i><i>o=FreeSWITCH 1366780920 1366780921 IN IP4 </i><i>59.120.xx.xx</i><i><br>
    </i><i>s=FreeSWITCH</i><i><br>
    </i><i>c=IN IP4 </i><i>59.120.xx.xx</i><i><br>
    </i><i>t=0 0</i><i><br>
    </i><i>m=audio 10892 RTP/AVP 18 101</i><i><br>
    </i><i>a=rtpmap:18 G729/8000</i><i><br>
    </i><i>a=fmtp:18 annexb=no</i><i><br>
    </i><i>a=rtpmap:101 telephone-event/8000</i><i><br>
    </i><i>a=fmtp:101 0-16</i><i><br>
    </i><i>a=silenceSupp:off - - - -</i><i><br>
    </i><i>a=ptime:20</i><i><br>
    </i><i>m=video 10178 RTP/AVP 116</i><i><br>
    </i><i>a=rtpmap:116 H264/90000</i><i><br>
    </i><i>a=fmtp:116 profile-level-id=428014</i><i><br>
    </i><br>
    <br>
    I can&#39;t figure out which parameters in sofia profile or in dialplan
    make port 5060 set the public IP in SDP and work fine.<br>
    Any advice?<br>
    <br>
    Thanks in advance.<br>
    Jimmy<br>
    <br>
  

<br></div></div>_________________________________________________________________________
<br>Professional FreeSWITCH Consulting Services:
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=7590069&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://www.freeswitchsolutions.com" rel="nofollow" link="external" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<br><a href="http://www.cudatel.com" rel="nofollow" link="external" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites
<br><a href="http://www.freeswitch.org" rel="nofollow" link="external" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" rel="nofollow" link="external" target="_blank">http://wiki.freeswitch.org</a><br>

<a href="http://www.cluecon.com" rel="nofollow" link="external" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=7590069&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" link="external" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" link="external" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org" rel="nofollow" link="external" target="_blank">http://www.freeswitch.org</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069.html" target="_blank" rel="nofollow" link="external">http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from freeswitch-users, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>


                <a href="http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069p7590072.html">Re: IP infomation in SDP</a><br/>
Sent from the <a href="http://freeswitch-users.2379917.n2.nabble.com/">freeswitch-users mailing list archive</a> at Nabble.com.<br/>