TCL IVR Problems with media play command

Unanswered Question
Aug 17th, 2007
User Badges:

I have a tcl Script for an app_debitcard for the IVR application running over a Cisco router 3660 with a billing server that's communicate over the radius


The documents that best describes this sort of application is TCL IVR Version 2.0. Programming Guide.pdf from

I am playing the currency and money amount with this command on my IVR :

media play leg_incoming %a$amt %s1000

I need to find a solution to change and (which are played by default for this "media play leg_incoming %a$amt" command) into

and !

Can I change this default setting from and into and for "media play leg_incoming %a$amt" command ?

How can I do it?

I suppose that infotag must have an option but I haven't found any option for modifing the default and

Thank you and eagerly waiting for your help !

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
hadbou Thu, 08/23/2007 - 06:13
User Badges:
  • Bronze, 100 points or more

The TCL IVR failure originates from the fact that the interpreter of TCL is ignoring the if control.

if {$amt <= 0}

it instead executes the else command

else { media play leg_incoming %a$amt %s1000 } and passes to the translation script a parameter with NEGATIVE value which corresponds to a negative amount of money for translation.

calinbratu Thu, 08/23/2007 - 08:13
User Badges:

Dear Hadbou,

My problem is not this - I need for the IVR to play in colloquial mode the money amount and let me change the file - for playing - whenever I want to ... because I need both types of currency in my script.

In rest the script function well ! No errors...

Thank you,

Waiting for your help,



This Discussion