Author Message
SriniKotaru
Joined: Jan 25, 2006
Messages: 0
Offline
Hi,
I would like to play a different noinput/nomatch prompt based on the input mode, for a OSDM digits element collecting say, account number. As an example:
a. If the inputmode was dtmf:
"Sorry, I don''t understand what you enetered. Please enter your 10-digit account number"
b. If the inputmode was speech:
"Sorry, I didn''t get that. Please say your 10-digit account number".

Looks like only options available are "Module Input" and "Module ouput" for OSDMs and wondering how to include these conditions.
GregFoulks
Joined: Jan 6, 2006
Messages: 0
Offline
You should be able to add an output parameter and call it inputmode.

Next turn off all error prompts and have the DM return to the script after failure. You''ll need a data node in order to evaluate the return code of the DM.

Now create a prompt node and build a dynamic prompt that looks something like this:

if dmName:inputmode = dtmf and dmName:returncode not equal SUCCESS

play Sorry, I don''t understand what you entered. Please enter your 10-digit account number.

Else
Sorry I didn''t get that. Please say your 10-digit account number.
SriniKotaru
Joined: Jan 25, 2006
Messages: 0
Offline
How would you turn off all error prompts on an OSDM. 
GregFoulks
Joined: Jan 6, 2006
Messages: 0
Offline
Well depending on the DM (refer to the DM handbook)

you would pass parameters to the DM such as

collection_noinputprompts1=none
collection_noinputprompts2=none
collection_noinputprompts3=none
failureprompt=none

and so on....
SriniKotaru
Joined: Jan 25, 2006
Messages: 0
Offline
Thanks. 
Do you know if AVB supports inputmode? I was trying to use the keypad in eclipse for input, but inputmode is blank.
GregFoulks
Joined: Jan 6, 2006
Messages: 0
Offline
No it does not.
Go to:   
Mobile view