PREV TOC HOME INDEX NEXT


2.15. gc_GetUserInfo( )

When using Springware boards, 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.

Note: Since the gc_GetUserInfo( ) function does not queue any information, use of this function is not recommended.

When using DM3 boards, the gc_GetUserInfo( ) function is not supported.

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 Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated January, 2003