User`s guide

Dialogic
®
System Release 6.0 PCI for Windows
®
Release Update, Rev 62 — January 30, 2008 129
Dialogic Corporation
{
break;
}
printf("Received GCEV_GETCONFIGDATA EVENT on target_type=%d, target_id=0x%x,
rquest_id=0x%x",
t_pRtcmEvt->target_type, t_pRtcmEvt->target_id, t_pRtcmEvt->request_ID);
ProcessRTCMEvent(evttype, t_pRtcmEvt->request_ID, t_pRtcmEvt->retrieved_parmblkp);
break; /* RETURN POINT!!!!! */
break;
case GCEV_SETCONFIGDATA:
t_pRtcmEvt = (GC_RTCM_EVTDATA *) metaevent.evtdatap;
if (! t_pRtcmEvt)
{
break;
}
printf("Received GCEV_SETCONFIGDATA EVENT on target_type=%d, target_id=0x%x,
rquest_id=0x%x",
t_pRtcmEvt->target_type, t_pRtcmEvt->target_id, t_pRtcmEvt->request_ID);
t_NumParms = 3;
/* Retrieving existing values from CDP variables */
t_Result = GetCDPVarParms(t_pRtcmEvt->target_id, t_NumParms, t_CDPVarParms,
&t_RequesID);
if (t_Result)
{
/* Processs error */
}
break;
case GCEV_GETCONFIGDATA_FAIL:
t_pRtcmEvt = (GC_RTCM_EVTDATA *) metaevent.evtdatap;
if (! t_pRtcmEvt)
{
break;
}
printf("Received GCEV_GETCONFIGDATA EVENT_FAIL on target_type=%d, target_id=0x%x,
rquest_id=0x%x",
t_pRtcmEvt->target_type, t_pRtcmEvt->target_id, t_pRtcmEvt->request_ID);
break;
case GCEV_SETCONFIGDATA_FAIL:
t_pRtcmEvt = (GC_RTCM_EVTDATA *) metaevent.evtdatap;
if (! t_pRtcmEvt)
{
break;
}
printf("Received GCEV_SETCONFIGDATA_FAIL EVENT on target_type=%d, target_id=0x%x,
rquest_id=0x%x",
t_pRtcmEvt->target_type, t_pRtcmEvt->target_id, t_pRtcmEvt->request_ID);
break;
default:
break;
}
}
1.42.1.6 Dynamically Configuring a Trunk
This feature enables the user to perform the following dynamic configuration operations at
runtime:
Setting the Line Type and Coding for a Trunk
Specifying the Protocol for a Trunk
Note: The gc_SetConfigData( ) function can be used on a board device to perform these
operations. However, it is the application's responsibility to handle all active calls on the
trunk, and terminate them if necessary. In addition, the gc_ResetLineDev( ) function may