[OpenSER-Users] presence module dialog handling

Anca Vamanu anca at voice-system.ro
Tue Apr 15 14:44:22 CEST 2008


Hi Sigrid,

Thank you for your report. 
Dialogs were removed from cache, but not from database. And since you 
are probably running presence in a fallback to db mode, the dialogs were 
still found there.
I have made a commit that should fix this problem. Could you please take 
the 'presence' module from the 1.3 svn branch and test again?
As a note, unless you are using more that one presence servers, the 
fallback to db mode is not really needed and inefficient.

Thanks and regards,
Anca Vamanu

Sigrid Thijs wrote:
> Hi,
>
> we've configured OpenSER 1.3.0 on a FreeBSD server, together with 
> OpenXCAP 0.9.9.
> When testing presence rules (RFC 5025) with our UA, we noticed the 
> following behavior:
>
> - Subscription Handling is set to "block" in the presence rules:
> When a watcher subscribes for presence, it receives a NOTIFY with the 
> Subscription-State set to "terminated;reason=rejected". This is as 
> expected.
> When the presentity changes it's presence, the watcher doesn't receive 
> any NOTIFY requests with the presence update (also OK).
> But, when the presentity changes the subscription handling to "allow" 
> in the presence-rules document, the server sends an in-dialog NOTIFY 
> request on the subscription dialog that was previously terminated. 
> This is not ok. See the attached file presence_rules_01.txt.
>
> - Subscription Handling is set to "allow" in the presence rules:
> When the presentity changes the subscription handling to "block" in 
> the presence-rules document, the server sends a NOTIFY with the 
> Subscription-State set to "terminated;reason=timeout" to the watchers.
> When the presentity changes his presence, the presence server will 
> still send NOTIFY requests to the watchers.
> See the attached file presence_rules_02.txt.
>
> kind regards,
>
> Sigrid
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users





More information about the Users mailing list