Does anyone have a working way of having a Cisco 7960 reload its config remotely. I have tried some of the scripts that I have found on the web, but to no avail. Thanks for the help. B. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040116/aa4eda3c/attachment.htm
On Fri, Jan 16, 2004 at 12:13:19PM -0600, B. J. Bomar wrote:> Does anyone have a working way of having a Cisco 7960 reload its config > remotely. I have tried some of the scripts that I have found on the web, > but to no avail. Thanks for the help.I just telnet to it and then enter the `reset` command. Are you trying to do it automatically from a script? -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************
One way maybe not the best, but can work. If you are pulling down the config from a tftp server. Turn on telnet to the phone. Create a perl script to telnet and reboot the phone. When the phone boots back up it will grab the new config from the tftp server. -gcc -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of B. J. Bomar Posted At: Friday, January 16, 2004 1:13 PM Posted To: Asterisk User Group Conversation: [Asterisk-Users] Remote reload Cisco 7960 Subject: [Asterisk-Users] Remote reload Cisco 7960 Does anyone have a working way of having a Cisco 7960 reload its config remotely. I have tried some of the scripts that I have found on the web, but to no avail. Thanks for the help. B. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040116/f8583520/attachment.htm
Quoting "B. J. Bomar" <bbomar@raccoon.com>:> Does anyone have a working way of having a Cisco 7960 reload its config > remotely. I have tried some of the scripts that I have found on the web, > but to no avail. Thanks for the help.Try telnetting into the phone, and use the ?/help command. You should see a restart or reload command. This will do the trick. Ray Burkholder 704 644 6999 x2002 http://www.oneunified.net ray@oneunified.net ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- Scanned for viruses and dangerous content at http://www.oneunified.net and is believed to be clean.
BJ, You can remotely login into the phone via Telnet, and then perform a reboot or reload. There is supposed to be a message header that can be sent to the phone (which is why it's normally found as a web based script, that creates a header and sends it to a specific port), but it's never worked for me. The best solution, is to create a web app that just remotely sends the reboot via Telnet. Regards, Ad. On 16 Jan 2004, at 6:39 pm, asterisk-users-request@lists.digium.com wrote:> Message: 8 > From: "B. J. Bomar" <bbomar@raccoon.com> > To: <asterisk-users@lists.digium.com> > Date: Fri, 16 Jan 2004 12:13:19 -0600 > Subject: [Asterisk-Users] Remote reload Cisco 7960 > Reply-To: asterisk-users@lists.digium.com > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0092_01C3DC2A.223F3250 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > Does anyone have a working way of having a Cisco 7960 reload its config > remotely. I have tried some of the scripts that I have found on the > web, > but to no avail. Thanks for the help. > > B. J.
Yes, I was wanting to do it via a script, but telneting in will work as a stop gap. B. J. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Walker Haddock Sent: Friday, January 16, 2004 13:46 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Remote reload Cisco 7960 On Fri, Jan 16, 2004 at 12:13:19PM -0600, B. J. Bomar wrote:> Does anyone have a working way of having a Cisco 7960 reload its config > remotely. I have tried some of the scripts that I have found on the web, > but to no avail. Thanks for the help.I just telnet to it and then enter the `reset` command. Are you trying to do it automatically from a script? -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 *********************************************************************** _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Is there a way to have grab the new config without completely rebooting. Something like erasing the config if you are at the phone. B. J. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Ray Burkholder Sent: Friday, January 16, 2004 14:33 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Remote reload Cisco 7960 Quoting "B. J. Bomar" <bbomar@raccoon.com>:> Does anyone have a working way of having a Cisco 7960 reload its config > remotely. I have tried some of the scripts that I have found on the web, > but to no avail. Thanks for the help.Try telnetting into the phone, and use the ?/help command. You should see a restart or reload command. This will do the trick. Ray Burkholder 704 644 6999 x2002 http://www.oneunified.net ray@oneunified.net ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- Scanned for viruses and dangerous content at http://www.oneunified.net and is believed to be clean. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
> Does anyone have a working way of having a Cisco 7960 reload its config remotely. Ihave tried some of the scripts that I have found> on the web, but to no avail. Thanks for the help.telnet to the box and reload it. command line has the ability. rich
http://www.bkw.org/~brian/cisco/reboot7960.txt or you can us this handy perl script.. NEXT!!! bkw On Fri, 16 Jan 2004, Rich Adamson wrote:> > Does anyone have a working way of having a Cisco 7960 reload its config remotely. I > have tried some of the scripts that I have found > > on the web, but to no avail. Thanks for the help. > > telnet to the box and reload it. command line has the ability. > > rich > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
On Fri, 2004-01-16 at 15:26, B. J. Bomar wrote:> Yes, I was wanting to do it via a script, but telneting in will work as a > stop gap.So learn how to telnet with perl.> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Walker Haddock > Sent: Friday, January 16, 2004 13:46 > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Remote reload Cisco 7960 > > > On Fri, Jan 16, 2004 at 12:13:19PM -0600, B. J. Bomar wrote: > > Does anyone have a working way of having a Cisco 7960 reload its config > > remotely. I have tried some of the scripts that I have found on the web, > > but to no avail. Thanks for the help. > > I just telnet to it and then enter the `reset` command. Are you trying to > do it automatically from a script?
Their is no need to telnet with perl you can just shove a notify packet down the cisco and let it reboot on its own. Really easy. bkw On Sat, 17 Jan 2004, Steven Critchfield wrote:> On Fri, 2004-01-16 at 15:26, B. J. Bomar wrote: > > Yes, I was wanting to do it via a script, but telneting in will work as a > > stop gap. > > So learn how to telnet with perl. > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Walker Haddock > > Sent: Friday, January 16, 2004 13:46 > > To: asterisk-users@lists.digium.com > > Subject: Re: [Asterisk-Users] Remote reload Cisco 7960 > > > > > > On Fri, Jan 16, 2004 at 12:13:19PM -0600, B. J. Bomar wrote: > > > Does anyone have a working way of having a Cisco 7960 reload its config > > > remotely. I have tried some of the scripts that I have found on the web, > > > but to no avail. Thanks for the help. > > > > I just telnet to it and then enter the `reset` command. Are you trying to > > do it automatically from a script? > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
You need a little more to make this script reboot the phone. It basically instructs the phone to check a file called 'syncinfo.xml' at its TFTP URL. This file needs to contain the following line: <IMAGE VERSION="*" SYNC="2"/> The number 2 above is the sync value which must be different (I think higher) than the sync: field defined in your SIPDefault.cnf file. Then the script should do its stuff and reboot the phone. Rgds, Adam -----Original Message----- From: B. J. Bomar [mailto:bbomar@raccoon.com] Sent: Monday, January 19, 2004 6:42 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Remote reload Cisco 7960 I've tried to use that script, but the phones seem to ignore it. I am in the process of upgrading to 6.1 on the phones, maybe they will behave like they're supposed to. B. J. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Brian West Sent: Friday, January 16, 2004 22:27 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Remote reload Cisco 7960 http://www.bkw.org/~brian/cisco/reboot7960.txt or you can us this handy perl script.. NEXT!!! bkw On Fri, 16 Jan 2004, Rich Adamson wrote:> > Does anyone have a working way of having a Cisco 7960 reload its configremotely. I> have tried some of the scripts that I have found > > on the web, but to no avail. Thanks for the help. > > telnet to the box and reload it. command line has the ability. > > rich > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person