On Tue, Sep 9, 2008 at 1:22 PM, Thomas Winter <[EMAIL PROTECTED]> wrote: > On Monday 08 September 2008 14:44, Atis Lezdins wrote: >> On Mon, Sep 8, 2008 at 8:37 AM, Thomas Winter <[EMAIL PROTECTED]> > wrote: > >> > I dont have problem to make a reload by AMI. >> > My questions was if module reload app_queue.so is the right way to do >> > this, because whis "reload" I reload everything. >> > >> > Its fact that I have to do reload queue otherwise Asterisk did not load >> > realtime database with new settings. >> >> Definitely not. >> >> Realtime should reload settings on every new call, and this is working >> for me on periodic_announce and periodic_announce_frequency. However >> this will work only for new calls, existing calls will have settings >> as loaded at their enter queue. >> >> My Asterisk version is 1.4.19, addons 1.4.6 >> >> If you enable debug 1 you should see in your full log: > > Hi, > I have 1.4.21.2 and addons 1.4.7 > > If I do reload I have this: > > [Sep 9 12:10:12] DEBUG[4709] res_config_mysql.c: MySQL RealTime: Static SQL: > SELECT category, var_name, var_val, cat_metr > ic FROM fileconf WHERE filename='queues.conf' and commented=0 ORDER BY > filename, cat_metric desc, var_metric asc, category > , var_name, var_val, id > > And I have found only this in debug file: > > [Sep 9 12:12:02] DEBUG[20173] app_queue.c: Queue test has no realtime members > defined. No need for update > > Might be this is the reason, I do add agents with AMI QueueAdd. > > So changes in realtime queues.conf will not be read, I have to do reload. >
Oooh, so you have "Static realtime". I think it isn't supposed to reload automatically. Go for "Real Realtime" - http://www.voip-info.org/wiki/view/Asterisk+RealTime+Queue or live with "module reload" :) Regards, Atis -- Atis Lezdins, VoIP Project Manager / Developer, [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Cell Phone: +1 800 7300689 Work phone: +1 800 7502835 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 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