PREV TOC HOME INDEX NEXT


2.14. gc_GetUserInfo( )

The gc_GetUserInfo( ) function gets unprocessed information elements in the CCITT format. The gc_GetUserInfo( ) function must be used immediately after the message is received if the application requires the call information. The library will not queue the call information; subsequent messages on the same line device will be discarded if the previous messages are not retrieved.

The following table provides the parameter inputs for the gc_GetUserInfo( ) function.

Parameter Input
target_type GCTGT_GCLIB_NETIF, GCTGT_GCLIB_CHAN, GCTGT_GCLIB_CRN
target_id need input
infoparmblkp set ID - GCIS_SET_IE, parm ID - GCIS_PARM_UIEDATA

Termination Event

None

Cautions
Example
 #include "gclib.h"
#include "gcerr.h"
#include "gcisdn.h"
 int GetUserInfo(LINEDEV linedev)
{
   IE_BLK ie_blk;
   GC_PARM_BLK infoparm;
   int retcode;
    infoparm.pstruct = (void *)&ie_blk;
    retcode=gc_GetUserInfo(GCTGT_GCLIB_CHAN, linedev, &infoparm);
    return retcode;
}

PREV TOC HOME INDEX NEXT

Click here to contact Dialogic Customer Engineering

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