English 中文(简体)
Writing a grammar in VoiceXML to match # terminated digits or *1 or *2
原标题:

I an writing a VoiceXML app and i am having a problem. The application listens for DTMF tones only.

The user enters a confirmation number followed by #. They can also enter *1 or *2 to speak to customer service, or resend the confirmation message.

I am having trouble creating a grammer that will work for this. I ve been able to use the built-in type digits?minlength=1 and termchar=# just fine for the confirmation code. I ve also been able to create a grammar that essentially duplicates the built digits functionality.

I can t get the *1, or *2 function to work! They are special as they have no termination char.

Does anyone have any clue how to approach this? Loosing hair here.... Thanks all.

最佳回答

Take a look at this example from the SRGS specification. The pin example accepts *9.

Note, while this is in the specification, I ve found some IVR engines that don t fully implement the specification. In particular, watch out for built-in assumptions for both # and *. Termination reasons can also be a bit inconsistent.

问题回答

暂无回答




相关问题
Asterisk handling multiple simultaneous calls for IVR

Hi I am new to asterisk. I want to build an IVR system so that approximately 10-15 users can call simultaneously and use the same dialplan.. We have PRI lines and are thinking of buying Digium TE!21 ...

record voice in vxml (Tellme studio developer account)

I have developer account in tell studio , I tried some basic snippet its working fine, finaly i tried record tag, but its not working , eve NOINPUT TAG also not working , This is my snippet , &...

Recording in Linux

In Fedora 12, what is available FREE, so that i can record my voice as G711u/a or GSM or G729 audio codec s. Thanks in advance. N.b: Tried gnome-sound-recorder 2.28.5 but it save file as WAV but ...

IVR vs Asp.net MVC: How can I stop reinventing the browser?

I m making an IVR system for a project, and have decided on Twilio to handle the phone portion (making and receiving calls, sending and receiving SMS messages). This will surface a website with an IVR ...

IVR development [closed]

I need to build an IVR application (possibly 10 Phone lines). I am entirely new to this domain and am familiar with some concepts, Can someone please provide me with some links/advice on how I can go ...

热门标签