How can I view queuerules changes live?
I tried with AMI looking for the QueueMemberPenalty event, but this event only occurs when changed by the command “queue set penalty <penalty> on <interface> [in <queue>]”.
Below is a configuration in which you would like to get the penalty changes, because in practice every 10 seconds that the caller waits for service the extension of the next highest penalty agent also starts ringing.
[support] strategy = ringall timeout = 10 retry = 2 defaultrule = myrule member => PJSIP/1001, 0, Agent Lvl 1 member => PJSIP/1002, 1, Agent Lvl 2 member => PJSIP/1003, 2, Agent Lvl 3
[myrule] penaltychange => 10, +1, , +1 penaltychange => 20, +1, , +1
same => n, Set(QUEUE_MIN_PENALTY=0) same => n, Set(QUEUE_MAX_PENALTY=0) same => n, Set(QUEUE_RAISE_PENALTY=0) same => n, Queue(support); same => n, Hangup