![]() The number the caller calls should point to /caller and the number for the agent calls should point to /agent. Call now to help them.",ĭon't forget to configure your active numbers in twilio. Notify agent of call via SMS client = TwilioRestClient("your account sid.AC.", "your account auth token.xxxx")įrom_="put the twilio number to send sms from here",īody="A caller is in the queue. ![]() ![]() methods=)Ĭonfigure the waiting room to notify the user of their current position in the queue and play the holding music or marketing message. Receive and Print a Twilio SMS with Python - Stack Overflow Receive and Print a Twilio SMS with Python Ask Question Asked 4 years, 11 months ago Modified 4 years, 11 months ago Viewed 1k times Part of Twilio Collective 3 For clarification, I don't want to reply to the SMS. Ok I resolved it, so if you are using python on twilio, this is the code to have your phone system that answers the call, puts the caller on hold playing music and then sends you an sms then you can call the number to help the caller.Ĭonfigure this number to accept incoming calls. If PORT not specified by environment, assume development config. Response.say("You are number %s in line." % request.form)Ĭonnect to support queue - assign to Twilio number for agent to call. methods=)īody="Hey Jenny! Good luck on the bar exam!", Response.enqueue("Queue Demo", waitUrl='/wait')Ĭonfigure waiting room to notify user of current position in the queue and play the sweet, soothing sounds of Twilio's coffeeshop collection. ![]() Declare and configure application app = Flask(_name_, static_url_path='/static')Ĭlient = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)Ĭonfigure this number to a toll-free Twilio number to accept incoming calls. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |