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

Olivier oza-4h07 at myamail.com
Fri Oct 17 03:32:08 CDT 2008


Hi,

2008/10/16 Torbjörn Abrahamsson <torbjorn.abrahamsson at gmail.com>

> Olivier wrote:
> > 2008/10/16 Torbjörn Abrahamsson <torbjorn.abrahamsson at gmail.com>
> >
> >> You could use #exec statements in one of your config-files.
> >
> >
> > Could you elaborate ?
> > Which of /etc/asterisk files are thinking of ?
> >
>
> You can put it in any of the files, as far as I know. sip.conf may be a
> good place, as you are doing stuff that is SIP related. Add this at the
> end of your sip.conf:
>
> ------------------
> #exec /tmp/do-on-restart.sh
>

I didn't know that one  !
I'll try it asap.
If my understanding is correct, that's  very interesting.

Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081017/30f8de88/attachment.htm 


More information about the asterisk-users mailing list