PREV TOC HOME INDEX NEXT


1.8. GCEV_EXTENSION Events

There are ISDN-specific Global Call events, which will eventually be mapped to GCEV_EXTENSION. But to maintain backward compatibility, the Global Call application has the option to choose ISDN-specific events or GCEV_EXTENSION. The default is ISDN-specific events. For more information, refer to Section 1.9, Run Time Configuration Management.

Note: When using DM3 boards, the GCEV_EXTENSION is not supported. DM3 boards use ISDN-specific events only.

If the application needs to use the new generic call model or extension features, gc_Start( ) should be called as shown below:

    CCLIB_START_STRUCT cclib_struct;
    GC_START_STRUCT gc_start_struct;
    GC_PARM_BLK *parmblk = NULL;
    
    gc_util_insert_parm_val( &parmblk, 
                             GCIS_SET_GENERIC, 
                             GCIS_PARM_EXTENSIONEVENT, 
                             sizeof( char ), 1);
    gc_util_insert_parm_val( &parmblk,   
                             GCIS_SET_GENERIC, 
                             GCIS_PARM_GENERICCALLMODEL, 
                             sizeof( char ), 1);
    gc_start_struct.num_cclibs = 1;
    gc_start_struct.cclib_list = &cclib_struct;
    gc_start_struct.cclib_list[0].cclib_name =  "GC_ISDN_LIB";
    gc_start_struct.cclib_list[0].cclib_data = parmblk; 
    
    if ( gc_Start( &gc_start_struct ) != GC_SUCCESS ) {
        exit(1);
    }
    gc_util_delete_parm_blk(parmblk); 

The field extevtdatap of the METAEVENT structure points to EXTENSIONEVT_BLK.

typedef struct {
    unsigned char    ext_id;
    GC_PARM_BLK      parmblk;
} EXTENSIONEVTBLK; 

The following sections define the different possible extension IDs in the GCEV_EXTENSION event.

Table 5. GCEV_EXTENSION Events 

Event

Description

