GC_CALLACK_BLK
typedef struct { unsigned long type; /* type of a structure inside following union */ long rfu; /* will be used for common functionality */ union { struct { int accept; } dnis; struct { int acceptance; /* 0x0000 proceeding with the same B chan */ /* 0x0001 proceeding with the new B chan */ /* 0x0002 setup ACK */ LINEDEV linedev; } isdn; struct { int info_len; int info_type; } info; struct { long gc_private[4]; } gc_private; } service; /* what kind of service is requested */ /* related to type field */ } GC_CALLACK_BLK, *GC_CALLACK_BLK_PTR;Description
The GC_CALLACK_BLK structure contains information provided to the gc_CallAck( ) function regarding the operation to be performed by this function. When using the gc_CallAck( ) function in E-1 CAS environments, the dnis service structure specifies the number of additional DDI digits to be acquired.
Field Descriptions
The fields of GC_CALLACK_BLK are described as follows:
- type
- specifies the type of service requested. The type field identifies the type of structure inside the service union:
- GCACK_SERVICE_INFO
- used to request more info
- GCACK_SERVICE_PROC
- used when call is proceeding
- GCACK_SERVICE_DNIS
- used to request DNIS (deprecated, use GCACK_SERVICE_INFO)
- GCACK_SERVICE_ISDN
- used when ISDN call is proceeding
- See Table 17 for descriptions of the fields in each type of structure.
Note: The GCACK_SERVICE_DNIS and GCACK_SERVICE_ISDN structures are deprecated in this software release. Use the GCACK_SERVICE_INFO or GCACK_SERVICE_PROC structure instead.
- rfu
- reserved for future use; must be set to 0
- service
- kind of service requested; related to type field. Not used for the GCACK_SERVICE_PROC service type.
- gc_private[4]
- for internal use by Global Call
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation