Hi All, I have an IVR like below.. Problem is it repeat complete input recieved from user before asking for confirmation. i.e. user can not just press 1 to proceed while system is repeating recieved inputs. <action application="play_and_get_digits" data="20 21 50 15000 # $${IVR_PROMPTS}/AppVoiceFolder/EnterRechargeDetails.wav $${IVR_PROMPTS}/InvalidInput.wav my_digit ^((\d{10})\*(\d{6})\*(1|3|12))$"/> <action application="playback" data="$${IVR_PROMPTS}/AppVoiceFolder/RepeatEnteredDetails.wav"/> <action application="say" data="hi name_spelled iterated NEUTER ${my_digit}"/> <action application="play_and_get_digits" data="1 1 2 5000 # file_string://$${IVR_PROMPTS}/AppVoiceFolder/Press1ToConfirm.wav!file_string://$${IVR_PROMPTS}/AppVoiceFolder/Press2ToReEnter.wav $${IVR_PROMPTS}/InvalidInput.wav my_choice ^[1-2]"/> Something i tried to achieve this is- <action application="play_and_get_digits" data="20 21 50 15000 # $${IVR_PROMPTS}/AppVoiceFolder/EnterRechargeDetails.wav $${IVR_PROMPTS}/InvalidInput.wav my_digit ^((\d{10})\*(\d{6})\*(1|3|12))$"/> <action application="playback" data="$${IVR_PROMPTS}/AppVoiceFolder/RepeatEnteredDetails.wav"/> <action application="play_and_get_digits" data="1 1 2 5000 # say:'hi name_spelled iterated NEUTER ${my_digit}' file_string://$${IVR_PROMPTS}/AppVoiceFolder/Press1ToConfirm.wav!file_string://$${IVR_PROMPTS}/AppVoiceFolder/Press2ToReEnter.wav $${IVR_PROMPTS}/InvalidInput.wav my_choice ^[1-2]"/> But issue is that it reads "hi name_spelled iterated NEUTER 912345678*10001*12" as string. Please help how can i fix it. Please also note that i have local language sound files kept in "hi" folder so that digits pronounced by system use the same and this is working when i use first method. But when i include say in "play_and_get_digits" it picks up english again. Thanks, -Vishal
participants (1)
-
Vishal Kakkar