How do I loop audio messages for the fetchaudio property?
Posted: Mon Dec 29, 2003 5:28 pm
I need to play a "Please wait" audio message while a url is hit on the back end of our Plum IVR system. Here is the code snippet
The above code just plays one "wait" message but sometimes there can be a 20 second delay or so and our clients would like a "still waiting" message played every 5 seconds or so. Any idea how to do this?
Code: Select all
<subdialog srcexpr="ivrJsp" name="validateRx" namelist="rxNumber choppedCardHolderNumber">
<audio expr="waitValidation">Please wait while we verify your refill request.</audio>
<filled>
<if cond="validateRx.phoneNumber == 'empty'">
<prompt><audio expr="rxInvalidPrompt">The prescription number you entered is either not valid or has no refills left. Please hold for a customer service representative.</audio></prompt>
<goto next="#trySavRxQueueTransfer"/>
<else/>
<assign name="customerPhoneNumber" expr="validateRx.customerPhoneNumber"/>
<log> Validation successful for rxNumber. <value expr="document.rxNumber"/></log>
</if>
</filled>
</subdialog>