[OpenSIPS-Devel] [ opensips-Feature Requests-3115782 ] presence: unique record update for PUBLISH w/o SIP-If-Match

SourceForge.net noreply at sourceforge.net
Mon Nov 22 20:03:18 CET 2010


Feature Requests item #3115782, was opened at 2010-11-22 14:02
Message generated for change (Settings changed) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3115782&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
>Assigned to: Anca Vamanu (anca_vamanu)
Summary: presence: unique record update for PUBLISH w/o SIP-If-Match

Initial Comment:
RFC 3903 mandates the presence of 'SIP-If-Match' header for updating and keeping track or records inside the presentity table.
For some event packages (like mwi), a single record per subscription is enough.

Let's discus the MWI case.  If a PUBLISH is received by the presence server, a record is created and a 200ok with 'SIP-ETag' header is sent back.
If a new PUBLISH is received and the PUBLISH does not have a 'SIP-If-Match' header that will match the previous 'SIP-ETag' header, a new record will be created for the same subscription.  Instead of creating a new record, the existing record should be updated: the state of the voicemail box is unique per subscriber.

This approach is not compliant with the rfc 3903, but it make sense to implement the above behavior for certain event types packages like mwi.


Regards,
Ovidiu Sas

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3115782&group_id=232389



More information about the Devel mailing list