forked from Mirrors/freeswitch
021ab87f2b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7078 d0543943-73ff-0310-b7d9-9358b9ac24b2
55 lines
2.5 KiB
XML
55 lines
2.5 KiB
XML
<!-- Preprocessor Variables
|
|
These are introduced when configuration strings must be consistent across modules.
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
|
|
<X-PRE-PROCESS cmd="set" data="moh_uri=local_stream://moh"/>
|
|
<!-- sip_profile
|
|
Must be a domain name if you are being a registry server; otherwise
|
|
can be any string.
|
|
used by: sofia.conf.xml enum.conf.xml default_context.xml directory.xml
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="sip_profile=$${domain}"/>
|
|
<X-PRE-PROCESS cmd="set" data="nat_sip_profile=nat_$${domain}"/>
|
|
<!-- xmpp_client_profile and xmpp_server_profile
|
|
xmpp_client_profile can be any string.
|
|
xmpp_server_profile is appended to "dingaling_" to form the database name
|
|
containing the "subscriptions" table.
|
|
used by: dingaling.conf.xml enum.conf.xml
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,PCMU@20i,PCMA@20i"/>
|
|
<X-PRE-PROCESS cmd="set" data="xmpp_client_profile=xmppc"/>
|
|
<X-PRE-PROCESS cmd="set" data="xmpp_server_profile=xmpps"/>
|
|
<!-- bind_server_ip
|
|
Can be an ip address, a dns name, or "auto".
|
|
This determines an ip address available on this host to bind.
|
|
If you are separating RTP and SIP traffic, you will want to have
|
|
use different addresses where this variable appears.
|
|
Used by: sofia.conf.xml dingaling.conf.xml
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/>
|
|
<!-- external_rtp_ip
|
|
Used as the public IP address for SDP.
|
|
Can be an ip address or a string like "stun:stun.server.com"
|
|
If unspecified, the bind_server_ip value is used.
|
|
Used by: sofia.conf.xml dingaling.conf.xml
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.fwdnet.net"/>
|
|
<!-- external_sip_ip
|
|
Used as the public IP address for SDP.
|
|
Can be an ip address or a string like "stun:stun.server.com"
|
|
If unspecified, the bind_server_ip value is used.
|
|
Used by: sofia.conf.xml dingaling.conf.xml
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:stun.fwdnet.net"/>
|
|
<!-- unroll-loops
|
|
Used to turn on sip loopback unrolling.
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="unroll_loops=true"/>
|
|
<!-- outbound_caller_id and outbound_caller_name
|
|
The caller ID telephone number we should use when calling out.
|
|
Used by: conference.conf.xml
|
|
-->
|
|
<X-PRE-PROCESS cmd="set" data="outbound_caller_name=FreeSWITCH"/>
|
|
<X-PRE-PROCESS cmd="set" data="outbound_caller_id=8777423583"/>
|
|
<X-PRE-PROCESS cmd="set" data="call_debug=false"/>
|