cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
73
Views
0
Helpful
0
Comments
cdnadmin
Community Member

Subject: RE: Digits Collect problem
Replied by: Anusha Kannappan on 01-04-2011 03:44:15 AM
Hi Srikanth,

Please try using the patterns for collecting digits as per you requirement

set pattern(1) "99.....9*"
set pattern(2) "88.....9*"
leg collectdigits $legID params pattern

For more info go through the document http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2_ch3.html#wp1036531

Thanks,
Anusha
This document was generated from CDN thread

Created by: srikanth satturi on 01-04-2011 02:16:57 AM
Hi Everyone, 
 
Need a favour. I wanna do following this, could anyone please suggest how to do it.
 
To ask input from user to enter destination number, i have ivr saying press *1 to redial, *2 to xxx, *3 to xxxx or please enter destination number.
 
The problem here is when i get '*' as input key i should allow only key and do some immediate action(like redialing not gonna wait for interdigit timeout), if i get some number as first key then i should accept digits of destination number(so here number will be of length >8).
 
 
So please anyone helpmeout so that i can have this config in inputparams. Thanks a lot.
 
Srikanth

Subject: RE: Digits Collect problem
Replied by: srikanth satturi on 01-04-2011 02:19:59 AM
please help me out...

Subject: RE: Digits Collect problem
Replied by: srikanth satturi on 01-04-2011 03:56:49 AM
thanks a lot, bu I wanna know one more thing here , like here could u please show an example so that it takes only "*[1-3]".. The "*" i mean special key does not mean everything which we commonly use in regex.

is this correct
set pattern(1) "*[1-3] "
set pattern(2) "[0-9]{0,15}"
Getting Started

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:

Quick Links