ISDN Software Reference for Linux and Windows
398
ANI-on-demand - incoming call (AT&T Service Only)
The following scenario uses cc_ReqANI( ) to acquire the caller's ID. It differs
from the cc_GetANI( ) function in the way the function is returned.
Asynchronous or Synchronous Programming
Application Device Driver State Firmware Network
NULL
CRN assigned Set_Up
<--
*B channel cut-thru
CALL_PROCEEDING
-->
Proceeding
-->
CCEV_OFFERED
<--
OFFERED CALL_INCOMING
<--
cc_ReqANI( )
-->
ISDN_GetANI
-->
CALL_FACILITY
-->
FAC
-->
CCEV_GetANI for
async programming
<--
or
termination of
cc_ReqANI for
sync programming
<--
CPN/BN information
is contained in
FAC_ACK message
ISDN_RETANI
<--
FAC_ACK
<--
or
FAC_REJ
<--
* Application may connect a voice channel to the B channel.