[asterisk-users] How to launch batch whenever Asterisk (re)start ?

Steve Totaro stotaro at totarotechnologies.com
Thu Oct 16 02:11:03 CDT 2008


On Thu, Oct 16, 2008 at 2:57 AM, Olivier <oza-4h07 at myamail.com> wrote:
> Hi,
>
> Using Asterisk 1.4, I would like to send a couple of SIP notifies or various
> scripts whenever Asterisk restart.
> My concern is also deal with restart from CLI but I don't how Asterisk is
> restarted when using CLI.
>
> Is safe_asterisk used ?
> What is the best way to do ?
>
> Regards
>
>

I would suggest rc.local and forget init scripts.  Safe_asterisk is
useful, but I call that from rc.local.

Thanks,
Steve Totaro
The Insomniac



More information about the asterisk-users mailing list