3.4.16. gc_SetAlarmParm( )
The gc_SetAlarmParm( ) function can be used to set QoS threshold values. The function parameter values in this context are:
- linedev: The media device handle, retrieved using the gc_GetResourceH( ) function. See Section 4.10.2, Retrieving the Media Device Handle for more information.
- aso_id: The alarm source object ID. Set to ALARM_SOURCE_ID_NETWORK_ID
- ParmSetID: Must be set to ParmSetID_qosthreshold_alarm.
- alarm_parm_list: A pointer to an ALARM_PARM_FIELD structure. The alarm_parm_number field is not used. The alarm_parm_data field is of type GC_PARM, which is a union. In this context, the type used is void *pstruct, and is cast as a pointer to an IPM_QOS_THRESHOLD_INFO structure, which includes an IPM_QOS_THRESHOLD_DATA structure that contains the parameters representing threshold values. See the IPM_QOS_THRESHOLD_INFO structure in the IP Media Library API Library Reference and the IP Media Library API Programming Guide for more information. The thresholds supported by Global Call are QOSTYPE_LOSTPACKETS and QOSTYPE_JITTER.
- mode: Must be set to EV_SYNC.
- Note: Applications must include the gcipmlib.h header file before Global Call can be used to set or retrieve QoS threshold values.
See Section 4.10.3, Setting QoS Threshold Values for code examples.
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation