<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: inline DTMF Digits grammar</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4590853" />
  <subtitle>RE: inline DTMF Digits grammar</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4590853</id>
  <updated>2013-06-19T21:39:06Z</updated>
  <dc:date>2013-06-19T21:39:06Z</dc:date>
  <entry>
    <title>RE: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7548722" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7548722</id>
    <updated>2012-10-12T06:24:41Z</updated>
    <published>2012-10-12T06:24:41Z</published>
    <summary type="html"> 
Hi Asher,



I've found that with DTMF-Only gateway, you have to specify this in the 
gateway CLI, otherwise it won't accept * and digits.

'vxml allow-star-digit'



If you do 'vxml allow-star-digit' in the gateway and then use a Digits 
element, with MinDigits:2 and MaxDigits:4 and set the Local Hotlink to \*,

then it exits immediately down the hotlinks path if the caller presses 
*. And otherwise allows 2-4 digits.



Note that with DTMF-only, you ONLY need to use \* in the Form element 
and the HotLinks (both global and local), But in the Menu elements, use 
just * (no backslash).



I've also found this week, much to my surprise, that the DTMF-only 
doesn't behave exactly as expected when I use a Form element with the 
following:

+DTMF Grammar: builtin:dtmf/digits?length=5

+DTMF Grammar: builtin:dtmf/digits?length=9



In this case, it accepts 5 or more digits, not just 5 or 9 as I'd expected.



Live and learn.</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2012-10-12T06:24:41Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7546358" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7546358</id>
    <updated>2012-10-12T06:23:26Z</updated>
    <published>2012-10-12T06:23:26Z</published>
    <summary type="html">Hi Asher,

I've found that with DTMF-Only gateway, you have to specify this in the 
gateway CLI, otherwise it won't accept * and digits.
'vxml allow-star-digit'

If you do 'vxml allow-star-digit' in the gateway and then use a Digits 
element, with MinDigits:2 and MaxDigits:4 and set the Local Hotlink to \*,
then it exits immediately down the hotlinks path if the caller presses 
*. And otherwise allows 2-4 digits.

Note that with DTMF-only, you ONLY need to use \* in the Form element 
and the HotLinks (both global and local), But in the Menu elements, use 
just * (no backslash).

I've also found this week, much to my surprise, that the DTMF-only 
doesn't behave exactly as expected when I use a Form element with the 
following:
+DTMF Grammar: builtin:dtmf/digits?length=5
+DTMF Grammar: builtin:dtmf/digits?length=9

In this case, it accepts 5 or more digits, not just 5 or 9 as I'd expected.

Live and learn.</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2012-10-12T06:23:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7542520" />
    <author>
      <name>Asher Schweigart</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7542520</id>
    <updated>2012-10-12T00:29:42Z</updated>
    <published>2012-10-12T00:29:42Z</published>
    <summary type="html">I have figured how to do what I wanted to do, sort of

I am using the form element, and using the wildcards. I figured out that putting spaced in between the keypress string is no different than creating a new keypress row.
So “.. .? .?” is the same as three entries “..” “.?” “.?”
The document that Janine linked to says that if the pattern ends in a repetition operator (?, +, or *), additional digits after the patter will be matched. So, .? is the same as .*

Also, I remembered that the matching stops looking as soon as it finds a match. I was remembering incorrectly when I wrote the last post; the string I was using, “.. .? .?” matched 1 or 2 digits, and that’s it. That’s because as soon as I entered two digits, the “..” pattern was matched, and the program stopped looking.
So, to match 1-4 digits, the pattern would be: “.... .?”, or “.... .*”

I found no easy way to match 2-4 digits though. If you did the patter “.... .. .?”, as soon as you entered 2 digits the pattern would be matched.

However, the reason I needed to match 2-4 digits is to collect a year that is greater than today. So, I can assume that all 4 digit dates are going to start with 2, and I can do the following pattern:
“2... 1. 3. 4. 5. 6. .8 .9. 0. .?”
The only special case here would be trying to enter a 2-digit year that starts with 2. To handle that, I’ll just set the interdigittimeout to something like 1500ms. I’ll still have to check if the year is valid, because a user could enter 237, and that would be valid, but at least this way for most cases the input will be valid and immediately accepted without the user having to wait for the interdigittimeout to kick in.</summary>
    <dc:creator>Asher Schweigart</dc:creator>
    <dc:date>2012-10-12T00:29:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7540702" />
    <author>
      <name>Asher Schweigart</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7540702</id>
    <updated>2012-10-11T22:00:04Z</updated>
    <published>2012-10-11T22:00:04Z</published>
    <summary type="html">Ok, that's odd, for some reason one of Corey's posts was posted instead of what I was trying to post! (twice!) Sorry about that!
Corey, did you ever figure out how to do this? I am trying to do something similar; I am trying to collect 2-4 digits and have * as a local hotlink.
I tried a digits element, but with \* as a hotlink pressing star produces a nomatch. With * as the hotlink, an error.semantic is thrown.
I tried a number element as well, but it generates a error.semantic for both * and \*
Then I tried a form element, since I am using \* as a hotlink for it elsewhere with no issues.
I tried using builtin:dtmf?maxlength=5 in the dtmf grammar setting for the digits element, but it was ignored.
Then I tried ".. .? .?" in the keypress setting. That exited with a mismatch if you entered less than 2 digits, but it still allowed more than 4.
 </summary>
    <dc:creator>Asher Schweigart</dc:creator>
    <dc:date>2012-10-11T22:00:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from GEOFFREY THOMPSON in Customer Voice Portal (CVP) - CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7538456" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7538456</id>
    <updated>2012-10-11T21:45:26Z</updated>
    <published>2012-10-11T21:45:26Z</published>
    <summary type="html">Sorry – forgot to add that I catch it with a local hotlink

&lt;local_hotlinks&gt;
&lt;local_hotlink&gt;
&lt;name&gt;Star&lt;/name&gt;
&lt;dtmf_grammar_type&gt;Inline&lt;/dtmf_grammar_type&gt;
&lt;dtmf_grammar_value&gt;\*&lt;/dtmf_grammar_value&gt;
&lt;speech_grammar_type&gt;-&lt;/speech_grammar_type&gt;
&lt;speech_grammar_value/&gt;
&lt;throws_event&gt;false&lt;/throws_event&gt;
&lt;event_name/&gt;
&lt;/local_hotlink&gt;
&lt;/local_hotlinks&gt;

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-10-11T21:45:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7538388" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7538388</id>
    <updated>2012-10-11T21:38:26Z</updated>
    <published>2012-10-11T21:38:26Z</published>
    <summary type="html">I have something similar. “Please enter the check number followed by the pound sign. To return to the main menu, press star.”

&lt;setting name="dtmf_grammar"&gt;builtin:dtmf/digits?maxlength=11&lt;/setting&gt;

Regards,
Geoff
--------------------------------------------------------------------
Geoff Thompson            Unified Contact Center Practice
Email:  geoff@hp.com      HP Technology Consulting
Phone:  +1.650.236.0290   Hewlett-Packard Company
Mobile: +1.408.204.5297   1501 Page Mill Rd, Palo Alto, CA 94304
____________________________________________________________________

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, October 11, 2012 4:30 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP - All Versions: RE: inline DTMF Digits grammar

Asher Schweigart has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- I am trying to create a form that accepts 4-10 digits and also accepts a *. Right now the system is only generating the keypress * and not the Grammar builtin:dtmf/digits
--
To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/7537946 or simply reply to this email.</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-10-11T21:38:26Z</dc:date>
  </entry>
  <entry>
    <title>Automatic reply: New Message from Asher Schweigart in Customer Voice Portal</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7537990" />
    <author>
      <name>Greg Worm</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7537990</id>
    <updated>2012-10-11T21:30:42Z</updated>
    <published>2012-10-11T21:30:42Z</published>
    <summary type="html">I will be travelling October 5th though October 19th. If you require immediate assistance, please call the DDV Hotline at 651.686.4300.</summary>
    <dc:creator>Greg Worm</dc:creator>
    <dc:date>2012-10-11T21:30:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7537946" />
    <author>
      <name>Asher Schweigart</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7537946</id>
    <updated>2012-10-11T21:30:06Z</updated>
    <published>2012-10-11T21:30:06Z</published>
    <summary type="html">I am trying to create a form that accepts 4-10 digits and also accepts a *.  Right now the system is only generating the keypress * and not the Grammar builtin:dtmf/digits</summary>
    <dc:creator>Asher Schweigart</dc:creator>
    <dc:date>2012-10-11T21:30:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4633314" />
    <author>
      <name>Corey Junge</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4633314</id>
    <updated>2011-10-21T15:07:43Z</updated>
    <published>2011-10-21T15:07:43Z</published>
    <summary type="html">Janine,

I tested it with being part of the VXML Gateway CLI only.  I'm not sure if there is another way for this to work properly.
It seems this command Overrides the VXML 2.0 command, default behavior, as far as I know as it is a gateway command its all or nothing.
As far as i know the only element that this really affected was the Digits element, If that helps.
We could not get the builtin:dtmf/digits?minlength=4;maxlength=7) Length checking working at all.
Luckily the built-in min / max checks are working properly in the Digits element.

