mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
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:
1 parent
9a43df2578
commit
a66366c95b
3 files changed
+1
-33
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user