[Freeswitch-users] Question about ext-rtp-ip and ext-sip-ip
Bryan Lemon
bryan at bryanlemon.com
Thu Aug 18 07:08:41 MSD 2011
I tried it, and it still does not work.
Relevant details:
freeswitch at MEDIAPC> sofia status profile external
=================================================================================================
Name external
Domain Name N/A
Auto-NAT true
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 10.0.10.144
Ext-RTP-IP 204.111.*.*
SIP-IP 10.0.10.144
Ext-SIP-IP 204.111.*.*
URL sip:mod_sofia at 10.0.10.144:5080
BIND-URL sip:mod_sofia at 10.0.10.144:5080
HOLD-MUSIC local_stream://moh
external.xml
<profile name="external">
<gateways>
<X-PRE-PROCESS cmd="include" data="external/*.xml"/>
</gateways>
<aliases>
<!--
<alias name="outbound"/>
<alias name="nat"/>
-->
</aliases>
<domains>
<domain name="all" alias="false" parse="true"/>
</domains>
<settings>
<param name="debug" value="0"/>
<param name="sip-trace" value="no"/>
<param name="rfc2833-pt" value="101"/>
<param name="sip-port" value="$${external_sip_port}"/>
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
<param name="dtmf-duration" value="2000"/>
<param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/>
<param name="hold-music" value="$${hold_music}"/>
<param name="rtp-timer-name" value="soft"/>
<param name="local-network-acl" value="localnet.auto"/>
<param name="manage-presence" value="false"/>
<!--<param name="aggressive-nat-detection" value="true"/>-->
<param name="inbound-codec-negotiation" value="generous"/>
<param name="nonce-ttl" value="60"/>
<param name="auth-calls" value="false"/>
<param name="rtp-ip" value="$${local_ip_v4}"/>
<param name="sip-ip" value="$${local_ip_v4}"/>
<param name="ext-rtp-ip" value="autonat:204.111.187.118"/>
<param name="ext-sip-ip" value="autonat:204.111.187.118"/>
<param name="rtp-timeout-sec" value="300"/>
<param name="rtp-hold-timeout-sec" value="1800"/>
<param name="tls" value="$${external_ssl_enable}"/>
<param name="tls-bind-params" value="transport=tls"/>
<param name="tls-sip-port" value="$${external_tls_port}"/>
<param name="tls-cert-dir" value="$${external_ssl_dir}"/>
<param name="tls-version" value="$${sip_tls_version}"/>
</settings>
</profile>
Thank you,
Bryan Lemon
(302) 648-2747
On Wed, Aug 17, 2011 at 12:55, Brian West <brian at freeswitch.org> wrote:
> You need to change these to be "autonat:x.x.x.x" and specify the IP to
> use.
>
> /b
>
> On Aug 17, 2011, at 10:10 AM, Bryan Lemon wrote:
>
> > <param name="ext-rtp-ip" value="auto-nat"/>
> > <param name="ext-sip-ip" value="auto-nat"/>
>
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110817/da0f0766/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list