Regards,
Corey Junge</summary>
    <dc:creator>Corey Junge</dc:creator>
    <dc:date>2011-10-21T15:07:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4636549" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4636549</id>
    <updated>2011-10-21T14:50:05Z</updated>
    <published>2011-10-21T14:50:05Z</published>
    <summary type="html">Hi Corey,

Does that command have to be part of the gateway CLI? Or can you execute it for one node in the studio app?
I'm wondering if there's a way to allow * with digits grammar only on certain elements in studio? Or is it "all or nothing"?
Do you know how to specify using regex for the gateway to allow 4 to 7 digits (if I didn't want to use the builtin:dtmf/digits?minlength=4;maxlength=7)?
Without allowing the star key? And then also if I wanted to allow the star key?

Thanks, Janine</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2011-10-21T14:50:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4628177" />
    <author>
      <name>Corey Junge</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4628177</id>
    <updated>2011-10-19T22:50:26Z</updated>
    <published>2011-10-19T22:50:26Z</published>
    <summary type="html">Hey Greg,

Maybe you should try "vxml allow-star-digit"

on your vxml gateway

Thanks,
Corey</summary>
    <dc:creator>Corey Junge</dc:creator>
    <dc:date>2011-10-19T22:50:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4618367" />
    <author>
      <name>Greg Worm</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4618367</id>
    <updated>2011-10-17T19:51:06Z</updated>
    <published>2011-10-17T19:51:06Z</published>
    <summary type="html">After further review adding a DTMF grammar of builtin:dtmf/digits?minlength=4;maxlength=10 does not work.  Infact the grammar is ignored and you can enter any combination of keypresses.  The grammar tag is not even pressent in the VXML that CVP generates.</summary>
    <dc:creator>Greg Worm</dc:creator>
    <dc:date>2011-10-17T19:51:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594656" />
    <author>
      <name>Greg Worm</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594656</id>
    <updated>2011-10-12T21:15:48Z</updated>
    <published>2011-10-12T21:15:48Z</published>
    <summary type="html">I think my original problem was that i was trying to use the Digits object with the \* using custom code.  Then I switched to a Form and tried using the Grammar and Keypress together.  Neither of these combos worked and Using a \* in a Hotlink does not work with the Menus or Digits object.  I am finding some strange behavior using the Cisco DTMF.</summary>
    <dc:creator>Greg Worm</dc:creator>
    <dc:date>2011-10-12T21:15:48Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Greg Worm in Customer Voice Portal (CVP) - CVP - All V</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4596674" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4596674</id>
    <updated>2011-10-12T21:12:28Z</updated>
    <published>2011-10-12T21:12:28Z</published>
    <summary type="html">Hi Greg,

But, I thought that 'builtin:dtmf/digits?minlength=4;maxlength=10' 
didn't work?

Are you saying that the builtin works so long as you DON"T fill in the 
\* as the keypress?



-- 
Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2011-10-12T21:12:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594648" />
    <author>
      <name>Greg Worm</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594648</id>
    <updated>2011-10-12T21:07:57Z</updated>
    <published>2011-10-12T21:07:57Z</published>
    <summary type="html">In the form I endered "builtin:dtmf/digits?minlength=4;maxlength=10" in the DTMF Grammar spot and "\*" in the Hotlink</summary>
    <dc:creator>Greg Worm</dc:creator>
    <dc:date>2011-10-12T21:07:57Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Greg Worm in Customer Voice Portal (CVP) - CVP - All V</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4596670" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4596670</id>
    <updated>2011-10-12T20:52:28Z</updated>
    <published>2011-10-12T20:52:28Z</published>
    <summary type="html">What did you put into the form element and the hotlink to get it to accept 4-10 digits? On 10/12/2011 3:36 PM, Cisco Developer Community Forums wrote: Greg Worm has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- The problem with that approch is that is accepts non-digit numbers. .....?.?.? accepts 1*1*1*1*. I only need digits. I got My issue to work woth a Form element and a HotLink. Not the best or right way but it is working. -- To respond to this post, please click the following link: &lt;http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/4594596&gt; or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2011-10-12T20:52:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594599" />
    <author>
      <name>Greg Worm</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594599</id>
    <updated>2011-10-12T20:36:59Z</updated>
    <published>2011-10-12T20:36:59Z</published>
    <summary type="html">Thanks for all of your help!</summary>
    <dc:creator>Greg Worm</dc:creator>
    <dc:date>2011-10-12T20:36:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594596" />
    <author>
      <name>Greg Worm</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4594596</id>
    <updated>2011-10-12T20:36:35Z</updated>
    <published>2011-10-12T20:36:35Z</published>
    <summary type="html">The problem with that approch is that is accepts non-digit numbers.  .....?.?.? accepts 1*1*1*1*.  I only need digits.  I got My issue to work woth a Form element and a HotLink.  Not the best or right way but it is working.</summary>
    <dc:creator>Greg Worm</dc:creator>
    <dc:date>2011-10-12T20:36:35Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Greg Worm in Customer Voice Portal (CVP) - CVP - All V</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4596558" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4596558</id>
    <updated>2011-10-12T20:27:28Z</updated>
    <published>2011-10-12T20:27:28Z</published>
    <summary type="html">Greg, I agree that the builtin:dtmf/digits doesn't seem to work anymore. It used to. And according to the documentation, it still should. "The &lt;field&gt; builtin types digits and number accept any nondigit input." -------------------------------------------------- But, until Cisco fixes that, here's a possible workaround. In the Cisco VoiceXML Programming Guide (not the Programming Guide for Studio/Vxml Server, but the Guide for the gateway), it talks about using Regular Expressions for the gateway's DTMF grammar. Search for "Cisco DTMF Grammar".  (See below) --------------------------------------------------- It looks like you could probably use the Form and enter this on the DTMF Keypress setting:   .... .? .? .? .? .? .?  (this seems as it would allow 4 to 10 digits (4 dots followed by  space-dot-question mark 6 times). -------------------------------------------------- -------------------------------------------------- .  (dot) Matches any single character. For example, Cisco DTMF grammar with a regular expression &lt;grammar type= ¿application/grammar+regex¿&gt;1408.......&lt;/grammar&gt; matches a seven digit phone number with the leading area code 1408. ----------------------------------------------- \ (backslash) The quoting character. It removes any special meaning from the following character and treats it as an ordinary character. For example, &lt;grammar type= ¿application/grammar+regex¿&gt;\*&lt;/grammar&gt; matches a literal asterisk (star) key, not the asterisk repetition operator. ------------------------------------------------ ? Matches zero or one occurrence of the character or regular expression immediately preceding. For example, &lt;grammar type= ¿application/grammar+regex¿&gt;408?&lt;/grammar&gt; matches 40, 4088, 40888, 408123, 4083456. The match occurs for 408, 4088, 40888 and also for 408 followed by other extra digits that occur after 408. ---------------------------------------------- + Matches one or more occurrences of the character or regular expression immediately preceding. For example, &lt;grammar type= ¿application/grammar+regex¿&gt;408+&lt;/grammar&gt; matches 408, 4088, 40888, 408123, 408883456. The match occurs not only for 408, 4088, 40888 but also for 408 followed by other extra digits that occur after 408. ------------------------------------------------ * Matches zero or more occurrences of the character immediately preceding. For example, &lt;grammar type= ¿application/grammar+regex¿&gt;408*&lt;/grammar&gt; matches 40, 4088, 40888, 408123, 4083456. The match occurs not only for 408, 4088, 40888 but also for 408 followed by other extra digits that occur after 408. ------------------------------------------------ Only the previously listed metacharacters are supported. When an unsupported metacharacter is used, no error will be triggered. However, input recognition will produce unexpected results. In addition to matching the original pattern, the DTMF grammar matches the original pattern followed by extra digits. Matching of extra digits occurs only if the repetition operators are at the end of a pattern. Regular expression for DTMF grammar allows you to use only empty spaces instead of the operator | to join characters. For example: ¿To join \* and .+ use an empty space instead of the operator |. See the following example: &lt;grammar type= ¿application/grammar+regex¿&gt;\* .+&lt;/grammar&gt; The &lt;field&gt; builtin types digits and number accept any nondigit input. A nomatch event is not generated. Regards Janine ------------- ------------ ----------- On 10/12/2011 10:50 AM, Cisco Developer Community Forums wrote: Greg Worm has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- 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. -- To respond to this post, please click the following link: &lt;http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/4592156&gt; or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2011-10-12T20:27:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: inline DTMF Digits grammar</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4593883" />
    <author>
      <name>Hemal Mehta</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4593883</id>
    <updated>2011-10-12T18:42:21Z</updated>
    <published>2011-10-12T18:42:21Z</published>
    <summary type="html">[quote]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.[/quote]

Java code cannot typically catch a hotlink. You can use the hotlink to throw a event which calls a java class and there you can set the session variables.</summary>
    <dc:creator>Hemal Mehta</dc:creator>
    <dc:date>2011-10-12T18:42:21Z</dc:date>
  </entry>
</feed>

