I have several remtoe locations using the integrated services routers, I am currently opening each location monthy to update to this months MOH file. Is there a way to update all of them at the same time, or have the routers look for an updated version of the file from a server?
it's been a while since I visited this project but it's back on the table; here's where we are.
Using kron wont work by itself because it will only perform exec level commands that require no user interaction/confirmation. Copying files to the router is done via tftp from global not from exec so right off the bat I have the first problem. Once I get the file on the router I can use kron to make the config changes to use the new file but I first have to overcome how to get the file to the routers flash.
Ok so I think I can accomplish this with tcl and here's what I've got so far. Keep in mind that I need to copy a file to the router via tftp then change the config to reflect the new file.
typehead "y"#this should answer yes to the confirmation of all below statements
typehead "copy tftp://x.x.x.x/Moh.au flash:" #copy the file to the router and the name confirms via first statement
ios_config "config terminal" "telephony-service" "no moh" "moh Moh.au" "end" #make config changes and save
The current naming convention for the moh files is Dec2011.au since we update them monthy, by changing the name to Moh.au I think I'll be able to skip a step in deleting the previous months moh file. From what I've read I should be using "typehead" to issue commands to enter commands in the priv exec mode and "ios_config" to enter commands for global config. when I run the above tcl commands from the routers flash I get an error saying that "typehead" is an unknown command.
I am having some measure of success with the following;
This leaves the router at the Router(tcl)# prompt but it is at least copying the file and making the config changes. I'm not sure what problems I'd face with leaving the router at that prompt or if it'll timeout based on my vty timeout settings.
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...