[asterisk-users] Restarting Asterisk using a script - Thanks to all -

Amine Mrichcha mrichcha at gmail.com
Wed Mar 24 11:24:43 CDT 2010


Hi Steve,

Thanks. Yes it is crashing but as a workaround we restart it and we are
investigating about the root cause.

My question was if it is possible to create a patch script or somthing like
this that we can launch from a PC without directly access the server.

Regards,

On Wed, Mar 24, 2010 at 5:11 PM, Steve Edwards <asterisk.org at sedwards.com>wrote:

>  On Wed, 24 Mar 2010, Amine Mrichcha wrote:
>
> > I do have asterisk installed for a call center and I would like to know
> > if it is possible to create a scipt and execute it from a PC connected
> > to the Network without accessing the server. This script should restart
> > asterisk and another service related to aheeva.
> >
> > The problem now is that each time I have to access using PUTY to the
> > server to start and run services manually.
> >
> > Service asterisk restart
> >
> > Any help would be appreciated, sorry if it is a newbie question.
>
> Why do you need to restart Asterisk? Is it crashing (in which case you
> should fix the underlying cause, not just put a band-aid over it) or is it
> not starting when the system is started?
>
> If you are not going to access the server, what event is going to trigger
> the execution of your script?
>
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100324/a01ec42b/attachment-0001.htm 


More information about the asterisk-users mailing list