Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eliothsu committed Nov 1, 2023
1 parent 0a83c64 commit d14eea7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/do-not-call-detection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on outbound calls as to whether or not the receiving party has indicated they wo
be placed on a Do Not Call list. Additionally, if Do Not Call analysis was run on a call,
the result will be populated into a field on the Call object returned from the Get Call endpoint.

By default, if the run_do_not_call_detection argument is not supplied, Vocode will not run
By default, if the `run_do_not_call_detection` argument is not supplied, Vocode will not run
Do Not Call detection.

# Example 1: Run Do Not Call detection on an outbound call, and retrieve the result
Expand All @@ -27,7 +27,7 @@ vocode_client.calls.create_call(
content="Ask Eliot if the sun is on today"
),
),
run_do_not_call_detection="True"
run_do_not_call_detection=True
)
```

Expand All @@ -43,10 +43,10 @@ returning:
```json
{
"id": "call_id",
"toNumber": "123456789",
"fromNumber": "123456789",
"to_number": "123456789",
"from_number": "123456789",
...
"do_not_call_result": "True",
"do_not_call_result": true,
...
}
```
3 changes: 2 additions & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@
"injecting-context",
"machine-detection",
"ivr-navigation",
"hipaa-compliance"
"hipaa-compliance",
"do-not-call-detection"
]
}
],
Expand Down

0 comments on commit d14eea7

Please sign in to comment.