[Simple] Subscription refresment

Martin.Hynar@tietoenator.com Fri, 12 August 2005 07:23 UTC

Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1E3Tt2-0005AE-4Y; Fri, 12 Aug 2005 03:23:28 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1E3Tsz-0005A8-EY for simple@megatron.ietf.org; Fri, 12 Aug 2005 03:23:26 -0400
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA07843 for <simple@ietf.org>; Fri, 12 Aug 2005 03:23:23 -0400 (EDT)
From: Martin.Hynar@tietoenator.com
Received: from ebb01.tietoenator.com ([193.12.180.61]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1E3URR-00082Z-GS for simple@ietf.org; Fri, 12 Aug 2005 03:59:03 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 12 Aug 2005 09:22:50 +0200
Message-ID: <3ACC9A25264A684F82C71840111F979847F736@carrera.eu.tieto.com>
Thread-Topic: Subscription refresment
Thread-Index: AcWfDqVfzYH7SONPS7aToBTdAhJWyw==
To: simple@ietf.org
X-OriginalArrivalTime: 12 Aug 2005 07:22:52.0199 (UTC) FILETIME=[A6848B70:01C59F0E]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: fb6060cb60c0cea16e3f7219e40a0a81
Content-Transfer-Encoding: quoted-printable
Subject: [Simple] Subscription refresment
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/simple>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
Sender: simple-bounces@ietf.org
Errors-To: simple-bounces@ietf.org

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:user@example.com SIP/2.0            // initial subscribe which creates a subscription to document 'index' which belongs to 'user'
To: sip:user@example.com
From: sip:user@example.com;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:user1@example.com;tag=12345
...

SUBSCRIBE sip:anotheruser@example.com SIP/2.0        // subscribe to another user - but it is sent on the same dialog, with the same Event header
To: sip:anotheruser@example.com;tag=12345
From: sip:user@example.com;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 martin.hynar@tietoenator.com

Technologicka 372/2
CZ-708 00 Ostrava

www.tietoenator.com

_______________________________________________
Simple mailing list
Simple@ietf.org
https://www1.ietf.org/mailman/listinfo/simple