提交 997b664a authored 作者: Brian West's avatar Brian West

what was I thinking

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6930 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9e7ee755
...@@ -24,16 +24,22 @@ ...@@ -24,16 +24,22 @@
</extension> </extension>
<extension name="global" continue="true"> <extension name="global" continue="true">
<condition field="${network_addr}" expression="^"> <condition field="${network_addr}" expression="false">
<action application="set" data="use_profile=${cond(${is_lan_addr($${local_ip_v4})} == yes ? nat : default)}"/> <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)}"/> <anti-action application="set" data="use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
</condition> </condition>
</extension>
<extension name="defaults" continue="true">
<!-- This will setup some variables if the user isn't authenticated. <!-- This will setup some variables if the user isn't authenticated.
numbering_plan is required for the demo to function properly. numbering_plan is required for the demo to function properly.
--> -->
<condition field="${numbering_plan}" expression="^"> <condition field="${numbering_plan}" expression="false">
<action application="set_user" data="default@${domain}"/> <action application="set_user" data="default@${domain}"/>
</condition> </condition>
</extension>
<extension name="info" continue="true">
<condition> <condition>
<action application="info"/> <action application="info"/>
<action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/> <action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/>
...@@ -133,8 +139,7 @@ ...@@ -133,8 +139,7 @@
</extension> </extension>
<!-- <!--
start a dynamic conference with the settings of the start a dynamic conference with the settings of th "default" conference profile in conference.conf.xml
"default" conference profile in conference.conf.xml
--> -->
<extension name="conferences"> <extension name="conferences">
<condition field="destination_number" expression="^(3\d{3})$"> <condition field="destination_number" expression="^(3\d{3})$">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论