Skip to content

Instantly share code, notes, and snippets.

@priyankvex
Created June 3, 2018 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priyankvex/11c391ff0a594a9824aa3ff4e144dfd3 to your computer and use it in GitHub Desktop.
Save priyankvex/11c391ff0a594a9824aa3ff4e144dfd3 to your computer and use it in GitHub Desktop.
from twilio.rest import TwilioClient
call = TwilioClient.calls.create(
to="{first_agent_number}",
from_={twilio_caller_id},
url=reverse("twiml_dial_second_leg_url")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment