From d23f078622298ead841c64ddb138db7996965d84 Mon Sep 17 00:00:00 2001 From: William Zeng <44910023+wwzeng1@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:00:12 -0700 Subject: [PATCH] Update docs/telephony.mdx (#306) Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com> --- docs/telephony.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/telephony.mdx b/docs/telephony.mdx index 7fc58a71a..4fc8cf85a 100644 --- a/docs/telephony.mdx +++ b/docs/telephony.mdx @@ -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).