twilio

Twilio says I don't have permission to send to the region of my 'To' number

倖福魔咒の 提交于 2020-12-28 06:50:27
问题 I am trying to send a simple SMS and have been doing so for over a year with my app. All of a sudden, on my staging and local environment (prod is fine), I keep getting this error: Twilio::REST::RequestError: Permission to send an SMS has not been enabled for the region indicated by the 'To' number: '+13105551234' Both numbers are local California numbers and I have the US enabled on my account. I changed the numbers to 5551234 for this SOF post but they are both valid numbers (the from

Twilio says I don't have permission to send to the region of my 'To' number

删除回忆录丶 提交于 2020-12-28 06:47:01
问题 I am trying to send a simple SMS and have been doing so for over a year with my app. All of a sudden, on my staging and local environment (prod is fine), I keep getting this error: Twilio::REST::RequestError: Permission to send an SMS has not been enabled for the region indicated by the 'To' number: '+13105551234' Both numbers are local California numbers and I have the US enabled on my account. I changed the numbers to 5551234 for this SOF post but they are both valid numbers (the from

Cannot receive media attachment file in Twilio Flex

笑着哭i 提交于 2020-12-15 06:44:45
问题 Project description: Currently we have our customers using various chat platforms such as whatsapp , and slack where our contact center is forced to use the same. However, we would like to give Twilio flex platform to our contact service team so that they can reply messages coming from whatsapp, slack. Query regarding media messages: I use Javascript Client SDK for front end and connect Twilio Flex as an agent. Chat is working fine. I can send / Receive messages. But, when I send media files

Cannot receive media attachment file in Twilio Flex

这一生的挚爱 提交于 2020-12-15 06:44:31
问题 Project description: Currently we have our customers using various chat platforms such as whatsapp , and slack where our contact center is forced to use the same. However, we would like to give Twilio flex platform to our contact service team so that they can reply messages coming from whatsapp, slack. Query regarding media messages: I use Javascript Client SDK for front end and connect Twilio Flex as an agent. Chat is working fine. I can send / Receive messages. But, when I send media files

Concatenating mka files but keeping timestamp

北慕城南 提交于 2020-12-15 05:24:08
问题 I am trying to mix a few files with FFMPEG that are mka and are from a Twilio Video Conference recording. I am trying to get tracks for each participant but I am trying to keep the overall timestamp from the file. Concrete example: i have these three files: 0PA1896e43f4ca0edf17d8dbfc0bab95a52.mka 1PA2a640f11bc13af2c29397800f058cb05.mka 2PA9fa5b32edc016f6f5b9669bb9b308d97.mka These files are all tracks of a participant in the call but joined at different times(left the meeting and re-entered,

TWILIO API ERROR Credentials are required to create a TwilioClient django

假装没事ソ 提交于 2020-12-15 05:23:10
问题 I am trying to include TWILIO API to my project. It should send sms. I have finished tutorial, but then i get error Credentials are required to create a TwilioClient . I have credentials in .env file and then i try to import them to settings and then get this credentials from settings to views. This is when i get error. .env TWILIO_ACCOUNT_SID= 'xxxxxxxxxxxxxxxxxxxxxx' TWILIO_AUTH_TOKEN= 'xxxxxxxxxxxxxxxxxxxxxxx' TWILIO_NUMBER= 'xxxxxxxxxxxxxxxxxx' settings.py import os TWILIO_ACCOUNT_SID =

How to detect Touch-tones (DTMF) in a Twilio video room

流过昼夜 提交于 2020-12-14 12:08:43
问题 After following this document I can successfully add PSTN callers to a video room (Small Room type). What I haven't been able to do is to detect DTMF tones from the person calling in. I tried two different approaches, both have failed 1) The one that I used before with a different provider and worked, but not with Twilio, was to have one of the other users in the room (not the PSTN caller but a javascript client) detect the DTMF client-side. This doesn't work with twilio because it sounds to

How to detect Touch-tones (DTMF) in a Twilio video room

这一生的挚爱 提交于 2020-12-14 12:04:52
问题 After following this document I can successfully add PSTN callers to a video room (Small Room type). What I haven't been able to do is to detect DTMF tones from the person calling in. I tried two different approaches, both have failed 1) The one that I used before with a different provider and worked, but not with Twilio, was to have one of the other users in the room (not the PSTN caller but a javascript client) detect the DTMF client-side. This doesn't work with twilio because it sounds to

How to detect Touch-tones (DTMF) in a Twilio video room

老子叫甜甜 提交于 2020-12-14 12:01:36
问题 After following this document I can successfully add PSTN callers to a video room (Small Room type). What I haven't been able to do is to detect DTMF tones from the person calling in. I tried two different approaches, both have failed 1) The one that I used before with a different provider and worked, but not with Twilio, was to have one of the other users in the room (not the PSTN caller but a javascript client) detect the DTMF client-side. This doesn't work with twilio because it sounds to

Twilio How to do pagination with messages?

可紊 提交于 2020-12-12 06:16:21
问题 I am able to get the messages from the new php client. How do I do pagination with messages? How to get next_uri, first_uri, page_size parameters ? <?php require_once '/Twilio/autoload.php'; // Loads the library use Twilio\Rest\Client; // Your Account Sid and Auth Token from twilio.com/user/account $sid = "xxx"; $token = "xxx"; $client = new Client($sid, $token); // Loop over the list of messages and echo a property for each one foreach ($client->messages->read() as $message) { echo $message-