Ejemplo n.º 1
0
        public void AddQueue()
        {
            try
            {
                var test = new CreateQueueRequest();
                //test.AcwSettings.WrapupPrompt = AcwSettings.WrapupPromptEnum.Mandatory;
                //test.AcwSettings.TimeoutMs = 120000;
                test.CallingPartyNumber = "+33954360976";

                //test.Division.Name = "Home";
                test.Name = "AMO - test queue";
                test.SkillEvaluationMethod = CreateQueueRequest.SkillEvaluationMethodEnum.Best;
                //test.AutoAnswerOnly = false;

                routingApi.PostRoutingQueues(test);
            }
            catch (Exception ex)
            {
                AddLog($"Error in AddQueue: {ex.Message}");
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }