05-12-2009 02:35 AM - edited 03-13-2019 06:20 PM
Can anyone comment whether the tcl command "ios_config" is supported when a script is run as a service, executed from a dial-peer, or how to make it work?
After sorting out an issue with script signing (thanks jclarke!) I am now facing this as my next issue.
When the script executes I get errors like "invalid command "ios_config"", and the configuration commands that should be run obviously arent.
Thanks.
Tom
05-12-2009 08:53 AM
I think TCL/IVR and tclsh do not share extensions. That is, certain things you can do only from one and not the other.
It is tricky to do configuration from a TCL/IVR script. I tought of few ideas one is to post config changes in a flash file executed by a tclsh "daemon".
05-12-2009 03:45 PM
Hi Paolo,
Do you know if it is possible to use the exec command?
Perhaps you could execute a script via tclsh and pass it a couple of parameters?
Thanks,
Tom
05-13-2009 07:19 AM
No exec in TCL/IVR I'm afraid.
That's why it's tricky.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide