more fun stuff tested and working
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7055 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
05098e4b64
commit
44b4078148
|
@ -165,7 +165,6 @@
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Parking extensions... transferring calls to 5900 will park them in a queue.
|
Parking extensions... transferring calls to 5900 will park them in a queue.
|
||||||
-->
|
-->
|
||||||
|
@ -178,36 +177,38 @@
|
||||||
<!--
|
<!--
|
||||||
Parking pickup extension. Calling 5901 will pickup the call.
|
Parking pickup extension. Calling 5901 will pickup the call.
|
||||||
-->
|
-->
|
||||||
<extension name="park">
|
<extension name="unpark">
|
||||||
<condition field="destination_number" expression="^5901$">
|
<condition field="destination_number" expression="^5901$">
|
||||||
<action application="fifo" data="5900@$${domain} out undef"/>
|
<action application="fifo" data="5900@$${domain} out nowait"/>
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This extension is used with snom phones.
|
This extension is used with snom phones.
|
||||||
|
|
||||||
|
Set a function key to park+lot (lot being a number or name.)
|
||||||
|
Set type to Park+Orbit. You can then park and pickup using
|
||||||
|
the softkey on the phone. Should work with other phones.
|
||||||
-->
|
-->
|
||||||
<!--
|
|
||||||
<extension name="park">
|
<extension name="park">
|
||||||
<condition field="source" expression="mod_sofia" continue="on-true"/>
|
<condition field="source" expression="mod_sofia" continue="on-true"/>
|
||||||
<condition field="${sip_refer_to}" expression="park\+(.*)@(.*)>" continue="on-true">
|
<condition field="${sip_refer_to}" expression="park\+(.*)@(.*)>" continue="on-true">
|
||||||
<action application="gentones" data="%(1000, 0, 320)"/>
|
|
||||||
<action application="fifo" data="$1@$${domain} in undef $${moh_uri}"/>
|
<action application="fifo" data="$1@$${domain} in undef $${moh_uri}"/>
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
|
<!--
|
||||||
|
The extension is parking pickup with a to param of the fifo we are calling
|
||||||
|
Some phones send things like orbit= and you can extract that info.
|
||||||
|
-->
|
||||||
<extension name="unpark">
|
<extension name="unpark">
|
||||||
<condition field="source" expression="mod_sofia" continue="on-true"/>
|
<condition field="source" expression="mod_sofia" continue="on-true"/>
|
||||||
<condition field="destination_number" expression="^parking$" continue="on-true"/>
|
<condition field="destination_number" expression="^parking$" continue="on-true"/>
|
||||||
<condition field="${sip_to_params}" expression="fifo\=(\d+)">
|
<condition field="${sip_to_params}" expression="fifo\=(\d+)">
|
||||||
<action application="answer"/>
|
<action application="answer"/>
|
||||||
<action application="gentones" data="%(1000, 0, 320)"/>
|
<action application="fifo" data="$1@$${domain} out undef"/>
|
||||||
<action application="fifo" data="$1@10.0.1.250 out nowait"/>
|
|
||||||
<action application="hangup"/>
|
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
-->
|
|
||||||
<extension name="hold_music">
|
<extension name="hold_music">
|
||||||
<condition field="destination_number" expression="^9999$">
|
<condition field="destination_number" expression="^9999$">
|
||||||
<action application="answer"/>
|
<action application="answer"/>
|
||||||
|
|
Loading…
Reference in New Issue