PREV TOC HOME INDEX NEXT


6.3.5 PSTNCallControl::Accepting State

The application waits for a USR_ANSWER event. Upon receipt of the event, it calls answerCall( ) and the state transitions to Answering.

If the application receives a GCEV_ACCEPT event, it ignores the event and remains in the Accepting state.

If the application receives a GCEV_DISCONNECTED or GCEV_TASKFAIL 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.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2002, Intel Corporation
All rights reserved
This page generated October, 2002