set domain_name to the default domain on all calls from mod_openzap

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10539 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-11-26 03:12:27 +00:00
parent 02099953d5
commit 8b87e4bac7
1 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,14 @@
</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">
<!-- man strftime - M-F, 9AM to 6PM -->