[asterisk-users] realtime queue reload

Thomas Winter thowinter at googlemail.com
Wed Sep 10 11:02:00 CDT 2008


On Tuesday 09 September 2008 12:30, Atis Lezdins wrote:
> On Tue, Sep 9, 2008 at 1:22 PM, Thomas Winter <thowinter at googlemail.com> 
wrote:
> > On Monday 08 September 2008 14:44, Atis Lezdins wrote:
> >> On Mon, Sep 8, 2008 at 8:37 AM, Thomas Winter <thowinter at googlemail.com>
> >
> > 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" :)

I see, I use  module reload app_queue.so and it works fine.
thanks 
best regards Thomas



More information about the asterisk-users mailing list