On Mon, Sep 8, 2008 at 8:37 AM, Thomas Winter <[EMAIL PROTECTED]> wrote: > On Sunday 07 September 2008 21:49, Atis Lezdins wrote: >> On Sun, Sep 7, 2008 at 4:56 PM, Thomas Winter <[EMAIL PROTECTED]> > wrote: > >> > is not work for periodic-announce-frequency and periodic-announce. >> > An reload is necessary. >> > Asterisk is 1.4.21.1 >> >> It shouldn't be necessary. However you can try "queue show >> <queuename>" from CLI, that would trigger reloading queue's settings. >> If it doesn't work, enable "core set debug 1" and post output when >> executing reload. >> >> As for executing CLI commands, see manager action Command: >> http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Command > > 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: [Sep 8 05:25:58] VERBOSE[27273] logger.c: -- Executing Queue("SIP/90139-c4014774", "22901|t|||300") [Sep 8 05:25:58] DEBUG[27273] app_queue.c: queue: 22901, options: t, url: , announce: , expires: 1220877058, priority: 0 [Sep 8 05:25:58] DEBUG[27273] res_config_mysql.c: MySQL RealTime: Everything is fine. [Sep 8 05:25:58] DEBUG[27273] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM queue_table WHERE name = '22901' [Sep 8 05:25:58] DEBUG[27273] res_config_mysql.c: MySQL RealTime: Everything is fine. [Sep 8 05:25:58] DEBUG[27273] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM queue_members WHERE interface LIKE '%' AND queue_name = '22901' ORDER BY interface [Sep 8 05:25:58] DEBUG[27273] res_config_mysql.c: MySQL RealTime: Everything is fine. 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