Author Topic: Add music AttributeExtensions to HoldCall  (Read 1949 times)

Offline retinadesign

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Add music AttributeExtensions to HoldCall
« 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]