« Back to TCL-API

Tcl Application calling tclsh script

Combination View Flat View Tree View
Threads [ Previous | Next ]
Is there a way to call a tclsh script from within a Tcl/IVR application?
I've got a Tcl script that works fine when run from tclsh on the command line, but I want to trigger it on an incoming call and it seems that all the tclsh commands are not supported in the tcl/ivr application runtime.
 
Any ideas?

Please refer to
 
Cisco Tcl IVR 2.0 Programming Guide
 
http://developer.cisco.com/c/document_library/get_file?folderId=162164&name=DLFE-10902.pdf
 
First page of chapter 3 for what standard Tcl commands are supported what are not.
 
Also refer to this document for how to trigger the application and the sample scripts in
http://developer.cisco.com/web/vgapi/resources
 
Thanks!
 
 

I have reviewed these documents in the past.  What I'm looking for is whether anyone knows how to execute the tclsh scripts from the IVR scripts.  I can trigger a tcl application from a call.  But I want the bigger featureset of the CLI-tclsh.  There are more commands available in the CLI-tclsh than there are in the IVR-tcl interpreter.  So I was hoping for a way to execute a tcl script from the IVR tcl application.
 
Does this make sense?
 
 

Tcl-IVR API includes the standard commands and APIs specified in programming guide. It's used mostly for call control and IVR applications. If you are looking for something like execute IOS CLI commands within Tcl then Tcl IVR API won't be able to do that. There is another way to use Tcl script
 
Cisco IOS Embedded Event Manager (EEM)
 
http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.html
 
Have you checked this option ?
 
Thanks !