on 01-24-2014 03:19 PM
Is there a way in custom java code to catch the hotlink and set some session variables? Currently it is bypassing my java code and and I get no exitState.
FYI I could not use the digit element I had to use the Form element.
If you want Cisco's dtmf gateway to recognize a range such as 3 to 5 digits then specify "...+ ....."
or "....? ....."without quotes in the dtmf_keypress setting.
Hi there all,
I'm trying to understand what is the conclusion of all of the above as I'm facing a similar issue. In a nut shell, this is what the IVR should ask for: “Please enter you 10 digits phone number followed by the pound sign. To return to the main menu, press star.”
The difference is that I'm doing testing using Debug Call Studio Project (Call Studio 10.0) to test this but it does not work: I always get NoMatch regardless of the input. In the Form settings I have set DTMF Keypress as: ". .? .? .? .? .? .? .? .? .?" (without the double quotes) and another DTMF Keypress as: \*[*]. When executing it, in all cases I get NoMatch as the result. In the General Settings of my application I have set the VoiceXML Gateway as: 'Cisco Unified CVP 4.1/7.0/8.0/8.5/9.0 VoiceXML2.1 with Cisco DTMF'. There is not Nuance ASR engine configured.
I have also tried the ‘Digits’ with the Local Hotlink as suggested on the email chain above but it does not work when I pressed the start key. Is this something that definitely won’t work using the Debug Call Studio Project option or is there something else that is preventing this from working?
Any help is truly appreciated !!
Carlos A Trivino
The Debugger is not good at simulating the voice browser - it can't handle the dots or question marks that the IOS vb expects.
If you want 10 digits or star then you should probably have two DTMF Keypress settings:
DTMF Keypress: ..........
DTMF Keypress: \*
And you won't be able to test this with the debugger.
Thanks Janine, it works. The problem now is the '#'. Because I set 10 dots (.........) then the '#' gets carry over for the next entry point or menu. Is there a way to allow either 10 digits or 10 digits and the pound? I tried to add the termrchar under the VoiceXMLPorperty/Value configuration at the bottom of the 'Settings' tab but it doesn't seem to take it: as soon as I enter the last digit, it moves one with the next prompt.
Thanks for your help!!!
Carlos A Trivino
Unfortunately, the DTMF-gateway doesn't support the termtimeout property which would configure it to wait for the optional terminating character #. Nor does it let you collect * in a Digits Element. Nor does it allow you to specify the min and max number of digits to wait for in a Form element. Frustrating!
So, in the Form element, set one DTMF Keypress to \*
Set the other DTMF Keypress to 11 dots followed by a question mark ...........?
to accept 10 digits or more.
The voice browser will wait the interdigittimeout for the 11th dtmf (which it'll strip off if it's a #).
It'll throw a NoMatch if the caller enters fewer than 10 digits.
Unfortunately, there's no way to limit it to accepting max 11 digits.
If you're using Studio 11.0, you can use the SetValue element to determine the length.
Hope this helps!
Thanks Janine, I have set it up as you suggested and it works:
1. One entry with \*
2. One entry with ………..?
3. One entry with 0 (as the caller can press zero to transfer the call out to an agent.)
I have one last question. How to set it up if I need to capture a string between 13 and 16 digits and also using the pound as the string delimiter. In other words, the following entries have to be accepted:
1. Star key.
2. An entry with 13 to 16 digits (actually this is the case of the credit cards that are 13, 15 or 16 digits).
3. Zero key (to transfer to an agent).
Thanks again Janine.
Regards,
Carlos A. Trivino
Consultant Professional Services - Customer Experience Solutions
Bell Business Markets
5115 Creekbank. 2nd Fl. West Tower.
Mississauga, Ontario L4W 5R1
Office: 905-614-8179
Use of this message is governed by our email policy at www.bell.ca/EmailConfidentialityWarning<http://www.bell.ca/EmailConfidentialityWarning>
The dtmf-gateway is really annoying. If you have a setting for keypress:0 then you won't be able to collect a credit card number beginning with 0. Is that ok?
If not, then configure the Form element with only one setting for
..?
This will actually allow 1 or more dtmf tones.
You'll need to follow this with an element to check
if the element data value equals (as string) to * then return menu
if the element data value equals (as string) to 0 then return agent
otherwise: other
connect the 'other' path to a SetValue element to determine the length of the input.
Then connect to another decision element to check if the length is between 13 and 16.
Thanks Janine, so if I don’t have to capture credit cards starting with zero, how would the setup look like?
Thanks again.
Carlos A. Trivino
Consultant Professional Services - Customer Experience Solutions
Bell Business Markets
5115 Creekbank. 2nd Fl. West Tower.
Mississauga, Ontario L4W 5R1
Office: 905-614-8179
Use of this message is governed by our email policy at www.bell.ca/EmailConfidentialityWarning<http://www.bell.ca/EmailConfidentialityWarning>
Keypress:\*
Keypress:0
Keypress: ..............? (14dots followed by ?)
This will accept * or 0 as the first touch-tone. But any other string of fewer than 13 touch-tones causes a NoMatch event.
This set of Keypress settings also allows the caller to enter * in the middle of the string. So, you can check in a Decision element if their entry contains *
But, there's no way to limit the max number of touch-tones, so you'll have to calculate the length of the entry. This is very easy in the Studio 11.0 SetValue element which creates LocalVariable eg, named localLength (I can give you details if necessary).
You'll use a Decision element and check:
if the Element Data Form_01 value equals (String) Constant String * -->menu
if the Element Data Form_01 value contains * --> nomatch
if Element Data Form_01 value equals Constant 0 --> agent
if LocalVariable localLength >= 13 and LocalVariable localLength <=16 --> valid
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: