Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: retinadesign on May 23, 2017, 12:53:51 PM

Title: Add music AttributeExtensions to HoldCall
Post by: retinadesign on May 23, 2017, 12:53:51 PM
Hey,

I registered a new IElementOfCommand Class after HoldCall for the InteractionVoiceHoldCall chain.
How can I add or edit the music attribute, to change the hold music now or am I on the completly wrong track?

Code for the registration
[code]
IList<CommandActivator> commandList = new List<CommandActivator>();
            commandList.Add(new CommandActivator() { CommandType = typeof(BeforeEventHeldCommand), Name = "BeforeEventHeld" });
            commandManager.InsertCommandToChainOfCommandAfter("InteractionVoiceHoldCall", "HoldCall", commandList);
[/code]