<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Yes ‘gentones' is a workaround, but not ideal as means modifying the destination IVR to accept inband.</div><div><br class=""></div><div>So is ‘send_dtmf’ broken?</div><div><br class=""></div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Kalyani Kulkarni <<a href="mailto:kalyaneekulkarni@gmail.com" class="">kalyaneekulkarni@gmail.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [Freeswitch-users] Freeswitch as IVR Tester</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">23 August 2016 at 05:16:21 BST<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>><br class=""></span></div><br class=""><br class=""><div dir="ltr" class="">with FreeTDM, I've observed that I've to send DTMFs inband.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 22, 2016 at 9:18 PM, Phil Dunks <span dir="ltr" class=""><<a href="mailto:phil.dunks@netdev.co.uk" target="_blank" class="">phil.dunks@netdev.co.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Hi folks</div><div class=""><br class=""></div><div class="">I am trying to use FS as an automated test platform to send calls into an IVR system (also FS) and test the various call flows.</div><div class=""><br class=""></div><div class="">I am using node.js to control the tests over ESL.</div><div class=""><br class=""></div><div class="">I am using ‘originate xxx &park()’ to initiate the test call to the IVR.</div><div class=""><br class=""></div><div class="">Then ‘detect_speech’ with pocketsphinx to listen for key phrases in the prompts from the IVR (‘followed by hash’) etc.</div><div class=""><br class=""></div><div class="">So far so good - although I haven’t tested many different prompts yet.</div><div class=""><br class=""></div><div class="">I am then trying to use ’send_dtmf’ to navigate the IVR menus.</div><div class=""><br class=""></div><div class="">I am having some problems with this.</div><div class=""><br class=""></div><div class="">After the ‘send_dtmf’ is requested, nothing happens.</div><div class=""><br class=""></div><div class="">I read on a different post that it will work if you do a ‘playback’ before ‘send_dtmf’.</div><div class=""><br class=""></div><div class="">I tried this, and yes, ‘send_dtmf’ now does something - but not what is expected.</div><div class=""><br class=""></div><div class="">The CHANNEL_EXECUTE_COMPLETE event for ‘send_dtmf’ returns instantly ( e.g. 1 ms after the associated CHANNEL_EXECUTE event) rather than after the DTMF is sent, which messes up my state machine.</div><div class=""><br class=""></div><div class="">Also the IVR system does not react to the DTMF.</div><div class=""><br class=""></div><div class="">I made a test call to an x-lite instead of the IVR, and could hear the DTMF but it was distorted.</div><div class=""><br class=""></div><div class="">Any help greatly appreciated.</div><div class=""><br class=""></div><div class="">I am using 1.6.9 (installed from rpm’s) on centos 7.</div><div class=""><br class=""></div><div class="">Thanks</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">Phil</div><div class=""><br class=""></div></font></span></div></blockquote></div></div></div></blockquote></div><br class=""></body></html>