<div class="gmail_quote">Nik,</div><div class="gmail_quote"><br class="webkit-block-placeholder"></div><div class="gmail_quote">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.</div>
<div class="gmail_quote"><br class="webkit-block-placeholder"></div><div class="gmail_quote">Example of usage as follows (with the outcome being hangup if answering machine is detected):</div><div class="gmail_quote"><br class="webkit-block-placeholder">
</div><div class="gmail_quote"><extension name="110"></div><div class="gmail_quote"> <condition field="destination_number" expression="^110$"></div><div class="gmail_quote"> <action application="answer"/></div>
<div class="gmail_quote"> <action application="vmd"/></div><div class="gmail_quote"> <action application="playback" data="$SOMEFILE"/></div><div class="gmail_quote"> <action application="transfer" data="111 xml $context/></div>
<div class="gmail_quote"> </condition></div><div class="gmail_quote"></extension></div><div class="gmail_quote"><br></div><div class="gmail_quote"><extension name="111"></div><div class="gmail_quote">
<condition field="destination_number" expression="^111$"/></div><div class="gmail_quote"> <condition field="${vmd_detect}" expression="^TRUE"></div><div class="gmail_quote">
<action application="hangup"/></div><div class="gmail_quote"> <anti-action application="transfer" data="112 xml $context"/></div><div class="gmail_quote"> </condition></div>
<div class="gmail_quote"></extension></div><div class="gmail_quote"><br class="webkit-block-placeholder"></div><div class="gmail_quote">And Ken Rice also has a mod that can be licensed that probably is a better solution and works much better. </div>
<div class="gmail_quote"><br class="webkit-block-placeholder"></div><div class="gmail_quote">Hope this helps.</div><div class="gmail_quote"><br class="webkit-block-placeholder"></div><div class="gmail_quote">SDR</div>