add sip_external_uri example to send calls outside the domain if they aren't in our domain

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9612 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-09-22 14:59:12 +00:00
parent a5071efe6b
commit 4fbaad028f
1 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,13 @@
</condition>
</extension>
<!-- 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">
<condition field="source" expression="mod_sofia"/>
<condition field="${sip_from_host}" expression="${sip_to_host}">
<anti-action application="bridge" data="sofia/${use_profile}/${sip_to_uri}"/>
</condition>
</extension>
<!--
snom button demo, call 9000 to make button 2 mapped to transfer the current call to a conference