forked from Mirrors/freeswitch
more tweaks.. inside vs outside
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9713 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
82996f5e05
commit
08da9ffe9b
@ -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 @@
|
|||||||
<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$">
|
||||||
|
Loading…
Reference in New Issue
Block a user