HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
106 HP-UX C SIP Stack Programmer’s Guide
Transaction State Machine
SERVER GENERAL
T
RANSACTION STATE
MACHINE
Figure 7-2 Server General Transaction State Machine
CLIENT INVITE
TRANSACTION
A transaction may assume any of the following states in the Client Invite State
machine:
RVSIP_TRANSC_STATE_CLIENT_INVITE_CALLING
After calling RvSipTransactionRequest() with the INVITE method which
generates and sends an INVITE request message, the transaction enters the
CLIENT_INVITE_CALLING state. The client transaction remains in this state
until it receives a provisional or final response from the server. Receipt of a
provisional response will cause the transaction to assume the
CLIENT_INVITE_PROCEEDING state. Receipt of a final response will cause
the transaction to assume the CLIENT_INVITE_FINAL_RESPONSE_RCVD
state.
Request
Retransmission Recv/
Response Sent
(retransmission) *
FINAL
RESPONSE
SENT
Respond (2xx-6xx)/
2xx-6xx Sent
(user command)
IDLE
TERMINATED
Request Recv
(request received)
Respond (1xx)/
1xx Send *
REQUEST
RECEIVED
Terminate()
Terminate()
Transaction Timeout
(generalLingerTimer-for UDP
0-for TCP
* No state change
Request
Retransmission Recv/
1xx Sent
(retransmission) *