6.3.4 PSTNCallControl::Offered State
The application waits for a USR_ACCEPT or USR_ANSWER event.
In the case of USR_ACCEPT, the application calls acceptCall( ) and the state transitions to Accepting.
In the case of USR_ANSWER, the application calls answerCall( ) and the state transitions to Answering.
If the application receives a GCEV_DISCONNECTED event, it calls getResultValue( ) to get the disconnect reason and then calls dropCall( ). If the dropCall( ) function fails, the application calls resetLineDevice( ) to reset the line device and the state transitions to Init. Otherwise, the state transitions to Dropping.
If the application receives a USR_DISCONNECT event it retrieves the DropReason from the EventData and calls dropCall( ). If the dropCall( ) function fails, the application calls resetLineDevice( ) to reset the line device and the state transitions to Init. Otherwise, the state transitions to Dropping.
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation