Hi all,
Is it possible to add attached data during agent in ACW status? Attached date should be collected by Speechminer.
I tried to create custom command and use method interaction.setAttachedData() but it`s not work. Could anyone help me with coorect method?
public bool Execute(IDictionary<string, object> parameters, IProgressUpdater progressUpdater)
{
//this.log.Info((object)nameof(CompleteVoiceDispositionCodeOnBundleCommand));
this.container.Resolve<IEventAggregator>();
var bandle = parameters["CommandParameter"] as IInteractionsBundle;
if (bandle != null)
{
foreach (IInteraction interaction in (IEnumerable<IInteraction>)bandle.Interactions)
{
IInteractionVoice interactionVoice = interaction as IInteractionVoice;
if (interactionVoice != null)
{
KeyValueCollection userData3 = new KeyValueCollection();
userData3.Add("Theme123","qwerty");
interaction.SetAttachedData(userData3);
var connID = interactionVoice.TConnectionId;
WindowsOptions newInstance = WindowsOptions.CreateNewInstance(interaction.ContextualConfigManager);
var result = this.voiceService.BeginSetCallQualification(interaction.Media.Channel, interactionVoice.Device[0],
}
}
}
return false;
}