Hello,

skipping the other content to fit in size limits for mailing list ...

On 27/05/16 11:59, Aleš Šturm wrote:
I think that statuses with equal “priority” are retrieved by “id” and not by “received_time”!?
Is the above the conclusion and the fix would be to order by received_time if the priority is the same?

At this moment I expect there is no further ordering than the priority in this case, mysql being the one returning the order within the priority as the records are found in the db. Like, if you just do a select without order by, there is no guarantee that the order of records is the one as the records were added.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda