View previous topic :: View next topic |
Author |
Message |
nik.middleton at noble... Guest
|
Posted: Sat Feb 07, 2009 6:39 am Post subject: [Freeswitch-users] AMD Functionality |
|
|
Hi Guys,
Is there any form of Answer phone detection in FS? A search hasn’t really brought up anything
Regards, |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
Posted: Sat Feb 07, 2009 9:41 am Post subject: [Freeswitch-users] AMD Functionality |
|
|
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 |
|
Back to top |
|
|
|