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

Working with Register-Clients 137
Register-Client State Machine
RVSIP_REG_CLIENT_STATE_REGISTERED
This state indicates that the register-client successfully registered with the
Registrar. The register-client reaches this state when a 2xx final response is
received. The register-client is not terminated although the registration process
has successfully terminated. You can use this register-client for refreshing the
registration by re-using the RvSipRegClientRegister() function. To terminate a
register-client in this state, use the RvSipRegClientTerminate() function.
RVSIP_REG_CLIENT_STATE_FAILED
When a register-client receives a response of class 4xx, 5xx or 6xx—except 401
or 407 responses— the register-client assumes the FAILED state. The
application is responsible for terminating a register-client that reaches the
FAILED state.
RVSIP_REG_CLIENT_STATE_TERMINATED
This state is the final register-client state. When a register-client is terminated,
the register-client assumes the TERMINATED state. Upon reaching the
TERMINATED state, you can no longer reference the register-client.