I have an 'incoming call' web-hook for a contact centre application that I'm working on and it basically speaks a few words to the caller ("Welcome to x company etc..") and then adds them to a call queue.
I'm able to add further web-hooks for the 'action' and 'wait' events for the queue which let me check the progress of the call in the queue, however I'm struggling to find a way to handle calls that hang up before entering the queue. An example would be if someone hangs up while the system is speaking "Welcome to x company etc..".
I know that I could automatically add them to the queue and play the welcome message in the 'wait url' web-hook however this message would get repeated on a loop.