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

58 HP-UX C SIP Stack Programmers Guide
Call-leg State Machine
REMOTE-ACCEPTED
S
TATE MACHINE
Figure 6-3 Remote-Accepted State Machine
RVSIP_CALL_LEG_STATE_MSG_SEND_FAILURE
This state is assumed only if the SIP Stack is compiled with the Enhanced DNS
feature. The call moves to this state when the call-leg failed to send a request
(the call-leg received a network error, 503 response or timeout 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—terminate the call-leg or return to the previous state
of the call and not send the request, depending on the previous
state of the call-leg. For more information see the Working with
DNS chapter.
Terminate the call-leg.
This state can be reached from the INVITING, PROCEEDING or
DISCONNECTING states.
INVITING PROCEEDING
REMOTE
ACCEPTED
CONNECTED
DISCONNECTING DISCONNECTED
200 OK Recv
200 OK Recv
Ack()/
ACK Sent
Disconnect()/
BYE Sent
(local disconnecting)
BYE Recv
(remote disconnected)