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

86 HP-UX C SIP Stack Programmers Guide
Call-leg Forking Support
RvSipCallLegSetForkingEnabledFlag(), RvSipCallLegGetForkingEnabledFlag()
Functions for setting/getting the call-leg forking-enable-flag. The forking-
enabled-flag defines the call-leg behavior on receiving multiple responses due
to proxy forking. If this flag is set to TRUE in the original call-leg, a new forked
call-leg will be created for every 1xx/2xx response with a different, new To tag.
If this flag is set to FALSE in the original call-leg, only first response message
will be mapped to the original call-leg and update its To tag parameter.
Afterwards, only 1xx/2xx responses with this To tag will be mapped to the call-
leg. All other 1xx/2xx responses will be ignored. All 3xx-6xx responses will be
mapped to this call-leg too. The default value for the forking-enabled-flag is
RV_TRUE.
RvSipCallLegSetForked1xxTimerTimeout()
Sets the timeout value for the forked-1xx-timer. The forked-1xx-timer is set by a
forked call-leg after receiving the first 1xx response. This timer is released when
the call-leg receives a 2xx response. If the timer expires before 2xx reception,
the call-leg is terminated. This timeout value defines how long the call-leg will
wait for a 2xx response before termination.
This function enables application to define the timeout value for this timer, for a
specific call-leg. (By default the timer timeout value is taken from SIP Stack
configuration).