Dialogic 05-0867-005 Table Top Game User Manual


 
cc_GetCallInfo( ) gets the information elements associated with the CRN
90
Table 19. cc_GetCallInfo( ) Info_ID Definitions
info_id Definition
U_IES Information Elements (IEs) in CCITT format. The
cc_GetCallInfo( ) function retrieves all unprocessed IEs in
CCITT format. Be sure to allocate enough memory (up to 256
bytes) to hold the retrieved IEs. The IEs are returned as raw data
and must be parsed and interpreted by the application.
Use IE_BLK to retrieve the unprocessed IEs. For a description of
the IE_BLK data structure, see Section 6.6. IE_BLK.
See Appendix C for descriptions of information elements specific
to the DPNSS protocol.
UUI User-to-user information. The user information data returned is
application-dependent. The user information is retrieved using the
USRINFO_ELEM data structure. For a description of the return
format for UUI, see Section 6.16. USRINFO_ELEM.
!
! !
!
Cautions
Make sure the size of the information buffer is large enough to hold the
string.
The CCEV_NOFACILITYBUF event will be received by the application for
every incoming ISDN message that contains the Network Facility IE. The
event is received because the first four IEs are stored in the ISDN library and
the remaining ones are discarded. The CCEV_NOFACILITYBUF event can
be ignored. The IE can be retrieved using the cc_GetCallInfo(U_IES)
function or the cc_GetInfoElem( ) function. The ability to retrieve just the
Network Facility IE using the cc_GetCallInfo( ) function is no longer
supported.
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include "srllib.h"
#include "dtilib.h"
#include "cclib.h"