HP-UX C SIP Stack Programmer's Guide (Novembery 2007)

Event Notification 267
Support for Subscription Forking
SUBSCRIPTION
F
ORKING CALL FLOW
The following call flows illustrate three types of subscription forking.
Figure 12-10 illustrates subscription forking that is enabled in the SIP Stack and
in the original subscription.
Figure 12-10 Subscription Forking in SIP Stack and Original
Subscription
Network
Stack
User
Create Forked Subscription with
hidden dialog. Set Subscription
State to 2XX_RCVD
RvSipSubsCreatedDueToForkingEv()
NOTIFY
(From tag does not match)
Prepare Expires value:
1. Get Expires from SUBSCRIBE request
2. If Expires is undefined, get Expires from
NOTIFY request.
Set NoNotify timer
Set Alert timer to Expires (only if
NOTIFY has no "Expires"
Create Notification
Object
for the Forked
Subscription
Subscription
Forking Code
Existing
Code
RvSipSubsNotifyCreatedEv()