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

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

TCL IVR Problems with media play command

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 !


Re: TCL IVR Problems with media play command

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.

New Member

Re: TCL IVR Problems with media play command

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,