6.3.3 PSTNCallControl::Detected State
The application waits for a GCEV_OFFERED event. Upon receipt of the event, it calls getCallAddrInfo( ) to get and set DNIS and ANI and then calls callAck( ). The state transitions to the Offered state.
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 call 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