PREV TOC HOME INDEX NEXT


6.4.2 IPCallControl::Null State

The application waits for a GCEV_OFFERED or USR_MAKECALL event. In the case of GCEV_OFFERED, the application calls getCallAddrInfo( ) to get the destination and originator from the IP message and set the member variables. The application then calls getIncomingCallInfo( ) which calls gc_Extension( ) to request extension information from the IP. If the function fails, the application does not wait for the complete message and the state transitions to Connected. Otherwise, the application calls callAck( ) and the state transitions to getCallInfo.

In the case of USR_MAKECALL, the application calls makeCall( ) and the state transitions to makingCall.

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.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

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