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

240 HP-UX C SIP Stack Programmers Guide
Subscription API
RvSipSubsTerminate()
Causes an immediate shut-down of the subscription, without sending any
messages (UNSUBSCRIBE or NOTIFY). The subscription will assume the
TERMINATED state. Calling this function causes an abnormal termination of
the subscription. All notifications related to the subscription will also be
terminated.
RvSipSubsAutoRefresh()
Sets or unsets the Auto-refresh option in a subscription (Sets it to on or off). The
Auto-refresh mode sends a REFRESH request automatically when the
subscription timer is about to be expired. (In Auto-refresh mode,
RvSipSubsExpirationAlertEv() will not be called.)
Note This function sets the Auto-refresh mode per subscription. You can use a
configuration parameter to set to all the subscriptions at once.
RvSipSubsSetAlertTimer()
Defines how long the RvSipSubsExpirationAlertEv() callback function is called
before the subscription expires. If you do not call this function a default value is
used.
Note This function sets the Alert Timer per subscription. You can use a
configuration parameter to set to all the subscriptions at once.
RvSipSubsSetNoNotifyTimer()
Defines how long to wait for a NOTIFY request after receiving a 2xx on a
SUBSCRIBE request. When this timer expires, the subscription is terminated.
Note This function sets a no-notifier-timer per subscription. You can use a
configuration parameter to set all the subscriptions at once.
RvSipSubsDetachOwner()
Detaches the subscription from its owner.