[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    [asterisk-dev] Queue realtime and context value problem
From:       Leandro Dardini <ldardini () gmail ! com>
Date:       2016-10-09 14:00:12
Message-ID: CAOoW2hZtiNN4ERL4HyOjR8C9EAfzE4PVQrbgapaUNEYNpMQQAA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,
I just found a problem while using queue realtime and assigning a value to
the "context" field.

The context field allows to specify a context to send the caller when a
DTMF key is pressed.

If I have a queue running with configuration stored in realtime database
and I set the "context" field to some value, all starts working perfectly
immediately (I run a QUEUE REFRESH just to be sure after the database
update).

If I set the "context" value back to empty value (or even NULL), the old
value is still used and the caller is able to exit the queue by pressing a
DTMF key.

Even if I try to reload the queue or even try to reload the app_queue
module, the change is not applied. I see the message

[2016-10-09 15:56:46] NOTICE[31558]: app_queue.c:8700 reload_queue_rules:
queuerules.conf has not changed since it was last loaded. Not taking any
action.

Am I doing something wrong or is it a bug?

Leandro

[Attachment #5 (text/html)]

<div dir="ltr">Hello,<div>I just found a problem while using queue realtime and \
assigning a value to the &quot;context&quot; field.</div><div><br></div><div>The \
context field allows to specify a context to send the caller when a DTMF key is \
pressed.</div><div><br></div><div>If I have a queue running with configuration stored \
in realtime database and I set the &quot;context&quot; field to some value, all \
starts working perfectly immediately (I run a QUEUE REFRESH just to be sure after the \
database update).</div><div><br></div><div>If I set the &quot;context&quot; value \
back to empty value (or even NULL), the old value is still used and the caller is \
able to exit the queue by pressing a DTMF key.</div><div><br></div><div>Even if I try \
to reload the queue or even try to reload the app_queue module, the change is not \
applied. I see the message</div><div><br></div><div>[2016-10-09 15:56:46] \
NOTICE[31558]: app_queue.c:8700 reload_queue_rules: queuerules.conf has not changed \
since it was last loaded. Not taking any action.<br></div><div><br></div><div>Am I \
doing something wrong or is it a bug?</div><div><br></div><div>Leandro</div></div>



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic