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

36 HP-UX C SIP Stack Programmers Guide
Destruction
DESTRUCTION The RvSipStackDestruct() function destroys the SIP Stack and frees all
resources that the Stack uses. This function must be called from the same thread
that constructed the Stack.
CONFIGURATION The SIP Stack lets you configure SIP Stack resources and behavior.
Configuration parameters can be categorized as:
Resource allocation
Log filters
Network configuration
Timer configuration
Behavior configuration
Multithreaded configuration
Proxy configuration
RESOURCE
ALLOCATION
The SIP Stack allocates all required memory upon initialization. This means that
you must predetermine the resources that the SIP Stack will require during
operation. These resources include the number of calls, transactions,
register-clients, subscriptions, size, and number of the network buffers and
more.
LOG FILTERS You can control how the SIP Stack produces Log messages by setting filters
either individually for each layer of the SIP Stack or for all layers
simultaneously. You set the logging filters by configuring the xxxLogFilters
fields in RvSipStackCfg with any combination of the filters listed in Table 4-1.
Table 4-1 Log Filters
Filter Description
RVSIP_LOG_INFO_FILTER
A description of SIP Stack activity.
RVSIP_LOG_DEBUG_FILTER
Provides detailed log messages of SIP Stack
activity.
RVSIP_LOG_WARN_FILTER A warning about a possible non-fatal error.
RVSIP_LOG_EXCEP_FILTER A fatal error has occurred that prevents the
SIP Stack from continuing to operate.