Skip to content

Commit 1b413d9

Browse files
authored
Merge branch 'main' into adithya/delete-onprem
2 parents 6823660 + 6098e9e commit 1b413d9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

fern/call-forwarding.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,14 +386,18 @@ In this mode, Vapi dials the destination number and places the caller on hold (w
386386
- Provide a `message` to be spoken to the operator when they answer.
387387
- Optionally define a `summaryPlan` that will take precedence over the message if enabled.
388388
- 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.
390393

391394
- **Example:**
392395

393396
```json
394397
"transferPlan": {
395398
"mode": "warm-transfer-experimental",
396399
"message": "Transferring a customer to you.",
400+
"voicemailDetectionType": "transcript",
397401
"fallbackPlan": {
398402
"message": "Could not transfer your call, goodbye.",
399403
"endCallEnabled": true
@@ -414,6 +418,8 @@ In this mode, Vapi dials the destination number and places the caller on hold (w
414418
}
415419
```
416420

421+
<Note>This example uses `"transcript"` for the fastest transfer processing. For wider machine detection capabilities, use `"audio"` instead.</Note>
422+
417423
Here is a full example of a `transferCall` payload using the experimental warm transfer mode:
418424

419425
```json
@@ -430,6 +436,7 @@ Here is a full example of a `transferCall` payload using the experimental warm t
430436
"transferPlan": {
431437
"mode": "warm-transfer-experimental",
432438
"message": "Transferring a customer to you.",
439+
"voicemailDetectionType": "audio",
433440
"fallbackPlan": {
434441
"message": "Could not transfer your call, goodbye.",
435442
"endCallEnabled": true
@@ -453,7 +460,12 @@ Here is a full example of a `transferCall` payload using the experimental warm t
453460
}
454461
```
455462

463+
<Note>This example uses `"audio"` for comprehensive machine detection including beep detection. This is the default option if not specified.</Note>
464+
456465
**Notes:**
457466

458467
- 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
459471
- 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

Comments
 (0)