1 <profile name=
"external">
2 <!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
3 <!-- This profile is only for outbound registrations to providers -->
5 <X-PRE-PROCESS cmd=
"include" data=
"external/*.xml"/>
10 <alias name="outbound"/>
16 <domain name=
"all" alias=
"false" parse=
"true"/>
20 <param name=
"debug" value=
"0"/>
21 <!-- If you want FreeSWITCH to shutdown if this profile fails to load, uncomment the next line. -->
22 <!-- <param name="shutdown-on-fail" value="true"/> -->
23 <param name=
"sip-trace" value=
"no"/>
24 <param name=
"rfc2833-pt" value=
"101"/>
25 <param name=
"sip-port" value=
"$${external_sip_port}"/>
26 <param name=
"dialplan" value=
"XML"/>
27 <param name=
"context" value=
"public"/>
28 <param name=
"dtmf-duration" value=
"2000"/>
29 <param name=
"inbound-codec-prefs" value=
"$${global_codec_prefs}"/>
30 <param name=
"outbound-codec-prefs" value=
"$${outbound_codec_prefs}"/>
31 <param name=
"hold-music" value=
"$${hold_music}"/>
32 <param name=
"rtp-timer-name" value=
"soft"/>
33 <!--<param name="enable-100rel" value="true"/>-->
34 <!-- This could be set to "passive" -->
35 <param name=
"local-network-acl" value=
"localnet.auto"/>
36 <param name=
"manage-presence" value=
"false"/>
38 <!-- used to share presence info across sofia profiles
39 manage-presence needs to be set to passive on this profile
40 if you want it to behave as if it were the internal profile
43 <!-- Name of the db to use for this profile -->
44 <!--<param name="dbname" value="share_presence"/>-->
45 <!--<param name="presence-hosts" value="$${domain}"/>-->
46 <!--<param name="force-register-domain" value="$${domain}"/>-->
47 <!--all inbound reg will stored in the db using this domain -->
48 <!--<param name="force-register-db-domain" value="$${domain}"/>-->
49 <!-- ************************************************* -->
51 <!--<param name="aggressive-nat-detection" value="true"/>-->
52 <param name=
"inbound-codec-negotiation" value=
"generous"/>
53 <param name=
"nonce-ttl" value=
"60"/>
54 <param name=
"auth-calls" value=
"false"/>
56 DO NOT USE HOSTNAMES, ONLY IP ADDRESSES IN THESE SETTINGS!
58 <param name=
"rtp-ip" value=
"$${local_ip_v4}"/>
59 <param name=
"sip-ip" value=
"$${local_ip_v4}"/>
60 <param name=
"ext-rtp-ip" value=
"auto-nat"/>
61 <param name=
"ext-sip-ip" value=
"auto-nat"/>
62 <param name=
"rtp-timeout-sec" value=
"300"/>
63 <param name=
"rtp-hold-timeout-sec" value=
"1800"/>
64 <!--<param name="enable-3pcc" value="true"/>-->
66 <!-- TLS: disabled by default, set to "true" to enable -->
67 <param name=
"tls" value=
"$${external_ssl_enable}"/>
68 <!-- additional bind parameters for TLS -->
69 <param name=
"tls-bind-params" value=
"transport=tls"/>
70 <!-- Port to listen on for TLS requests. (5081 will be used if unspecified) -->
71 <param name=
"tls-sip-port" value=
"$${external_tls_port}"/>
72 <!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) -->
73 <param name=
"tls-cert-dir" value=
"$${external_ssl_dir}"/>
74 <!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
75 <param name=
"tls-version" value=
"$${sip_tls_version}"/>