config:Remove use_profile from default dialplan, move to vars.xml, default value is 'internal'

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13874 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Collins 2009-06-19 20:02:05 +00:00
parent 48885edcff
commit afdd15aa44
2 changed files with 1 additions and 4 deletions

View File

@ -60,10 +60,6 @@
</extension>
<extension name="global" continue="true">
<condition field="${network_addr}" expression="^$" break="never">
<action application="set" data="use_profile=${cond(${acl($${local_ip_v4} rfc1918)} == true ? nat : default)}"/>
<anti-action application="set" data="use_profile=${cond(${acl(${network_addr} rfc1918)} == true ? nat : default)}"/>
</condition>
<condition field="${call_debug}" expression="^true$" break="never">
<action application="info"/>
</condition>

View File

@ -26,6 +26,7 @@
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
<X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
<X-PRE-PROCESS cmd="set" data="use_profile=internal"/>
<!--
Enable ZRTP globally you can override this on a per channel basis