Mattia
01/27/2025, 7:50 AMVapi
01/27/2025, 7:52 AMendedReason
values that correspond to the various outcomes of the calls, such as "ended by IVR", "POSITIVE", "Not Interested", and "Does not have time".
To implement this, you would need to set up logic within your voice application to detect these scenarios and then send the appropriate endedReason
in the POST request to the Server URL when the call ends.
For instance:
- When an IVR is detected, the application could set the endedReason
to "ended by IVR".
- If the call had a positive outcome, the endedReason
could be set to "POSITIVE".
- If the customer expresses disinterest, the endedReason
could be "Not Interested".
- If the customer asks to be called back at another time, the endedReason
could be "Does not have time".
This way, you can track the outcomes of the calls more granularly and take appropriate actions based on the specific sub-outcomes.
If you need assistance with setting up this logic or have any further questions, please feel free to ask!Vapi
01/27/2025, 7:52 AMMattia
01/27/2025, 7:58 AMShubham Bajaj
01/28/2025, 4:33 AM