force domain_name to simplify things

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12064 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West committed 2009-02-16 19:01:50 +00:00
1 parent 9a43df2578
commit a66366c95b
3 files changed
+1 -33

No files matched your search

-22
View File
@@ -20,28 +20,6 @@
<action application="deflect" data="${destination_number}"/>
</condition>
</extension>
<!--
Try to get the domain from the sip_auth_realm otherwise it will
default domain in vars.xml for cases it can't figure it out.
-->
<extension name="set_domain" continue="true">
<condition field="${domain_name}" expression="^$"/>
<condition field="source" expression="mod_sofia"/>
<condition field="${sip_auth_realm}" expression="^$">
<action application="set" data="domain_name=$${domain}"/>
<anti-action application="set" data="domain_name=${sip_auth_realm}"/>
</condition>
</extension>
<!-- Set the domain -->
<extension name="set_domain_openzap" continue="true">
<condition field="${domain_name}" expression="^$"/>
<condition field="source" expression="mod_openzap">
<action application="set" data="domain_name=$${domain}"/>
</condition>
</extension>
<!-- Example of doing things based on time of day. -->
<extension name="tod_example" continue="true">