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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to