[asterisk-users] How to reload queue on the fly?

Rodrigo Lang rodrigoferreiralang at gmail.com
Tue Dec 28 13:34:42 UTC 2010


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 Давыдов Денис <dynax60 at gmail.com>

>  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 :(
>
> On 12/28/2010 03:54 PM, Rodrigo Lang wrote:
>
> Try: "module reload app_queue.so"
>
> 2010/12/28 Денис Давыдов <dynax60 at gmail.com>
>
>> 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?
>>
>>  --
>> С уважением,
>> Денис Давыдов
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> Rodrigo Lang
> Opening your mind - Just another Open Source site<http://openingyourmind.wordpress.com/>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> С уважением,
> Денис Давыдов
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Rodrigo Lang
Opening your mind - Just another Open Source
site<http://openingyourmind.wordpress.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101228/b85f375b/attachment.htm>


More information about the asterisk-users mailing list