Cisco Cisco Computer Telephony Integration OS 8.5 Reference Guide
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Chapter 4 Broadcast Statistics
Invoking Service Methods
4-14
CTI Driver for Siebel 7 Reference Guide for Cisco ICM/IPCC Enterprise & Hosted Editions, Release 7.0(0)
// matches the agent's statistics Position Id. If one
// is found, remove it.
bcMVG.SetSearchSpec("Id", strPositionId);
bcMVG.ExecuteQuery( ForwardOnly );
while (bcMVG.FirstRecord())
{
bcMVG.DeleteRecord();
}
bcMVG = null;
hasRecord = bcBroadcastMessage.NextRecord();
}
bcBroadcastMessage = null;
boBroadcastMessage = null;
}
Example 4-2
Sample DEF File for Invoking ClearAgentBroadcasts Service Method
[Command:LoginToPBX]
SubCommand_1 = "LoginToPBXDevice"
SubCommand_2 = "InsertAgentStatBroadcast"
SubCommand_3 = "ClearAgentSkillGroups"
Profile = ""
FilterSpec = "[$GetCommandStatus(LoginToPBXDevice)]='Enabled'"
MenuPosition = "20.1"
Comments = ""
Title = "Log In (Phone)"
ExecuteAll = "TRUE"
CmdData = ""
[Command:ClearAgentSkillGroups]
Profile = ""
Comments = "Add a Broadcast Message record for this agent/position"
CmdData = "ClearAgentSkillGroups"
ServiceMethod = "Cisco Broadcast Stats.ClearAgentBroadcasts"
Hidden = "TRUE"
[CmdData:ClearAgentSkillGroups]
Comments = ""
ServiceParam.UserName = "{@UserName}"
ServiceParam.Prefix = "CTISkillStat_"