![]() 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. "triptorigatwilio/eventpremrigaholdmusic1.mp3") methods=)Ĭonfigure the waiting room to notify the user of their current position in the queue and play the holding music or marketing message. 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. I have the times and dates of the appointments, with the name of the corresponding customer and more info, saved in a csv-file. We need to send to our customers sms 15 min before appointments. Response.say("You are number %s in line." % request.form)Ĭonnect to support queue - assign to Twilio number for agent to call. 1 I just started using twilio for a start-up. 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 |