2007-12-11 20:30:26 +00:00
|
|
|
<!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
|
2008-05-08 14:42:20 +00:00
|
|
|
<profile name="external">
|
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>
|
|
|
|
<alias name="outbound"/>
|
2008-08-28 18:25:48 +00:00
|
|
|
<alias name="nat"/> <!-- for backwards compatibility -->
|
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"/>
|
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"/>
|
|
|
|
<param name="sip-port" value="5080"/>
|
|
|
|
<param name="dialplan" value="XML"/>
|
|
|
|
<param name="context" value="public"/>
|
|
|
|
<param name="dtmf-duration" value="100"/>
|
2008-01-31 03:44:24 +00:00
|
|
|
<param name="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="use-rtp-timer" value="true"/>
|
|
|
|
<param name="rtp-timer-name" value="soft"/>
|
2008-09-18 00:11:01 +00:00
|
|
|
<!-- This could be set to "passive" -->
|
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-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"/>
|
2007-12-15 21:38:11 +00:00
|
|
|
<param name="rtp-timeout-sec" value="1800"/>
|
2007-12-10 17:11:31 +00:00
|
|
|
<param name="rtp-ip" value="$${local_ip_v4}"/>
|
|
|
|
<param name="sip-ip" value="$${local_ip_v4}"/>
|
|
|
|
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
|
|
|
|
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
|
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 -->
|
|
|
|
<param name="tls" value="false"/>
|
|
|
|
<!-- additional bind parameters for TLS -->
|
|
|
|
<param name="tls-bind-params" value="transport=tls"/>
|
|
|
|
<!-- Port to listen on for TLS requests. (5061 will be used if unspecified) -->
|
|
|
|
<param name="tls-sip-port" value="5081"/>
|
|
|
|
<!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) -->
|
|
|
|
<param name="tls-cert-dir" value="$${base_dir}/conf/ssl"/>
|
|
|
|
<!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
|
|
|
|
<param name="tls-version" value="tlsv1"/>
|
|
|
|
|
2007-12-10 17:11:31 +00:00
|
|
|
</settings>
|
|
|
|
</profile>
|