提交 08da9ffe authored 作者: Brian West's avatar Brian West

more tweaks.. inside vs outside

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9713 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 82996f5e
...@@ -80,14 +80,13 @@ ...@@ -80,14 +80,13 @@
</extension> </extension>
<!-- If to_host and from_host differ this is an external sip URI so lets send it out. --> <!-- If to_host and from_host differ this is an external sip URI so lets send it out. -->
<!--
<extension name="external_sip_uri" continue="true"> <extension name="external_sip_uri" continue="true">
<condition field="source" expression="mod_sofia"/> <condition field="source" expression="mod_sofia"/>
<condition field="${sip_from_host}" expression="${sip_to_host}"> <condition field="${outside_call}" expression="^$"/>
<condition field="${sip_req_host}" expression="${sip_from_host}">
<anti-action application="bridge" data="sofia/${use_profile}/${sip_to_uri}"/> <anti-action application="bridge" data="sofia/${use_profile}/${sip_to_uri}"/>
</condition> </condition>
</extension> </extension>
-->
<!-- <!--
snom button demo, call 9000 to make button 2 mapped to transfer the current call to a conference snom button demo, call 9000 to make button 2 mapped to transfer the current call to a conference
--> -->
......
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
<include> <include>
<context name="public"> <context name="public">
<extension name="outside_call" continue="true">
<condition break="never">
<action application="set" data="outside_call=true"/>
</condition>
</extension>
<extension name="unloop"> <extension name="unloop">
<condition field="${unroll_loops}" expression="^true$"/> <condition field="${unroll_loops}" expression="^true$"/>
<condition field="${sip_looped_call}" expression="^true$"> <condition field="${sip_looped_call}" expression="^true$">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论