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

Working with Call-legs (Dialogs) 79
Call-leg Transactions
TRANSACTION STATE
M
ACHINE
Figure 6-8 Call-leg Transaction State Machine
Sample Code
The following sample code demonstrates how to send an INFO request within
the context of a call-leg.
request Recvd
IDLE
GENERAL
REQUEST
RCVD
GENERAL
REQUEST SENT
GENERAL
FINAL
RESPONSE
SENT
GENERAL
PROCEEDING
TERMINATED
GENERAL FINAL
RESPONSE
RCVD
MSG SEND
FAILURE
time out
T4 - UDP
0 - TCP
TranscRequest()/
request Sent
general linger
timer
2xx-6xx
rcvd
2xx-6xx
rcvd
1xx rcvd
timeout /
network error /
503 rcvd
DnsContinue()/
DnsGiveUp()/
TranscTerminate()
TranscResponse()/
final response sent