thats more like it

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6931 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-12-21 05:09:27 +00:00
parent 997b664a90
commit be360558cc
1 changed files with 2 additions and 8 deletions

View File

@ -24,22 +24,16 @@
</extension>
<extension name="global" continue="true">
<condition field="${network_addr}" expression="false">
<condition field="${network_addr}" expression="false" break="never">
<action application="set" data="use_profile=${cond(${is_lan_addr($${local_ip_v4})} == yes ? nat : default)}"/>
<anti-action application="set" data="use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
</condition>
</extension>
<extension name="defaults" continue="true">
<!-- This will setup some variables if the user isn't authenticated.
numbering_plan is required for the demo to function properly.
-->
<condition field="${numbering_plan}" expression="false">
<condition field="${numbering_plan}" expression="false" break="never">
<action application="set_user" data="default@${domain}"/>
</condition>
</extension>
<extension name="info" continue="true">
<condition>
<action application="info"/>
<action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/>