[pjsip] NOTIFY with status terminated AND reason 'deactivated'.

Benny Prijono bennylp at teluu.com
Wed Aug 26 04:21:40 CDT 2009


On Wed, Aug 26, 2009 at 1:02 AM, Saúl Ibarra<saghul at gmail.com> wrote:
> Hi,
>
> I while ago I asked about pjsip handling NOTIFY requests terminated
> state but I think I got a little confused, I can now explain better :)
>
> Lets assume user A subscribes to user B, having an XCAP server around.
> A will get a NOTIFY with 'pending' status, which is OK, and when her
> subscription is allowed she'll get 'active' status.
>
> Now, user B decides to remove watcher A from her rules. A will get a
> new NOTIFY request with 'terminated' status BUT 'deactivated' reason.
> Now, according to RFC 3265
> (http://tools.ietf.org/html/rfc3265#section-3.2.4) PJSIP should
> re-subscribe to that buddy.
>
> ----------------
> deactivated: The subscription has been terminated, but the subscriber
>      SHOULD retry immediately with a new subscription.  One primary use
>      of such a status code is to allow migration of subscriptions
>      between nodes.  The "retry-after" parameter has no semantics for
>      "deactivated".
> ----------------
>
> Hope I made myself clear now :) Any chances this can be fixed?
>
>

You're right. I added that to ticket #937

Thanks
 Benny



More information about the pjsip mailing list