GCIS_EXEV_CONFDROP when using Springware boards
Note: When using DM3 boards, this event is not supported.
A DROP request has been received; the request was made by sending the SndMsg_Drop message type via the gc_Extension(GCIS_EXID_SNDMSG) function. This event has two different meanings that depend upon the type of call: Two-party call - the event is a request to disconnect the call. The application should respond by issuing a gc_DropCall( ). Conference call - the event is a request to remove the last party that was added to the conference. The application needs to respond to this request with either a SndMsg_DropAck or SndMsg_DropRej message to indicate the acceptance or rejection of the request. If the request is accepted, the party is dropped from the conference. This event only pertains to a Custom BRI 5ESS switch type.
GCIS_EXEV_CONGESTION when using Springware boards
When using DM3 boards, the equivalent event is GCEV_CONGESTION
A CONGESTION message has been received by the application, indicating that the remote end is not ready to accept incoming user information. Use the gc_GetCallInfo( ) function to retrieve additional information about the event or look into the extension event data.
GCIS_EXEV_DIVERTED when using Springware boards
Note: When using DM3 boards, this event is not supported.
NAM with divert information has been received by the application. An outgoing call has been successfully diverted to another station.
GCIS_EXEV_DROPACK when using Springware boards
Note: When using DM3 boards, this event is not supported.
The network has honored a DROP request for a conference call; the request was made by sending the SndMsg_Drop message type via the gc_Extension(GCIS_EXID_SNDMSG) function. The event is sent on the corresponding line device. This event pertains only to a Custom BRI 5ESS switch type.
GCIS_EXEV_DROPREJ when using Springware boards
Note: When using DM3 boards, this event is not supported.
The network has not honored a DROP request for a conference call. The event is sent on the corresponding line device.This event pertains only to a Custom BRI 5ESS switch type.
GCIS_EXEV_FACILITY when using Springware boards
When using DM3 boards, the equivalent event is GCEV_FACILITY
A FACILITY REQUEST message has been received by the application.
GCIS_EXEV_FACILITY_ACK when using Springware boards
Note: When using DM3 boards, this event is not supported.
A FACILITY_ACKNOWLEDGEMENT message has been received by the application.
GCIS_EXEV_FACILITY_REJ when using Springware boards
Note: When using DM3 boards, this event is not supported.
A FACILITY_REJECT message has been received by the application.
GCIS_EXEV_FACILITYGLOBAL when using Springware boards
Note: When using DM3 boards, this event is not supported.
An ISDN_FACILITY message containing a Global CRN value was received. This event is sent on the board level device, as the event is associated with all calls on the device. Upon receipt of this event, the application may issue a gc_Extension(GCIS_EXID_GETNONCALLMSG) function to retrieve the data into its local structure or look into the extension event data.
GCIS_EXEV_FACILITYNULL when using Springware boards
Note: When using DM3 boards, this event is not supported.
An ISDN_FACILITY message was received containing a Dummy (NULL) CRN. Upon receipt of this event, the application may issue a gc_Extension(GCIS_EXID_GETNONCALLMSG) function to retrieve the data into its local structure or look into the extension event data.
GCIS_EXEV_INFOGLOBAL when using Springware boards
Note: When using DM3 boards, this event is not supported.
An ISDN_INFORMATION message containing a Global CRN value was received. This event is sent on the board level device, as the event is associated with all calls on the device. Upon receipt of this event, the application may issue a gc_Extension(GCIS_EXID_GETNONCALLMSG) function to retrieve the data into its local structure or look into the extension event data.
GCIS_EXEV_INFONULL when using Springware boards
Note: When using DM3 boards, this event is not supported.
An ISDN_INFORMATION message was received containing a NULL CRN. Upon receipt of this event, the application may issue a gc_Extension (GCIS_EXID_GETNONCALLMSG) function to retrieve the data into its local structure or look into the extension event data.
GCIS_EXEV_L2BFFRFULL when using Springware boards
Note: When using DM3 boards, this event is not supported.
Reserved for future use.
GCIS_EXEV_L2FRAME when using Springware boards
When using DM3 boards, the equivalent event is GCEV_L2FRAME
A data link layer frame has been received by the application. The application should use the gc_Extension (GCIS_EXID_GETFRAME) function to retrieve the received frame. It is the application's responsibility to analyze the contents of the frame or look into the extension event data.
GCIS_EXEV_L2NOBFFR when using Springware boards Note: When using DM3 boards, this event is not supported. There are no buffers available to save the incoming frame.
GCIS_EXEV_NOFACILITYBUF when using Springware boards Note: When using DM3 boards, this event is not supported. Facility buffer is not ready
GCIS_EXEV_NOTIFY when using Springware boards When using DM3 boards, the equivalent event is GCEV_NOTIFY A NOTIFY message has been received by the application. Use the gc_GetCallInfo( ) function to retrieve additional information about the event or look into the extension event data.
GCIS_EXEV_NOTIFYGLOBAL when using Springware boards
Note: When using DM3 boards, this event is not supported.
An ISDN_NOTIFY message containing a Global CRN value was received. This event is sent on the board level device, as the event is associated with all calls on the device. Upon receipt of this event, the application may issue a gc_Extension (GCIS_EXID_GETNONCALLMSG) function to retrieve the data into its local structure or look into the extension event data.
GCIS_EXEV_NOTIFYNULL when using Springware boards
Note: When using DM3 boards, this event is not supported.
An ISDN_NOTIFY message was received containing a Dummy (NULL) CRN. Upon receipt of this event, the application may issue a gc_Extension (GCIS_EXID_GETNONCALLMSG) function to retrieve the data into its local structure or look into the extension event data.
GCIS_EXEV_NOUSRINFOBUF when using Springware boards
Note: When using DM3 boards, this event is not supported.
User IE buffer is not ready
GCIS_EXEV_NSI when using Springware boards
Note: When using DM3 boards, this event is not supported.
A Network Specific Indication (NSI) message was received from the network. The application should use gc_GetCallInfo( ) to retrieve the NSI string(s) or look into the extension event data.
GCIS_EXEV_PLAYTONE when using Springware boards
Note: When using DM3 boards, this event is not supported.
User-defined tone successfully played.
GCIS_EXEV_PLAYTONEFAIL when using Springware boards
Note: When using DM3 boards, this event is not supported.
Request to play user-defined tone failed.
GCIS_EXEV_PROGRESSING when using Springware boards
When using DM3 boards, the equivalent event is GCEV_PROGRESSING
A PROGRESS message has been received by the application. By default, the firmware will send this event to the application. The application may block this event by clearing the CCMSK_PROGRESS bit. Use the gc_GetCallInfo( ) function to retrieve additional information about the event or look into the extension event data.
GCIS_EXEV_STATUS when using Springware boards
Note: When using DM3 boards, this event is not supported.
A STATUS message has been received from the network.
GCIS_EXEV_STATUS_ENQUIRY when using Springware boards
Note: When using DM3 boards, this event is not supported.
A STATUS_ENQ message has been received from the network.
GCIS_EXEV_STOPTONE when using Springware boards
Note: When using DM3 boards, this event is not supported.
The tone operation was terminated.
GCIS_EXEV_STOPTONEFAIL when using Springware boards
Note: When using DM3 boards, this event is not supported.
The request to terminate the playing of a tone failed.
GCIS_EXEV_TIMER when using Springware boards
Note: When using DM3 boards, this event is not supported.
An unsolicited event indicating that a timer has expired.
GCIS_EXEV_TONEREDEFINE when using Springware boards
Note: When using DM3 boards, this event is not supported.
The tone(s) in the firmware tone template table were successfully redefined.
GCIS_EXEV_TONEREDEFINEFAIL when using Springware boards
Note: When using DM3 boards, this event is not supported.
The request to redefine tone(s) in the firmware tone template table failed.
GCIS_EXEV_TRANSFERACK when using Springware boards
Note: When using DM3 boards, this event is not supported.
A TRANSFER ACKNOWLEDGE message was received from the network. The indicated network has accepted a request to transfer a call.
GCIS_EXEV_TRANSFERREJ when using Springware boards
Note: When using DM3 boards, this event is not supported.
A TRANSFER REJECT message was received from the network. The indicated network has rejected a request to transfer a call.
GCIS_EXEV_TRANSIT when using Springware boards
When using DM3 boards, the equivalent event is GCEV_TRANSIT
After a transfer is established, transit messages are used for relating messages between the originating end and the terminating end.
GCIS_EXEV_USRINFO when using Springware boards
When using DM3 boards, the equivalent event is GCEV_USRINFO
A USER INFORMATION message has been received by the application, indicating that a user-to-user information (UUI) event is coming. For example, this event is received in response to a gc_Extension(GCIS_EXID_SNDMSG) function call, from the far end, in which the msg_type is SndMsg_UsrInformation. Use the gc_GetCallInfo( ) function to retrieve the UUI or look into the extension event data. Field parmblk of EXTENSIONEVTBLK will hold following parameters: GCIS_SET_IE, GCIS_PARM_UIEDATA (char array, maximum length can go to MAXLEN_IEDATA): Unprocessed IEs in CCITT format. The IEs are returned as raw data and must be parsed and interpreted by the application.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

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