Queue strategy “Linear” with Asterisk 16 on Realtime

I am trying to use table queues and queue_members and set strategy as

linear, but like isn’t possible to set an order because the extensions are ordered by the column interface on the table queue_members, I tried set penalty for them but it isn’t work.

I also tried to set the strategy as wrandom and set penality to them but the asterisk doesn’t respect the penalty as well.

Anyone knows how to make it work, and if that works.

SELECT name, musiconhold, timeout, ringinuse, retry, strategy FROM public.queues WHERE name = 'teste';
 name  | musiconhold | timeout | ringinuse | retry | strategy
-------+-------------+---------+-----------+-------+----------
 teste | Default     |       4 | no        |     0 | wrandom
 SELECT queue_name, interface, membername, state_interface, penalty, paused, wrapuptime, uniqueid, ramal FROM public.queue_members WHERE queue_name='teste';
 queue_name | interface |   membername   | state_interface | penalty | paused | wrapuptime | uniqueid | ramal
------------+-----------+----------------+-----------------+---------+--------+------------+----------+-------
 teste      | SIP/7050  | Celso Annes    |                 |       3 |      0 |            |      130 | 7050
 teste      | SIP/7055  | Celso X-lite   |                 |       2 |      0 |            |      129 | 7055
 teste      | SIP/7065  | Celso MicroSip |                 |       1 |      0 |            |      131 | 7065

,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.