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

PlayPrompt in TCL Scripts


I'm currently working on a TCL script to play a welcome message. I'm using the playprompt command like:

set prompt(interrupt) true

set prompt(abortKey) *

set event [playPrompt prompt info tftp://XX.XX.XXX.XXX/]

return 0

but i got the following error::

3d06h: $ $pc_mc_addDynamicS() :(1) tftp://XX.XX.XXX.XXX/welcome_voiss.auDoing : tftp://XX.XX.XXX.XXX/

3d06h: Token : tftp://XX.XX.XXX.XXX/

3d06h: $ $du_get_vpPromptName() au_location[3][0].locationUrl NULL.

It seems that the Gateway couldn't find the file. I tried to read the file from the Flash memory but it doesn't work neither. I would appreciate any help.



Re: PlayPrompt in TCL Scripts

There could be many reasons for this. First and foremost thing you could do is check the connectivity between the Gateway and the TFTP server using the ping command. Secondly, check if you can access the audio file and open it. If both of these conditions are fine then you could check for the correctness of the TCL scripts and the commands.To understand TCL scripts and the commands better, please refer the link given below:

TCL IVR API Version 1.0 Programmer's Guide

New Member

Re: PlayPrompt in TCL Scripts


The first thing I checked was the connectivity between the TFTP and the Gateway. I already resolve this problem. I define a language and a location for the .au file in the config of the Gateway:

call application voice session_voiss flash:session_voiss.tcl

and I added:

call application voice session_voiss language 0 sp

call application voice session_voiss set-location sp 0

Thanks Anyway.

CreatePlease login to create content