[Freeswitch-users] AMD Functionality
Shelby Ramsey
sicfslist at gmail.com
Sat Feb 7 06:40:14 PST 2009
Nik,
Right now there is mod_vmd. It sets the channel variable vmd_detect if it
detects a beep. If a beep is detected it will set vmd_detect=TRUE. If no
beep is detected then it won't do anything.
Example of usage as follows (with the outcome being hangup if answering
machine is detected):
<extension name="110">
<condition field="destination_number" expression="^110$">
<action application="answer"/>
<action application="vmd"/>
<action application="playback" data="$SOMEFILE"/>
<action application="transfer" data="111 xml $context/>
</condition>
</extension>
<extension name="111">
<condition field="destination_number" expression="^111$"/>
<condition field="${vmd_detect}" expression="^TRUE">
<action application="hangup"/>
<anti-action application="transfer" data="112 xml $context"/>
</condition>
</extension>
And Ken Rice also has a mod that can be licensed that probably is a better
solution and works much better.
Hope this helps.
SDR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090207/5340510b/attachment-0002.html
More information about the FreeSWITCH-users
mailing list