You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/call-forwarding.mdx
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -386,14 +386,18 @@ In this mode, Vapi dials the destination number and places the caller on hold (w
386
386
- Provide a `message` to be spoken to the operator when they answer.
387
387
- Optionally define a `summaryPlan` that will take precedence over the message if enabled.
388
388
- Configure a `fallbackPlan` with a message and whether to end the call if transfer fails.
389
-
- When voicemail detection is enabled in the assistant configuration (with either Google or OpenAI provider), it will use that configuration to detect if a human answered the call. Note that only Google or OpenAI providers are supported for voicemail detection with transfer plans, even if the assistant configuration supports other providers like Twilio or Vapi.
389
+
- Configure `voicemailDetectionType` to customize how human voice detection is performed (only applies when the provider is Google or OpenAI):
390
+
-`"audio"` (default): Supports a wide range of machine detection including beep detection and other audio cues
391
+
-`"transcript"`: Uses transcript-based detection with the lowest latency and faster transfer processing times
392
+
- Note that only Google or OpenAI providers are supported for voicemail detection with transfer plans, even if the assistant configuration supports other providers like Twilio or Vapi.
390
393
391
394
-**Example:**
392
395
393
396
```json
394
397
"transferPlan": {
395
398
"mode": "warm-transfer-experimental",
396
399
"message": "Transferring a customer to you.",
400
+
"voicemailDetectionType": "transcript",
397
401
"fallbackPlan": {
398
402
"message": "Could not transfer your call, goodbye.",
399
403
"endCallEnabled": true
@@ -414,6 +418,8 @@ In this mode, Vapi dials the destination number and places the caller on hold (w
414
418
}
415
419
```
416
420
421
+
<Note>This example uses `"transcript"` for the fastest transfer processing. For wider machine detection capabilities, use `"audio"` instead.</Note>
422
+
417
423
Here is a full example of a `transferCall` payload using the experimental warm transfer mode:
418
424
419
425
```json
@@ -430,6 +436,7 @@ Here is a full example of a `transferCall` payload using the experimental warm t
430
436
"transferPlan": {
431
437
"mode": "warm-transfer-experimental",
432
438
"message": "Transferring a customer to you.",
439
+
"voicemailDetectionType": "audio",
433
440
"fallbackPlan": {
434
441
"message": "Could not transfer your call, goodbye.",
435
442
"endCallEnabled": true
@@ -453,7 +460,12 @@ Here is a full example of a `transferCall` payload using the experimental warm t
453
460
}
454
461
```
455
462
463
+
<Note>This example uses `"audio"` for comprehensive machine detection including beep detection. This is the default option if not specified.</Note>
464
+
456
465
**Notes:**
457
466
458
467
- In all warm transfer modes, the `{{transcript}}` variable contains the full transcript of the call and can be used within the `summaryPlan`.
468
+
- The `voicemailDetectionType` parameter allows you to optimize the detection method based on your needs:
469
+
- Use `"transcript"` for the fastest transfer processing with lowest latency
470
+
- Use `"audio"` (default) for comprehensive machine detection including beep detection and other audio cues
459
471
- For more details about transfer plans and configuration options, please refer to the [transferCall API documentation](/api-reference/tools/create#request.body.transferCall.destinations.number.transferPlan)
0 commit comments