Question
- Does every call receive a "completed" event?
- Why do I get both a "failed" and "completed" event?
- If a call fails, does it still receive a "completed" event?
Answer
Every call that is successful, unanswered or uses Connect with Fallback will receive a "completed" status event as well as an intermediary response such as "started", "ringing" and "answered"; unless you receive a "rejected" callback.
If you are using Connect with Fallback, then you will receive a final "completed" event once the call flow has finished signalling the Connect action has completed. If you return a new NCCO with a new Connect action, this is returned after the new Connect action has been completed.