HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
Configuration 393
20
CONFIGURATION
INTRODUCTION This chapter describes the configuration of the SIP Stack. You will find
information about the SIP Stack configuration parameters and how to set the
parameters to suit your specific application requirements.
INITIALIZATION SIP Stack configuration and memory allocation is performed upon initialization.
You initialize the SIP Stack using the function, RvSipStackConstruct(). The
RvSipStackConstruct() function is defined as follows:
/*===================================================================*/
RvStatus RvSipStackConstruct(
IN RvInt32 cfgStructSize,
INOUT RvSipStackCfg *pStackCfg,
OUT RvSipStackHandle *hStack);
/*===================================================================*/
RVSIPSTACKCFG
C
ONFIGURATION
S
TRUCTURE
The RvSipStackCfg structure that is used in the RvSipStackConstruct function
contains the entire SIP Stack configuration. The configuration parameters of the
RvSipStackCfg can be divided into two groups:
Group A—parameters that the SIP Stack cannot figure by itself
and the application must supply. For example, maxCallLegs.
Group B—parameters that the SIP Stack can calculate
according the values of other configuration parameters. For
example, maxTransactions. When the application does not set
the maxTransactions parameter, the SIP Stack will use the
following formula: maxTransactions = maxCallLegs +
maxSubscriptions.