How to reload queue on the fly?

Home » Asterisk Users » How to reload queue on the fly?
Asterisk Users 3 Comments

Asterisk: 1.6.2.15

On the production server I’ve modify the /etc/asterisk/queues.conf file. Now
in CLI I wan’t to reload queue configuration gracefully. I did:

virtual-pbx*CLI> queue reload members office
virtual-pbx*CLI>

But `queue show office` tells me that nothing has changed. I tried to reload
all — `queue reload all’:

virtual-pbx*CLI> queue reload all
[Dec 28 15:10:01] NOTICE[25405]: app_queue.c:5668 reload_queue_rules:
queuerules.conf has not changed since it was last loaded. Not taking any
action.

And still my configuration is not applied.

Current queue for `office’:

virtual-pbx*CLI> queue show 1telecom_office
1telecom_office has 1 calls (max unlimited) in ‘linear’ strategy (0s
holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
SIP/121 (Ringing) has taken no calls yet
SIP/120 (Not in use) has taken no calls yet
SIP/123 (Not in use) has taken no calls yet
Callers:
1. SIP/Softswitch-000161ae (wait: 0:01, prio: 0)

While modified configuration is:

[office]
strategy = linear
timeout = 10
member => SIP/100
member => SIP/101
member => SIP/121
member => SIP/123
member => SIP/120
setinterfacevar=yes
monitor-format = wav
monitor-type = MixMonitor
joinempty = yes

What’s may be wrong?

3 thoughts on - How to reload queue on the fly?

  • The same result. Colleague did remotely (in his words): `queue reload
    all office’ – and it works for me. This is very strange why my variant
    didn’t work 🙁

  • Try modify the queues.conf to this:

    [office]
    strategy = linear
    timeout = 10
    setinterfacevar=yes
    monitor-format = wav
    monitor-type = MixMonitor
    joinempty = yes

    member => SIP/100
    member => SIP/101
    member => SIP/121
    member => SIP/123
    member => SIP/120

    At,
    Rodrigo Lang.

    2010/12/28 Давыдов Денис