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

248 HP-UX C SIP Stack Programmers Guide
Subscription State Machine
RVSIP_SUBS_STATE_TERMINATING
When a notifier subscription sends a NOTIFY request with a “Subscription-
State: terminated” header in it, the subscription assumes the TERMINATING
state. When the notifier receives the 2xx response for this NOTIFY request, the
subscription assumes the TERMINATED state. If the notifier receives a non-
2xx response for this NOTIFY request, it remains in the TERMINATING state.
RVSIP_SUBS_STATE_TERMINATED
This state is the final subscription state. When a subscription is terminated, it
assumes the TERMINATED state. Upon reaching the TERMINATED state, you
can no longer reference the subscription using the Subscription API functions.