HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
250 HP-UX C SIP Stack Programmer’s Guide
Subscription State Machine
Table 12-1 shows how the state changes after receiving a reject on
UNSUBSCRIBE.
Table 12-1 State Changes
State before
Sending
UNSUBSCRIBE
Request
State after receiving
Reject on
UNSUBSCRIBE
Request Reason for Behavior
SUBS_ACTIVE SUBS_ACTIVE
SUBS_PENDING SUBS_PENDING
SUBS_2XX_RCVD 1. SUBS_2XX_RCVD
2. SUBS_PENDING
3.SUBS_ACTIVE
No NOTIFY
with “active” as
the Subscription-State header
value
was received and accepted
while the state was unsubscribing.
A NOTIFY
with “pending” as
the Subscription-State header
value
was received and accepted
while the state was unsubscribing.
A NOTIFY
with “active” as the
Subscription-State header
value
was received and accepted
while the state was unsubscribing.