I am looking to automate IVR Regression testing using Voxeo Prophecy. the challenge I am running into is how to simulate DTMF input collection.
I have been able to build a CCXML application in Voxeo Prophecy that invokes my VXML application. I am invoking this CCXML application using Voxeo SIP phone. Now the issue is that when my VXML application is invoked it plays the prompt "Please enter your card number" and then waits for input and finally max timeout.
I have the DTMF tones from Voxeo now I need to find where exactly I need to play these DTMF tones in order to simulate caller input. Will it be in the VXML or CCXML file?
If it is VXML then in which part of form. Any sample code will be great. Note that I want to do minimal editing to my VXML files for automation and would prefer if it can be done by playing the DTMF tones for input elsewhere.
<form>
<field name="cardNumber" type="digits">
<grammar srcexpr="'/GrammarEnterCard.grxml'" type="application/srgs+xml"/>
<audio expr="Eng3"> Please enter your 16 digit card number and then press the pound key. Or press star to report your card lost or stolen. </audio>
</prompt>
<filled>
<log expr="'*****In Card Number Filled*****'"/>
<goto nextitem="expDate"/>
</filled>
<noinput>
</noinput>
<nomatch>
</nomatch>
</field>
</form>