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

Jose P. Espinal jpe at slackware-es.com
Wed Mar 24 11:37:54 CDT 2010


Hi,

Have you tested safe_asterisk ?



Amine Mrichcha wrote:
> 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 
> <http://asterisk.org>@sedwards.com <http://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
>     <mailto: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
>     <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
> 
> 

-- 
Jose P. Espinal
http://www.eSlackware.com
IRC: Khratos @ #asterisk / -doc / -bugs




More information about the asterisk-users mailing list