HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
Working with Register-Clients 139
Register-Client State Machine
RVSIP_REG_CLIENT_STATE_MSG_SEND_FAILURE
This state is assumed only if the SIP Stack works with the Enhanced DNS
feature. The register-client moves to this state when it failed to send a request
(the register-client received a network error, 503 response or time-out on the
request). In this state your application can:
Continue DNS—try to send the request to the next address in
the transaction DNS list. For more information see the Working
with DNS chapter.
Give up—return to the previous state of the register-client and
not send the request. For more information see the Working
with DNS chapter.
Terminate the register-client.
This state can be reached from the REGISTERING state only.
M
ESSAGE SEND FAILURE
STATE MACHINE
The following state machine is part of the Register-Client state machine and is
shown here separately for simplicity. The Message Send Failure state machine
shows how the RVSIP_REG_CLIENT_STATE_MSG_SEND_FAILURE state
is reached.
Figure 8-2 Message Send Failure State Machine
REGSITERING
MSG SEND FAILURE
TERMINATED
REGISTERED
Terminate() /
GiveUp()--on initial registration
GiveUp()--
on refresh
registration
2xx rcvd
ContinueDNS(),
ResendRequest()
Timeout /
Network Error/
503 response