PREV TOC HOME INDEX NEXT


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

Table 17. Service Type Data Structure Field Descriptions 

Service Type

Data Structure Field in Union

Description

GCACK_SERVICE_DNIS
(deprecated)

dnis

structure containing the information needed for collecting DDI digits

dnis.accept

indicates type and number of digits to be requested. Set to the number of DDI digits to be collected. See the Global Call ISDN Technology User's Guide for technology-specific information.

GCACK_SERVICE_INFO

info

structure containing type and length of information requested

info.info_type

type of information requested. The possible values are:

  • DESTINATION_ADDRESS
    request more DNIS
  • ORIGINATION_ADDRESS
    request more ANI

info.info_len

length of the information requested (typically number of digits)

GCACK_SERVICE_ISDN
(deprecated)

isdn

structure containing information for ISDN procedures supported by this function. See the Global Call ISDN Technology User's Guide for more details.

isdn.acceptance

indicates type of message to be sent to network. Valid values are:

  • CALL_PROCEEDING
    send Proceeding message
  • CALL_SETUP_ACK
    send Setup Acknowledge message

isdn.linedev

the new Global Call line device to be used for the call. If set to 0, the channel requested by the network will be used.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

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