[Freeswitch-users] stun not working in fs 1.0.4?

Vladimir Elizarov xengelpublicx at gmail.com
Mon Oct 5 05:43:26 PDT 2009


Hello.

I'm trying to configure stun in fs 1.0.4

vars.xml
<X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:example.com"/>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:example.com"/>

external.xml
    <param name="rtp-ip" value="$${local_ip_v4}"/>
    <param name="sip-ip" value="$${local_ip_v4}"/>
    <param name="ext-sip-ip" value="$${external_sip_ip}"/>
    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>

In this configuration, the address in ext_rtp_ip transmitted literally
(it is: "stun:stun.exmaple.com")

If you do not specify ext_rtp_ip stun then allegedly began to work. But
as in bug SFSIP-163
(http://jira.freeswitch.org/browse/SFSIP-163?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
) Via: IP is replaced, and SDP - no.

How do I fix this? Upgrade fs to trunk?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091005/efc0814b/attachment-0002.bin 


More information about the FreeSWITCH-users mailing list