Author Message
GustavoArruda
Joined: Nov 13, 2013
Messages: 5
Offline
Hi,

I have a doubt in Orchestration/Dialog Designer and I hope you guys can help me.

I need to echo (audio repeat) the option selected (DTMF) by a customer in a Menu node and in the Prompt & Collect too.

For Example:

The customer reached the Menu node: "Please dial 1 for this and 2 for that". When the customer dial "1", the Script has to echo (audio repeat) "one" (through localization bundle audio files).

The customer reached the Prompt & Collect node: "Please dial your ID number:". When the customer dial his ID, number by number (1234), the Script has to echo (audio repeat) the numbers one by one, "one", "two", "three", "four", as soon as he dialed.
desirekengfack
Joined: Nov 13, 2013
Messages: 10
Offline
Hi Gustavo,

For every choice in the menu, you just have to redirect to an announce node, and play the audio file corresponding to the dtmf choice.


The second question is not eaysy.
But you can try this, I'm not sure it will work.

For the Prompt & Collect node, you can create a grammar like this ( see GRAMMAR EXAMPLE).
And when the the user enters a phone key, the vxml interpreter will get out of your Prompt & Collect node.
Then you redirect it into an announce node and play the audio file corresponding to the dtmf key.

And redirect your announce node to the same Prompt & Collect node to collect the next key for the user.

Do not forget to record the number sent by the user in a global variable (you can oncatenate it every time), so that at the end, you will have your customer ID number.

For the anounce node the "bargein" property must be set to true, so that the user can enter another number when the audio file is playing.
This can be doing in "Window > Preferences > Avaya Aura > Orchestration Designer > Speech > Prompt", by setting "Default Bargein" to true.


GRAMMAR EXAMPLE
Can also be created in AAOD with static grammar with colum's "Repeat" property set to 1 (I'm not sure).


<?xml version="1.0" encoding="UTF-8" ?>
<grammar xml:lang="fr-FR" version="1.0" xmlns="http://www.w3.org/2001/06/grammar" root="oneNumber">
<rule id="oneNumber" scope="public">
<item repeat="1">
<ruleref uri="#choices"/>
</item>
</rule>

<rule id="choices" scope="public">
<one-of>
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
</one-of>
</rule>
</grammar>

GustavoArruda
Joined: Nov 13, 2013
Messages: 5
Offline
desirekengfack, thanks for your help, based on your information I solved my problem.

For the menu, I played the user's choice and then analyzed the option in a Switch/Case.

For the P&C, I created a reusable module with inputs and outputs that satisfied all needs.
Go to:   
Mobile view