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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

TCL Problem: Cannot collect further digits

Hi All,

Was hoping to get some expertise for a script I have written for a customer POCL.

Essentially, the problem is that when the third option in the switch is chosen, it doesnt collect digits and just sits there waiting.

I just would like some assistance in making it proceed to the next step to collect digits.

Thank you,

Stew

4 REPLIES
New Member

Re: TCL Problem: Cannot collect further digits

Wasn't able to attach the text file in the original post so apologies for another post on this subject.

In the attachment, the parameter "params" for collecting digits is commented out but that is a typo and I rectified that.

Attachment Keywords :

1) cco-netpro.txt

Hall of Fame Super Gold

Re: TCL Problem: Cannot collect further digits

Sometime it is not very easy to debug TCL/IVR own scripts and moreover other's ones...

You can look at some scripts of mine that collect lots of digits, eg alarm.tcl

http://pbevila.fastmail.fm/public

New Member

Re: TCL Problem: Cannot collect further digits

Thank you, I will take a look and try and get some inspiration...

New Member

Re: TCL Problem: Cannot collect further digits

Thank you, I was missing a global statement for the parameter tied to the collectdigits.

One more query as regards EEM if I may, I would like to collect the output of show log, take out a specific string from it and assign it to a variable.

I believe the logic would be like this but still trying to translate it to EEM:

set a (show log | incl % IVR)

set b (string a 4555)

# we only want 4555 from the syslog message

I would appreciate some guidance.

190
Views
0
Helpful
4
Replies