I am working on call queue setup automation.
Custom answering rule API seems to be the great fit for my needs, but the problem is I can not disable queue introduction speech programmatically. No matter what I send in greetings list of my rule, the Call Queue Greeting checkbox is always checked by default. It sucks that I would need to go and uncheck this one for every queue that I am creating while everything else can be automated.
This is the request body that I send:
{"enabled":true,"type":"Custom","name":"Restaurant Olive queue business hours answering rule","schedule":{"weeklyRanges":{"monday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}],"tuesday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}],"wednesday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}],"thursday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}],"friday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}],"saturday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}],"sunday":[{"from":"12:00","to":"15:00"},{"from":"18:00","to":"21:00"}]}},"callHandlingAction":"AgentQueue","queue":{"transferMode":"Rotating","agentTimeout":30,"wrapUpTime":10,"noAnswerAction":"UnconditionalForwarding","holdTime":90,"holdTimeExpirationAction":"UnconditionalForwarding","maxCallers":10,"maxCallersAction":"UnconditionalForwarding","unconditionalForwarding":[{"phoneNumber":"***","action":"NoAnswer"},{"phoneNumber":"***","action":"HoldTimeExpiration"},{"phoneNumber":"***","action":"MaxCallers"}]},"greetings":[{"type":"ConnectingAudio","preset":{"id":"131846"}}]}
I also tried not sending greetings param at all, but this leads to same result where all default greetings are added to the rule.
Tried to send null and 0 values, e.g:
{"greetings":[{"type":"Introductory","custom":{"id":null}}]}
But this results in validation errors
Is there a way to somehow make this checkbox off by default? Would be a great help!
