Skip to content

Commit

Permalink
Update docs/telephony.mdx (vocodedev#306)
Browse files Browse the repository at this point in the history
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
  • Loading branch information
wwzeng1 and sweep-ai[bot] authored Jul 31, 2023
1 parent dc48eb3 commit d23f078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/telephony.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ uvicorn main:app --port 3000
Make sure the server we just set up is already running. Then, in `outbound_call.py`

1. Replace the `to_phone` with the number you want to call and the `from_phone` with the number you want to call from.
In order to make a call from the `to_phone`, you must have access to it via Twilio (either a number purchased via Twilio or verify the caller ID).
In order to make a call from the `from_phone`, you must have access to it via Twilio (either a number purchased via Twilio or verify the caller ID).

> Note: To ensure legal compliance with robocall regulations in California, the following code snippet from the [Vocode library](https://github.com/vocodedev/vocode-python/blob/main/vocode/streaming/telephony/conversation/outbound_call.py#L83-L96) utilizes Twilio Line Intelligence to check if calls are made to mobile phones: For Canadian phone numbers, the Twilio Lookup API may not return carrier data due to the Canadian Local Number Portability Consortium (CLNPC) requirements. More information on this issue can be found in the [Twilio Support Article](https://support.twilio.com/hc/en-us/articles/360004563433-Twilio-Lookup-API-is-Not-Returning-Carrier-Data-for-Canadian-Phone-Numbers).
Expand Down

0 comments on commit d23f078

Please sign in to comment.