Olivier
2009-Sep-22 15:25 UTC
[asterisk-users] How to associate a custom script to "core stop now"
Hello, I would to create a custom file whenever a "core stop now" command is typed through Asterisk console. (If this file is present, it would mean admin has choosen to stop Asterisk and it shouldn't be tried to restart Asterisk automatically). Obviously, when such "core stop now" command is typed, "/etc/init.d/asterisk stop" is not launched so I can't use this single /etc/init.d/asterisk as a way to tell what should or shouldn't be done when Asterisk is starting or stopping. I can't see either in "man asterisk" any option with which I can specify an action to launch when asterisk stops. Any idea or suggestion ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090922/469f97ca/attachment.htm
Apparently Analagous Threads
- [SOLVED] Re: Feature Request: what about "core stop panic" ?
- How to write custom functions in AEL2 ,
- [SOLVED] Re: Feature Request: what about "core stop panic" ?
- [SOLVED] Re: Feature Request: what about "core stop panic" ?
- [SOLVED] Re: Feature Request: what about "core stop panic" ?