0xBLURRYFΛCE
06/30/2024, 11:10 PM"destinations": [
{
"type": "phoneNumber",
"number": "+1234567890",
"message": "I am forwarding your call to Department A. Please stay on the line."
}
and
{
"type": "request-start",
"content": "I am forwarding your call to Department A. Please stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+1234567890"
}
]
}
After tests, only "content": "I am forwarding your call to Department A. Please stay on the line."
is notified to the caller. What is the purpose of "message": "I am forwarding your call to Department A. Please stay on the line."
?Vapi
06/30/2024, 11:11 PM"message": "I am forwarding your call to Department A. Please stay on the line."
within the destinations
array is intended to provide a text-to-speech message to the caller before the call is actually forwarded. This message is played to inform the caller about what is happening and to provide a seamless experience during the call transfer process.
On the other hand, the "content": "I am forwarding your call to Department A. Please stay on the line."
within the request-start
object is used to trigger a specific action or event when certain conditions are met, in this case, when the destination matches "+1234567890"
. This could be part of a more complex call flow where different messages or actions are triggered based on the call's destination.
If only the "content"
is being notified to the caller and not the "message"
, it could be due to the specific implementation or configuration within the VAPI system. It's possible that the "message"
is intended to be a fallback or an alternative way to provide information to the caller, but the actual behavior can depend on how the VAPI platform processes these instructions.
If you need further clarification on the specific behavior and usage of these fields in your call flows, please ask support for more info on this.Vapi
06/30/2024, 11:11 PMVapi
06/30/2024, 11:13 PMBrian
07/14/2024, 8:20 PMShubham Bajaj
07/15/2024, 12:56 PMShubham Bajaj
07/15/2024, 12:57 PM0xBLURRYFΛCE
07/15/2024, 12:58 PM0xBLURRYFΛCE
07/15/2024, 12:58 PMBrian
07/15/2024, 3:02 PMShubham Bajaj
07/15/2024, 3:07 PMBrian
07/15/2024, 3:08 PMShubham Bajaj
07/15/2024, 6:41 PMBrian
07/15/2024, 6:45 PMShubham Bajaj
07/15/2024, 6:46 PMBrian
07/15/2024, 6:48 PM