Subject: [Simple] Subscription refresment

From: [email-masked]
Date: Fri, 12 Aug 2005 09:22:50 +0200

Hello,

(sorry for the previous mail, I focused on content and forgot to fill the subject)

I am currently testing some SIP SUBSCRIBE functionality, and there is one thing i am not 100% sure of - mechanism of refreshing a subscription.

Our software implements functionality described in draft-ietf-sipping-config-framework (Framework for Session Initiation Protocol User Agent Profile Delivery) but there is nothing about refreshes - it references RFC 3265.

RFC 3265:

3.1.4.2. Refreshing of Subscriptions
At any time before a subscription expires, the subscriber may refresh
the timer on such a subscription by sending another SUBSCRIBE request
on the same dialog as the existing subscription, and with the same
"Event" header "id" parameter (if one was present in the initial
subscription). The handling for such a request is the same as for
the initial creation of a subscription except as described below.

So lets say, i'll send these messages:

SUBSCRIBE sip:[email-masked] SIP/2.0            // initial subscribe which creates a subscription to document 'index' which belongs to 'user'
To: sip:[email-masked]
From: sip:[email-masked];tag=a2b3c1
Event:sip-profile;profile-type=application;app-id=resource-lists;document=index
Call-ID: 55a4f4f62e607b58176548396prasePD11
CSeq: 1 SUBSCRIBE
...

SIP/2.0 200 OK
To: sip:[email-masked];tag=12345
...

SUBSCRIBE sip:[email-masked] SIP/2.0        // subscribe to another user - but it is sent on the same dialog, with the same Event header
To: sip:[email-masked];tag=12345
From: sip:[email-masked];tag=a2b3c1
Event:sip-profile;profile-type=application;app-id=resource-lists;document=index
Call-ID: 55a4f4f62e607b58176548396prasePD11
CSeq: 2 SUBSCRIBE
...

Will the second subscribe just refresh the initial one, even if it has different sip uri in To header ?

Thank you for your time,

Martin Hynar

Senior Developer

TietoEnator
Czech Software Centre

Direct +420 599 096 022
E-mail [email-masked]

Technologicka 372/2
CZ-708 00 Ostrava

www.tietoenator.com

_______________________________________________
Simple mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/simple