提交 87266aa3 authored 作者: Brian West's avatar Brian West

Update for fifo example

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5781 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1ee6a619
......@@ -150,6 +150,26 @@
</condition>
</extension>
<!-- Push a call into the fifo Queue (Park) -->
<extension name="Park Queue">
<condition field="destination_number" expression="400">
<!-- This will place the call into myqueue and play moh.wav while waiting and announce before bridge -->
<action application="fifo" data="in myqueue /tmp/announce.wav /tmp/moh.wav"/>
<!-- This is an example with MOH but no announce -->
<!-- <action application="fifo" data="in myqueue undef /tmp/moh.wav"/> -->
</condition>
</extension>
<!-- Pop a call out of the fifo Queue (Unpark) -->
<extension name="Unpark Queue">
<condition field="destination_number" expression="401">
<!-- This is "wait" mode which means the caller/agent can press * to go back and wait ending the bridge -->
<action application="fifo" data="out myqueue /tmp/queue-announce.wav /tmp/agent-moh.wav"/>
<!-- This is "nowait" which will return to the dial plan if nobody is in queue -->
<!-- <action application="fifo" data="out myqueue nowait"/> -->
</condition>
</extension>
<!-- Call *MUST* originate from mod_iax and also be dialing ext 9999-->
<extension name="9999">
<condition field="source" expression="mod_iax"/>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论