Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Understanding getDigits==

I'm trying to understand the getDigits line in a scipt.

          If (getDigits ==  "9") then

I was always under the impression that getDigits was looking for a key press of that number, so in the example below if 5 was pressed it would go to Redirect. But in the case above it doesnt seem to be a keypress so in the example above does this represent 9 seconds?

     example: getDigits=5 then Redirect

Everyone's tags (2)
2 REPLIES

Understanding getDigits==

Taken out of context I would say that a line like:

if (getDigits == "9") then

Means that there is a string variable in the script that is collecting digits for later evaluation.

HTH

-Bill (@ucguerrilla)

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

New Member

Understanding getDigits==

Hopefully this will help, what I'm trying to understand is getDigits==9 in the Timeout piece. I like to understand what is happening on the caller side to get to the set = redirectNumber = pager

Whether its a certain keypress like 9, or if its 9 random keypresses or 9 seconds, etc.  Thanks for any ideas!

the

158
Views
0
Helpful
2
Replies
CreatePlease to create content