Questions tagged [twilio-python]

40 questions
0
votes
1 answer

can i automate this twilio verified phone numbers list from a python program

from twilio.rest import Client import os account_sid = 'ACXXXXXXXXXXXXXX' auth_token = 'XXXXXXXXXXXXXXXXX' client = Client(account_sid, auth_token) mob = 'XXXXXXXXXX' verify =…
Vam
  • 123
  • 4
0
votes
1 answer

Getting 404 from the Twilio Voice Insights API when fetching summaries and metrics

I am trying to get the the summary for call records from the rest API and I am getting 404 every time on every single calls SIDs. I am using latest version of twilio-python helper library to send requests. insights_response =…
Parzival
  • 47
  • 4
0
votes
0 answers

How do I pass a new line character to Twilio's python library for SMS via a variable

I'm trying to figure out a way that I can pass a newline character to the Twilio library via my python script which sends SMS messages. I need to do this because I'm storing automated responses in a database which I'm querying based on end user…
0
votes
1 answer

Twilio recording_status_callback_event is not called when recording is complete

I am using Twilio to record calls using RecordVerb in Python. Here is how I am using it response.record(action='/exit/graceful?lang='+lang, timeout=5, play_beep='true', …
Mudit Sharma
  • 37
  • 1
  • 9
0
votes
1 answer

Check if a participant exists in a conference using participant label

I tried participant = conferences[0].participants('participant') but this always return a participant even though the participant is not in the conference. participant = conferences[0].participants('participant').fetch() returns an error if the…
martinii
  • 141
  • 10
0
votes
1 answer

Adding a participant label when dialling in conference (Twilio)

conference.participants.create(from_=caller_id, to=to_number, label='customer') This piece of code is returning an error TypeError: create() got an unexpected keyword argument 'label' I read from…
martinii
  • 141
  • 10
0
votes
1 answer

Twilio outbound call hold disconnecting callee

I am implementing hold function in Twilio. Whenever I call the hold function, the callee is getting disconnected. The code below only applies to the caller, not the callee. if call_sid: client = Client(self.account_sid, self.auth_token) …
martinii
  • 141
  • 10
0
votes
1 answer

How to grab first available Twilio Number to use in python script?

Im having trouble following the docs on Twilio for their API. It looks like theres a lot of unnecessary steps, unless im just an idiot. This code that I copy and pasted below works great, it prints out a list of the numbers that I would like to buy.…
jkorn95
  • 45
  • 6
0
votes
2 answers

Twilio Verify Python SDK throws 404 error

I am using Twilio Python SDK for verify services. I get below error when I try to send email OTPs. {TwilioRestException}HTTP 404 error: Unable to create record: The requested resource /Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Verifications was…
Vijay Singh Kholiya
  • 383
  • 1
  • 6
  • 19
0
votes
0 answers

Twilio: Room History

I am developing an API to retrieve the Twilio access token for a given chat room using Python. However I cannot seem to find a way to retrieve/list the activity history (call history, times when each participant joined the room, started calls and…
Teshan N.
  • 2,307
  • 3
  • 30
  • 59
1 2
3