Re: [SR-Users] Wrong Publish status

2016-06-05 Thread Aleš Šturm
-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, June 02, 2016 8:44 AM To: Aleš Šturm; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Wrong Publish status I pushed the commit to add the new parameter to the master branch. Let me know if works as expected. Chee

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Daniel-Constantin Mierla
re willing to prepare correction I can test > it. Please let me know. > > > > All the best, > > > > Ales > > > > *From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Sent:* Wednesday, June 01, 2016 12:38 PM > *To:* Aleš Šturm; 'Kamaili

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Aleš Šturm
, 2016 12:38 PM To: Aleš Šturm; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Wrong Publish status Hello, to have full flexibility here I am thinking of adding a new module parameter to set the order-by string when the retrieve_order=1, as it may be different for

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Daniel-Constantin Mierla
; ++--+---+--+ > > > > All the best, > > Ales > > > > > > *From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Sent:* Wednesday, June 01, 2016 11:47 AM > *To:* Aleš Šturm; 'Kamailio (SER) - Users Mailing List'

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Aleš Šturm
s From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, June 01, 2016 11:47 AM To: Aleš Šturm; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Wrong Publish status On 01/06/16 10:42, Aleš Šturm wrote: Hello, yes, if the priority is t

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Daniel-Constantin Mierla
On 01/06/16 10:42, Aleš Šturm wrote: > > Hello, > > > > yes, if the priority is the same, records should be ordered by > received_time. Acting in this way, when “presentity” table has more > than one record of the same user with equal priority, to watcher would > be send Notify message with las

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Aleš Šturm
ect * from presentity where username=X and priority=Y order by received_time desc; Thanks, Ales From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, June 01, 2016 9:15 AM To: Kamailio (SER) - Users Mailing List Cc: 'Ales Sturm' Subject: Re: [SR-Users]

Re: [SR-Users] Wrong Publish status

2016-06-01 Thread Daniel-Constantin Mierla
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

[SR-Users] Wrong Publish status

2016-05-27 Thread Aleš Šturm
Hello, Kamailio 4.3: I am testing Presence module with more complex scenario. I have 2 SIP clients (presentity) with equal identities (3918) and one watcher (2025). All my clients are Monster 0.9.25. My Kamailio Presence module is configured with "retrieve_order=1" (presentity records are