2007-12-11 15:30:26 -05:00
|
|
|
<!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
|
2008-05-08 10:42:20 -04:00
|
|
|
<profile name="external">
|
2007-12-10 12:11:31 -05:00
|
|
|
<!-- This profile is only for outbound registrations to providers -->
|
|
|
|
<gateways>
|
2008-05-08 17:32:19 -04:00
|
|
|
<X-PRE-PROCESS cmd="include" data="external/*.xml"/>
|
2007-12-10 12:11:31 -05:00
|
|
|
</gateways>
|
|
|
|
|
2008-05-08 10:40:34 -04:00
|
|
|
<aliases>
|
|
|
|
<alias name="outbound"/>
|
2008-08-28 14:25:48 -04:00
|
|
|
<alias name="nat"/> <!-- for backwards compatibility -->
|
2008-05-08 10:40:34 -04:00
|
|
|
</aliases>
|
|
|
|
|
2007-12-10 12:11:31 -05:00
|
|
|
<domains>
|
|
|
|
<domain name="$${domain}" parse="true"/>
|
|
|
|
</domains>
|
|
|
|
|
|
|
|
<settings>
|
2007-12-11 15:58:39 -05:00
|
|
|
<param name="debug" value="0"/>
|
2007-12-12 23:37:25 -05:00
|
|
|
<param name="sip-trace" value="no"/>
|
2007-12-10 12:11:31 -05: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-30 22:44:24 -05:00
|
|
|
<param name="codec-prefs" value="$${outbound_codec_prefs}"/>
|
2008-04-22 10:19:47 -04:00
|
|
|
<param name="hold-music" value="$${hold_music}"/>
|
2007-12-10 12:11:31 -05:00
|
|
|
<param name="use-rtp-timer" value="true"/>
|
|
|
|
<param name="rtp-timer-name" value="soft"/>
|
2007-12-30 18:18:56 -05:00
|
|
|
<param name="manage-presence" value="false"/>
|
2008-09-05 14:35:40 -04:00
|
|
|
<!--<param name="aggressive-nat-detection" value="true"/>-->
|
2007-12-10 12:11:31 -05:00
|
|
|
<param name="inbound-codec-negotiation" value="generous"/>
|
|
|
|
<param name="nonce-ttl" value="60"/>
|
|
|
|
<param name="auth-calls" value="false"/>
|
2007-12-15 16:38:11 -05:00
|
|
|
<param name="rtp-timeout-sec" value="1800"/>
|
2007-12-10 12:11:31 -05: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 16:43:23 -05:00
|
|
|
<param name="rtp-timeout-sec" value="300"/>
|
|
|
|
<param name="rtp-hold-timeout-sec" value="1800"/>
|
2008-05-29 16:02:06 -04:00
|
|
|
<!--<param name="enable-3pcc" value="true"/>-->
|
2008-08-30 14:25:53 -04: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 12:11:31 -05:00
|
|
|
</settings>
|
|
|
|
</profile>
|