[Freeswitch-users] IP infomation in SDP

pratham2013 manish.khilwani at gmail.com
Wed Apr 24 15:08:21 MSD 2013


Hello Jimmy,

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.

*Thanks
=====================
Manish Khilwani
Skype: manish_khilwani
Gmail: manish.khilwani at gmail.com
MSN : manish.khilwani at hotmail.com
Phone : 919099923079*


On Wed, Apr 24, 2013 at 4:29 PM, Jimmy Chang [via freeswitch-users] <
ml-node+s2379917n7590069h81 at n2.nabble.com> wrote:

> Hi,
>
> In the default configuration, the internal profile listen port 5060 and
> external profile listen port 5080.
> And follow the setting in http://wiki.freeswitch.org/wiki/NAT_Traversal
> vars.xml
> <X-PRE-PROCESS cmd="set" data="bind_server_ip=59.120.xx.xx"/>
> <X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:stun.freeswitch.org"/>
> <X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
>
> internal.xml
> <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>
> external.xml
> <param name="ext-sip-ip" value="$${external_sip_ip}"/>
> <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>
>
> When user make a SIP call from public network using external
> profile(5080), he encountered no audio.
> Here is the SDP of 200 OK from FS to user.
> *v=0**
> **o=FreeSWITCH 1366781127 1366781128 IN IP4 10.0.110.33**
> **s=FreeSWITCH**
> **c=IN IP4 10.0.110.33**
> **t=0 0**
> **m=audio 10568 RTP/AVP 18 101**
> **a=rtpmap:18 G729/8000**
> **a=fmtp:18 annexb=no**
> **a=rtpmap:101 telephone-event/8000**
> **a=fmtp:101 0-16**
> **a=silenceSupp:off - - - -**
> **a=ptime:20**
> **m=video 10530 RTP/AVP 116**
> **a=rtpmap:116 H264/90000**
> **a=fmtp:116 profile-level-id=428014*
>
>
> When user make a SIP call from public network using internal
> profile(5060), everything OK.
> Here is the SDP of 200 OK from FS to user.
> *v=0**
> **o=FreeSWITCH 1366780920 1366780921 IN IP4 **59.120.xx.xx**
> **s=FreeSWITCH**
> **c=IN IP4 **59.120.xx.xx**
> **t=0 0**
> **m=audio 10892 RTP/AVP 18 101**
> **a=rtpmap:18 G729/8000**
> **a=fmtp:18 annexb=no**
> **a=rtpmap:101 telephone-event/8000**
> **a=fmtp:101 0-16**
> **a=silenceSupp:off - - - -**
> **a=ptime:20**
> **m=video 10178 RTP/AVP 116**
> **a=rtpmap:116 H264/90000**
> **a=fmtp:116 profile-level-id=428014**
> *
>
> I can't figure out which parameters in sofia profile or in dialplan make
> port 5060 set the public IP in SDP and work fine.
> Any advice?
>
> Thanks in advance.
> Jimmy
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> [hidden email] <http://user/SendEmail.jtp?type=node&node=7590069&i=0>
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=7590069&i=1>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069.html
>  To unsubscribe from freeswitch-users, click here<http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2379917&code=bWFuaXNoLmtoaWx3YW5pQGdtYWlsLmNvbXwyMzc5OTE3fC0zNzM4NzI2OA==>
> .
> NAML<http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069p7590072.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130424/38a9e973/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list