2008-05-08 14:42:20 +00:00
|
|
|
<profile name="external">
|
2009-05-05 15:51:30 +00:00
|
|
|
<!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
|
2007-12-10 17:11:31 +00:00
|
|
|
<!-- This profile is only for outbound registrations to providers -->
|
|
|
|
<gateways>
|
2008-05-08 21:32:19 +00:00
|
|
|
<X-PRE-PROCESS cmd="include" data="external/*.xml"/>
|
2007-12-10 17:11:31 +00:00
|
|
|
</gateways>
|
|
|
|
|
2008-05-08 14:40:34 +00:00
|
|
|
<aliases>
|
2009-06-04 21:39:49 +00:00
|
|
|
<!--
|
2008-05-08 14:40:34 +00:00
|
|
|
<alias name="outbound"/>
|
2009-06-04 21:39:49 +00:00
|
|
|
<alias name="nat"/>
|
|
|
|
-->
|
2008-05-08 14:40:34 +00:00
|
|
|
</aliases>
|
|
|
|
|
2007-12-10 17:11:31 +00:00
|
|
|
<domains>
|
2008-09-29 00:49:34 +00:00
|
|
|
<domain name="all" alias="false" parse="true"/>
|
2007-12-10 17:11:31 +00:00
|
|
|
</domains>
|
|
|
|
|
|
|
|
<settings>
|
2007-12-11 20:58:39 +00:00
|
|
|
<param name="debug" value="0"/>
|
2009-12-09 14:42:30 +00:00
|
|
|
<!-- If you want FreeSWITCH to shutdown if this profile fails to load, uncomment the next line. -->
|
|
|
|
<!-- <param name="shutdown-on-fail" value="true"/> -->
|
2007-12-13 04:37:25 +00:00
|
|
|
<param name="sip-trace" value="no"/>
|
2007-12-10 17:11:31 +00:00
|
|
|
<param name="rfc2833-pt" value="101"/>
|
2008-10-09 16:19:37 +00:00
|
|
|
<param name="sip-port" value="$${external_sip_port}"/>
|
2007-12-10 17:11:31 +00:00
|
|
|
<param name="dialplan" value="XML"/>
|
|
|
|
<param name="context" value="public"/>
|
2010-03-03 22:12:35 +00:00
|
|
|
<param name="dtmf-duration" value="2000"/>
|
2009-11-24 18:52:57 +00:00
|
|
|
<param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
|
|
|
|
<param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/>
|
2008-04-22 14:19:47 +00:00
|
|
|
<param name="hold-music" value="$${hold_music}"/>
|
2007-12-10 17:11:31 +00:00
|
|
|
<param name="rtp-timer-name" value="soft"/>
|
2008-11-12 13:03:08 +00:00
|
|
|
<!--<param name="enable-100rel" value="true"/>-->
|
2008-09-18 00:11:01 +00:00
|
|
|
<!-- This could be set to "passive" -->
|
2009-06-04 21:39:49 +00:00
|
|
|
<param name="local-network-acl" value="localnet.auto"/>
|
2007-12-30 23:18:56 +00:00
|
|
|
<param name="manage-presence" value="false"/>
|
2008-09-18 00:11:01 +00:00
|
|
|
|
|
|
|
<!-- used to share presence info across sofia profiles
|
|
|
|
manage-presence needs to be set to passive on this profile
|
|
|
|
if you want it to behave as if it were the internal profile
|
|
|
|
for presence.
|
|
|
|
-->
|
|
|
|
<!-- Name of the db to use for this profile -->
|
|
|
|
<!--<param name="dbname" value="share_presence"/>-->
|
|
|
|
<!--<param name="presence-hosts" value="$${domain}"/>-->
|
|
|
|
<!--<param name="force-register-domain" value="$${domain}"/>-->
|
2008-12-01 19:52:22 +00:00
|
|
|
<!--all inbound reg will stored in the db using this domain -->
|
|
|
|
<!--<param name="force-register-db-domain" value="$${domain}"/>-->
|
2008-09-18 00:11:01 +00:00
|
|
|
<!-- ************************************************* -->
|
|
|
|
|
2008-09-05 18:35:40 +00:00
|
|
|
<!--<param name="aggressive-nat-detection" value="true"/>-->
|
2007-12-10 17:11:31 +00:00
|
|
|
<param name="inbound-codec-negotiation" value="generous"/>
|
|
|
|
<param name="nonce-ttl" value="60"/>
|
|
|
|
<param name="auth-calls" value="false"/>
|
2008-10-03 18:30:04 +00:00
|
|
|
<!--
|
2008-10-03 18:31:44 +00:00
|
|
|
DO NOT USE HOSTNAMES, ONLY IP ADDRESSES IN THESE SETTINGS!
|
2008-10-03 18:30:04 +00:00
|
|
|
-->
|
2007-12-10 17:11:31 +00:00
|
|
|
<param name="rtp-ip" value="$${local_ip_v4}"/>
|
|
|
|
<param name="sip-ip" value="$${local_ip_v4}"/>
|
2009-06-04 21:39:49 +00:00
|
|
|
<param name="ext-rtp-ip" value="auto-nat"/>
|
|
|
|
<param name="ext-sip-ip" value="auto-nat"/>
|
2008-02-02 21:43:23 +00:00
|
|
|
<param name="rtp-timeout-sec" value="300"/>
|
|
|
|
<param name="rtp-hold-timeout-sec" value="1800"/>
|
2008-05-29 20:02:06 +00:00
|
|
|
<!--<param name="enable-3pcc" value="true"/>-->
|
2008-08-30 18:25:53 +00:00
|
|
|
|
|
|
|
<!-- TLS: disabled by default, set to "true" to enable -->
|
2008-10-09 01:13:40 +00:00
|
|
|
<param name="tls" value="$${external_ssl_enable}"/>
|
2008-08-30 18:25:53 +00:00
|
|
|
<!-- additional bind parameters for TLS -->
|
|
|
|
<param name="tls-bind-params" value="transport=tls"/>
|
2008-10-09 16:19:37 +00:00
|
|
|
<!-- Port to listen on for TLS requests. (5081 will be used if unspecified) -->
|
|
|
|
<param name="tls-sip-port" value="$${external_tls_port}"/>
|
2008-08-30 18:25:53 +00:00
|
|
|
<!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) -->
|
2008-10-09 01:13:40 +00:00
|
|
|
<param name="tls-cert-dir" value="$${external_ssl_dir}"/>
|
2008-08-30 18:25:53 +00:00
|
|
|
<!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
|
2008-10-09 01:13:40 +00:00
|
|
|
<param name="tls-version" value="$${sip_tls_version}"/>
|
2008-08-30 18:25:53 +00:00
|
|
|
|
2007-12-10 17:11:31 +00:00
|
|
|
</settings>
|
|
|
|
</profile>
|