<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I'm using MySQL realtime Call Queues (table <i>queues</i> and
table <i>queue_members</i>).<br>
<br>
I would like to ring the members of the call queue in a certain
order. Therefore I use ring strategy <i>lineair </i>and I put
the members into the table </font><font face="Helvetica, Arial,
sans-serif"><i>queue_members</i> in the order in which they have
to be rang.<br>
<br>
<br>
So I have the queue :<br>
<br>
| name | musicclass | announce | context | timeout |
monitor_type | monitor_format | queue_youarenext | queue_thereare
| queue_callswaiting | queue_holdtime | queue_minutes |
queue_seconds | queue_lessthan | queue_thankyou | queue_reporthold
| announce_frequency | announce_round_seconds | announce_holdtime
| announce_position | retry | wrapuptime | maxlen | servicelevel |
strategy | joinempty | leavewhenempty | eventmemberstatus |
eventwhencalled | reportholdtime | memberdelay | weight |
timeoutrestart | periodic_announce | periodic_announce_frequency |
ringinuse |<br>
+----------------+------------+----------+---------+---------+--------------+----------------+------------------+----------------+--------------------+----------------+---------------+---------------+----------------+----------------+------------------+--------------------+------------------------+-------------------+-------------------+-------+------------+--------+--------------+----------+-----------+----------------+-------------------+-----------------+----------------+-------------+--------+----------------+-------------------+-----------------------------+-----------+<br>
| queue6 | default | NULL | | 12 |
NULL | NULL | NULL | NULL
| NULL | NULL | NULL |
NULL | NULL | NULL | NULL
| 30 | NULL | No
| yes | 5 | 10 | 0 | NULL |
linear | strict | strict | NULL |
NULL | NULL | NULL | NULL |
no | | 0 |
no |<br>
+----------------+------------+----------+---------+---------+--------------+----------------+------------------+----------------+--------------------+----------------+---------------+---------------+----------------+----------------+------------------+--------------------+------------------------+-------------------+-------------------+-------+------------+--------+--------------+----------+-----------+----------------+-------------------+-----------------+----------------+-------------+--------+----------------+-------------------+-----------------------------+-----------+<br>
<br>
<br>
and queue members :<br>
<br>
+----------+----------------+----------------+--------------------+---------+--------+<br>
| uniqueid | membername | queue_name | interface
| penalty | paused |<br>
+----------+----------------+----------------+--------------------+---------+--------+<br>
| 44 | queuemem4 | queue6 | SIP/queuemem4 | 0 |
NULL |<br>
| 45 | queuemem2 | queue6 | SIP/queuemem2 | 0 |
NULL |<br>
| 46 | queuemem5 | queue6 | SIP/queuemem5 | 0 |
NULL |<br>
| 47 | queuemem1 | queue6 | SIP/queuemem1 | 0 |
NULL |<br>
| 48 | queuemem10 | queue6 | SIP/queuemem10 | 0 |
NULL |<br>
| 49 | queuemem18 | queue6 | SIP/queuemem18 | 0 |
NULL |<br>
| 50 | queuemem17 | queue6 | SIP/queuemem17 | 0 |
NULL |<br>
| 51 | queuemem12 | queue6 | SIP/queuemem12 | 0 |
NULL |<br>
| 52 | queuemem16 | queue6 | SIP/queuemem16 | 0 |
NULL |<br>
| 53 | queuemem13 | queue6 | SIP/queuemem13 | 0 |
NULL |<br>
+----------+----------------+----------------+--------------------+---------+--------+<br>
<br>
<br>
<br>
You can see that the member <i>queuemem4</i> is first in line to
be rang (has the first and lowest uniqueid in the table).<br>
<br>
But the first member that is being rang, is <i>queuemem</i><i>1</i>.
How come ??<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
<br>
</font>
</body>
</html>