mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 09:12:25 +00:00
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:
parent
02099953d5
commit
8b87e4bac7
@ -35,6 +35,14 @@
|
|||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</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. -->
|
<!-- Example of doing things based on time of day. -->
|
||||||
<extension name="tod_example" continue="true">
|
<extension name="tod_example" continue="true">
|
||||||
<!-- man strftime - M-F, 9AM to 6PM -->
|
<!-- man strftime - M-F, 9AM to 6PM -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user