Hi,
I have created a dropdown button, for initiating a Single Step Conference.
After triggerring the event I have a method to execute conference as below:
private void initiateConference(string result)
{
var parameters = new Dictionary<string, object>
{
{"CommandParameter", interaction},
{"Destination", result},
{"Location", ""},
{"UserData", null},
{"Reasons", null},
{"Extensions", null}
};
container.Resolve<ICommandManager>().GetChainOfCommandByName("InteractionVoiceSingleStepConference").Execute(parameters);
}
In the above case, I have used a variable "interaction" to be passed as a value to "CommandParameter", As this is a Voice interaction I am expecting I need to pass the interaction to be of "Voice" type. I have read in some other posts that I could use InteractionManager to get the Interaction type. Can anyone help with the command I need to use to get the current interaction type (i.e Voice) into interaction variable?