[OpenSIPS-Users] Presence aggregation

Damien Sandras dsandras at seconix.com
Sat Oct 29 13:48:13 CEST 2011


Hello everyone,


When having multiple presence sources for a same SIP uri (e.g. different 
devices or when mix_dialog_presence is enabled), OpenSIPS puts the 
newest one on top. Consequently, most softphones display the most up to 
date information first.

However, I wonder what is the exact behavior : does it change on 
presence refresh through PUBLISH requests, or only when a new and 
different XML body is published for a given tuple ?

For example, imagine the following generic behavior :
1) At 10am, I publish a PIDF document with a given tuple. It is valid 
for 5 minutes.
2) At 10:04am, I publish another PIDF document with another tuple for 
the same presence URI. It is valid for 5 minutes.
3) At 10:05am, the first PUBLISH is refreshed for another 5 minutes.

What will be the topmost state in the PIDF ? The one published at 10am 
and lastly refreshed, or the one published at 10:04am ?

If this last one is not refreshed, I suppose it switches back to the 
10am published state. Am I right ?

Thank you,

Damien Sandras
http://www.fosdem.org
http://www.ekiga.org



More information about the Users mailing list