cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
79
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Muhammad Amir Raza on 05-07-2011 05:53:07 AM
Hi ,
 
     I want to play two announments with tcl scripts, first when call arrives and 2nd when call will be connected to end user.
 
 
Regards,
MAR

Subject: RE: TCL (two announcments)
Replied by: Muhammad Amir Raza on 05-07-2011 06:06:46 AM
Let me clarify more, I want to play 2nd announcment when both parties are connected. caller n end point.

Subject: RE: TCL (two announcments)
Replied by: Anusha Kannappan on 05-07-2011 06:26:23 AM
Hi MAR,

Make use of media play command for playing the announcements

The media play command plays the specified prompt on the specified call leg.

Syntax
media play {legID | info-tag} {<url> | <token>}+

Example:
media play leg_outgoing flash:en_enter_dest.au.

Also please note that you can't play media when the call is in active, you need to destroy connnection and then play media file.

Also you can find samples in the below link for your reference

http://developer.cisco.com/web/vgapi/docs

Thanks,
Anusha

Subject: RE: TCL (two announcments)
Replied by: Anusha Kannappan on 06-07-2011 06:54:44 AM
Hi MAR,

You can download the debitcard application(app-debitcard.2.0.2.8a.zip) from the below mentioned link and tweak the applications as per your requirement.

http://www.cisco.com/cisco/software/release.html?mdfid=277641082&flowid=5337&softwareid=283451126&release=2.0.2.8&rellifecycle=&relind=AVAILABLE&reltype=all

Also would recommend you to go through the TCL IVR API programming guide from the following link to gain the basic knowledge for developing the scripts

http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2.html

Thanks,
Anusha

Subject: RE: TCL (two announcments)
Replied by: Muhammad Amir Raza on 06-07-2011 04:30:53 AM
Hi Anusha,

                 Thank you so much for your quick responce, that's my first time I am using tcl scripts and not good in programming.
I would really appreciate if you can share samle tcl scritp or modify and sahre. thanks in advance.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links