Previous PageTable Of ContentsHomeIndexNext Page


3.2. Accessing Caller ID Information

Applications using the Caller ID feature can process Caller ID information in the following ways:

The Caller ID information is available for the call from the moment the ring event is generated (if the ring event is set in your application as stated above) until one of the following occurs:

To determine if Caller ID information has been received from the CO, before issuing a dx_gtcallid( ) or dx_gtextcallid( ) Caller ID function, check the event data in the event block. When the ring event is received, the event data field in the event block is bitmapped and indicates that Caller ID information is available when bit 0 (LSB) is set to 1. For details on the event block and function code examples, refer to the Voice Software Reference: Programmer's Guide.

NOTE:
If the call is answered before the Caller ID information has been received from the CO, Caller ID information will not be available to the application.
If the call is not answered and the ring event is received before the Caller ID information has been received from the CO, Caller ID information will not be available until the beginning of the second ring (CLASS, ACLIP) or the beginning of the first ring (CLIP, JCLIP).

Based on the Caller ID options provided by the CO and for applications that require only the calling line Directory Number (DN), issue the dx_gtcallid( ) function to get the calling line DN.

Based on the Caller ID options provided by the CO and for applications that require additional Caller ID information, issue the dx_gtextcallid( ) function for each type of Caller ID message required. As an argument in the dx_gtextcallid( ) function, the type of Caller ID message to access is specified (infotype).

The dx_wtcallid( ) function is a Caller ID Convenience function provided to allow applications to wait for a specified number of rings (as set for the ring event) and returns the calling station's Directory Number (DN).

The dx_wtcallid( ) function combines the functionality of the following:


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001