Re: [asterisk-users] How to elegantly set DEVSTATE values after restarting

2009-01-31 Thread Olivier
Yes, I think Danny's hack is the way to go. I'll implement it ASAP. Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:

[asterisk-users] How to elegantly set DEVSTATE values after restarting

2009-01-30 Thread Olivier
Hi, Whenever Asterisk restarts, some values such as DEVSTATE ones, should be reset. How would you proceed to have those settings done anytime Asterisk restarts ? I was thinking of using #exec statement in appropriate .conf file. Ant better idea ? Regards

Re: [asterisk-users] How to elegantly set DEVSTATE values after restarting

2009-01-30 Thread Tzafrir Cohen
On Fri, Jan 30, 2009 at 03:08:52PM +0100, Olivier wrote: Hi, Whenever Asterisk restarts, some values such as DEVSTATE ones, should be reset. How would you proceed to have those settings done anytime Asterisk restarts ? Sounds racy. #exec is called whenever configuration is parsed (on