TCL Problem: Cannot collect further digits

Unanswered Question
May 13th, 2009
User Badges:

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,


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
stewart-smith Wed, 05/13/2009 - 05:52
User Badges:

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

paolo bevilacqua Wed, 05/13/2009 - 07:23
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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

stewart-smith Wed, 05/13/2009 - 07:32
User Badges:

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

stewart-smith Wed, 05/13/2009 - 09:40
User Badges:

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.


This Discussion