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

Event Notification 261
Out-of-Band Subscription
SUBSCRIBER OUT-OF-
B
AND SUBSCRIPTION
S
TATE MACHINE
Figure 12-8 Subscriber Out-of-Band State Machine
Note The subscription expiration timer is not set to an out-of-band subscription.
Therefore the RvSipSubsSubscriptionExpiredEv() and
RvSipSubsExpirationAlertEv callbacks will not be called, and there is no need to
set the Expires parameter in an out-of-band subscription, or in one of its NOTIFY
requests.
Sample Code
The following sample code demonstrates an implementation of the out-of-band
subscription creation procedure.
CreateOutOfBandSubscription(Subscriber)
set Event header
Notify(terminated) rcvd/
send 200
SUBS ACTIVE
SUBS
TERMINATED
Notify(active) rcvd/
send respond