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

Event Notification 255
Subscription State Machine
RVSIP_SUBS_NOTIFY_STATUS_UNAUTHENTICATED
Upon receipt of a 401/407 response to a NOTIFY request, the notification
informs the UNAUTHENTICATED status. At this stage, the application may
get needed information from the response message. After this stage, the
notification is terminated and informs the TERMINATED status.
RVSIP_SUBS_NOTIFY_STATUS_REJECT_RCVD
Upon receipt of a non-2xx response to a NOTIFY request, the notification
informs the REJECT_RCVD status. At this stage, the application may get
needed information from the response message. After this stage, the notification
is terminated and informs the TERMINATED status.
RVSIP_SUBS_NOTIFY_STATUS_2XX_RCVD
Upon receipt of a 2xx response to a NOTIFY request, the notification informs
the 2XX_RCVD status. At this stage, the application may get needed
information from the 2xx message. After this stage, the notification is
terminated and informs the TERMINATED status.
RVSIP_SUBS_NOTIFY_STATUS_MSG_SEND_FAILURE
A notifier that failed to send a NOTIFY request (receives a 503 response,
transaction timeout or network error) informs the MSG_SEND_FAILURE
status. At this stage, the application must decide whether to re-send this message
to the next IP address from the DNS list, or stop sending this message.
If the application stops sending the message, the notification is terminated and
informs the TERMINATED status. If application re-sends the request to the
next IP address, the SIP Stack use the same notification to re-send the NOTIFY
request.
RVSIP_SUBS_NOTIFY_STATUS_TERMINATED
The final status of which the notification gives notification. Upon receiving the
Terminated status, you can no longer reference the notification.
RVSIP_SUBS_NOTIFY_STATUS_IDLE
The initial status of a notification.