Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using attQuerySplitSkillMeasurements

Status
Not open for further replies.

ValGarn

Programmer
Jan 7, 2004
10
RU
ATTSplitSkillMeasurementsPresent_t requestItems;
requestItems.allMeasurements = true;
rcode = attQuerySplitSkillMeasurements( (ATTPrivateData_t * )&pdata, &split_device, &requestItems, intvCurrent);
rcode = cstaQueryDeviceInfo( acs_handle, 0, &split_device, (PrivateData_t * )&pdata );

long avgACDTalkTime;
short avgSpeedOfAnswer;
short agentsAvailable;
short callsWaiting;

if( event_block.eventHeader.eventClass == CSTACONFIRMATION &&
event_block.eventHeader.eventType == CSTA_MONITOR_CONF )
{
if( pdata.length )
{
ATTEvent_t privEvent;
rcode = attPrivateData( &pdata, &privEvent );
if( privEvent.eventType == ATT_QUERY_SPLIT_SKILL_MEASUREMENTS )
{
avgACDTalkTime = privEvent.u.querySplitSkillMeas.values.avgACDTalkTime;
avgSpeedOfAnswer = privEvent.u.querySplitSkillMeas.values.avgSpeedOfAnswer;
agentsAvailable = privEvent.u.querySplitSkillMeas.values.agentsAvailable;
callsWaiting = privEvent.u.querySplitSkillMeas.values.callsWaiting;
}
}
else printf( "\nNo Private data in delivered event" );
}
 
This code is not worked, because in privEvent.u.querySplitSkillMeas values of privEvent.u.querySplitSkillMeasReq. Why ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top