Hello: I am testing the Kamailio Presence Server. I can see when the presence of an user agent expires then the server sends an empty NOTIFY without XML document. Also, when the server receives a SUBSCRIBE it sends a NOTIFY with XML if the UA is present but it sends an empty NOTIFY when the UA is not present. However, if the presence server receive a PUBLISH with Expires header equals cero then it sends a NOTIFY with XML document.
I do not understant why it sends empty NOTIFY messages. Especially if the user agent is not present.
I tested 4.4.7 version and I can see that it is the best version, because I tested 5.1.6 and 5.2.0 versions and I could see that they sends empty NOTIFY messages even the user agent is present.
Then I am using 4.4.7 version, an I am considering as no present when a NOTIFY message is empty. But I think it is not RFC3856 compliant.
Kamailio presence server es configured like that:
#!ifdef WITH_PRESENCE # ----- presence params ----- modparam("presence", "db_url", DBURL)
# ----- presence_xml params ----- modparam("presence_xml", "db_url", DBURL) modparam("presence_xml", "force_active", 1) #!endif
Can anyone help me? Thank you very much in advance.
*Eduardo Pascual Gallego*
*Ingeniero de Desarrollo / Development Engineer.*
T. +34 91 807 39 99 · eduardo.pascual@nucleocc.com https://www.nucleocc.com/ *Núcleo HQ* C/Vía de los Poblados, 7 28033 Madrid (Spain) https://www.google.es/maps/place/DF+N%C3%BAcleo/@40.4747861,-3.6352894,17z/data=!3m1!4b1!4m5!3m4!1s0xd422eed6abfffff:0xdfdcb9acb7b6eb59!8m2!3d40.4747861!4d-3.6331007 *Núcleo USA* 100 Crescent Dr, STE.700 75201 Dallas, Texas (USA) https://www.google.es/maps/place/100+Crescent+Ct,+Dallas,+TX+75201,+EE.+UU./@32.7939422,-96.8046109,17z/data=!3m1!4b1!4m5!3m4!1s0x864e99301691fd3b:0x38b01eb62a12bdee!8m2!3d32.7939422!4d-96.8033095
*www.nucleocc.com* https://www.nucleocc.com/
Este correo electrónico y cualquier fichero adjunto al mismo contienen información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. En el caso de haber recibido este correo electrónico por error, le indicamos que no le está permitido por ley la lectura, copia y uso del mismo . En tal caso, le rogamos notifique lo antes posible esta circunstancia mediante reenvío a la dirección electrónica del remitente y destruya el mensaje. Antes de imprimir este correo, piense en su responsabilidad y compromiso con el medio ambiente.