[Freeswitch-users] Problems about STUN and one way audio

Anthony Minessale anthony.minessale at gmail.com
Thu Dec 26 20:56:57 MSK 2013


If the FS is on a public IP you don't need to configure any of those params
they are for dealing with FS itself behind nat.
Try running FS the default way and make all the changes on you client.
 Sometimes disabling all the NAT features on the client actual can make it
work better.



On Tue, Dec 24, 2013 at 7:59 PM, alex <xhyuer at gmail.com> wrote:

> Hi, all
>
>
>
> I have a server that has installed the FreeSwitch software, and the server
> has a public IP addr.
>
>
>
> My clients are android phones, the CSipSimple softphone runs on them.
>
>
>
> There are some issues when these phone call each other.
>
>
>
> When phone A calls phone B, only the phone B can listen the audio coming
> from phone A, but the phone A cannot. What’s more, the phone B always need
> some delays to listen the audio from phone A.
>
>
>
> Therefore, I guess I need set a STUN server to deal with the above
> problem. So I read related web pages, such as
> http://wiki.freeswitch.org/wiki/NAT_Traversal. But, How to configure the
> STUN server in FreeSwitch is ambiguous.
>
>
>
> Then, I tried to make some configurations as below:
>
>
>
> vars.xml.
>
> <X-PRE-PROCESS cmd="set" data="external_rtp_ip=a.b.c.d"/>
>
> <X-PRE-PROCESS cmd="set" data="external_sip_ip=a.b.c.d"/>
>
>
>
> internal.xml
>
>     <param name="ext-rtp-ip" value="$${ external_rtp_ip }"/>
>
> <param name="ext-sip-ip" value="$${ external_sip_ip }"/>
>
>
>
> external.xml
>
> <param name="manage-presence" value="true"/>
>
>     <param name="ext-rtp-ip" value="$${ external_rtp_ip }"/>
>
> <param name="ext-sip-ip" value="$${ external_sip_ip }"/>
>
>
>
> But, I didn’t find where could I set the port of STUN server. So I failed
> to launch the STUN server.
>
>
>
> Thus, Could you tell me How to solve the one-way audio problem, and How to
> configure the STUN server in FreeSwitch?
>
>
>
> Thanks and sorry if my English is poor.
>
>
>
> Best regards!
>
> _________________________________________________________________________
> 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
>
>


-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131226/7f29d693/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list