[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simple] Subscription refresment
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 at example.com SIP/2.0 // initial subscribe which creates a subscription to document 'index' which belongs to 'user'
To: sip:user at example.com
From: sip:user at 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 at example.com;tag=12345
...
SUBSCRIBE sip:anotheruser at 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 at example.com;tag=12345
From: sip:user at 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 at tietoenator.com
Technologicka 372/2
CZ-708 00 Ostrava
www.tietoenator.com
_______________________________________________
Simple mailing list
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple