ios_config from tcl script called as service from dial-peer

Unanswered Question
May 12th, 2009

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.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Paolo Bevilacqua Tue, 05/12/2009 - 08:53

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".

tom.storey Tue, 05/12/2009 - 15:45

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?




This Discussion