ios_config from tcl script called as service from dial-peer

Unanswered Question
May 12th, 2009
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
paolo bevilacqua Tue, 05/12/2009 - 08:53
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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
User Badges:

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

paolo bevilacqua Wed, 05/13/2009 - 07:19
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

No exec in TCL/IVR I'm afraid.

That's why it's tricky.

Actions

This Discussion