[asterisk-users] /etc/asterisk/startup.d and #exec

Philipp Kempgen philipp.kempgen at amooma.de
Sun May 31 08:42:43 CDT 2009


Tzafrir Cohen schrieb:
> On Sun, May 31, 2009 at 02:47:51PM +0200, Philipp Kempgen wrote:

>> OTOH it might be a nice thing to build this functionality into
>> Asterisk itself which could then even call these scripts on
>> asterisk -rx 'restart now', asterisk -rx 'reload' etc.
> 
> For those you can mostly use #exec .

Unfortunately #exec does not work in asterisk.conf which is both
understandable and inconsistent at the same time. IMHO execincludes
behavior should always be enabled for asterisk.conf itself.
Otherwise there is no way to dynamically set things like systemname.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list