twilio

Is it possible to add additional variables to the action attribute in the gather tag?

混江龙づ霸主 提交于 2019-12-11 09:26:30
问题 I have a multi-step Call in function but I want both calls to run through the same script. I'm not sure if it can be achieved by nesting gather tags. First is it possible to nest the gather tags like this? <gather action="page.php?step=1"> <say>Enter ID #</say> <gather action="page.php?step=2"> <say>Pres 1 to do blah blah</say> </gather> </gather> Second is can I add a variable to the action attribute in the <Gather> tag. It doesn't seem to be working for me. 回答1: Twilio Evangelist here. If

Android Twilio make a call

霸气de小男生 提交于 2019-12-11 09:12:41
问题 I am trying to make a call by altering android HelloMonkey for a few days using valid userid, when i make a call i get an error "Account SID cannot be null when making a call" my code is like public void connect(String phoneNumber) { Map<String, String> parameters = new HashMap<String, String>(); parameters.put("PhoneNumber", phoneNumber); if (device == null){ Log.w("", "Failed device == null"); }else{ Log.w("", "device != null"); } connection = device.connect(parameters, null /*

Twilio total call duration does not match with billing minutes

喜欢而已 提交于 2019-12-11 09:10:27
问题 In the attached image , the total voice minutes for July is 30 minutes. However if I pull the call logs for the same month July 2014 (using the instruction in https://www.twilio.com/docs/api/rest/call) , I get total duration as 17 minutes. Shouldn't the value of usage and total call duration in Log be equal ?. Here is my test source code for finding the call log files for month July 2014. Any help is greatly appreciated. public static void callLogs(string AccountSid, string AuthToken) { var

Twilio SMS using Ruby

爷,独闯天下 提交于 2019-12-11 08:44:39
问题 I've been working on a program that would read a CSV excel file and filter the information to be sent via sms. Currently, the program is only able to send one row of filtered information via sms. What should be modified to be able to send row after row seperately? Currently the code searches for 'medium' and '2' on columns 1 and 2. It would send out columns 0 and 4. Hence the results would be "DT3/SIG, "Repair Windows" but it wouldnt send out row 5 - "90430/RSO", "Repair Lights" require

How to disable Caller id in twilio?

给你一囗甜甜゛ 提交于 2019-12-11 08:25:07
问题 In my applicalion, i am using twilio calling api. i am using rest service to make a call it's fine. if any possible to hide a from number to users? i need to block orginal from phone number? thanks in advance. ` HashMap params = new HashMap(); params.put("From", "+XXXXXXXXXXXXX"); params.put("To", num); params.put("Url", Url); CallFactory callFactory = account.getCallFactory(); try { Call call = callFactory.create(params);` 回答1: Twilio evangelist here. Unfortunately its not possible to hide

Twilio call routing/management for small customer service team

六眼飞鱼酱① 提交于 2019-12-11 07:27:00
问题 I am trying to create a phone system with Twilio Javascript client SDK for a small customer service team with the following criteria: each Client can see if multiple calls are coming in at the same time and choose which one to answer each Client can transfer a call to another Client From what I can tell there is no way to see multiple incoming calls Which means, when transferring a call, if the phone is also ringing at the same time, the Client who is to be receiving the transferred call

Twilio Client Chat - Send media message

久未见 提交于 2019-12-11 07:19:39
问题 How can I send media message in Chat Client ? I'm using JS SDK and base on the tutorial https://www.twilio.com/docs/api/chat/guides/media-support, but getting error. I'm using the sendMessage method like this: channel.sendMessage({ contentType: 'image/png', media: 'base64 string image' }); The error message: { commandId: "e289ff36-4d9d-4fdb-8e36-46078c7228ef" response { responseTime: "2017-10-02T00:20:26.675Z" status: 50107 statusText:"User unauthorized for command" } } 回答1: (Twilio Chat dev

Twilio API - Storing Replies from Incoming Text Messages

吃可爱长大的小学妹 提交于 2019-12-11 07:11:16
问题 I am using Twilio API to receive SMS text messages. I want to store the number and the body of the received message. It is being received in an xml php page, I want to use it in a middle of a different php page. How should I go about it? The message is being received via a Post request, twilio updates the xml php file once it is received. This is the xml php file code: <?php header("content-type: text/xml"); echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; ?> <Response> <Sms>Hello again,

Redirect Twilio call to voicemail if all Workers explicitly rejected the reservation

那年仲夏 提交于 2019-12-11 07:07:21
问题 I'm using Twilio Task Routing to route calls to available Workers with a custom app UI built using TaskRouting.js. Let's say I have 2 Idle Workers and a call comes in. UI shows a screen Accept or Reject on both workers' screens Worker 1 hits reject Worker 2 hits reject At this point, the task apparently goes back into the task routing queue and steps 2 and 3 are repeated. After all workers rejected a call, how do I redirect it to voicemail instead? 回答1: Twilio developer evangelist here. I

Twilio: SMS sent using <Sms> limited to 160 characters and without Delivery Steps info

旧城冷巷雨未停 提交于 2019-12-11 07:06:25
问题 I am sending an SMS with Twilio using the following TwiML code (from a bin). It is called at the end of a call, using the action parameter of the <Dial> verb. <?xml version="1.0" encoding="UTF-8"?> <Response> <Sms from="+44XXXXXXXXXX" to="{{From}}">Recording of your call with {{To}}: {{RecordingUrl}}</Sms> </Response> It works, but if the message gets too long I get the error: 21605 Maximum body length is 160 characters And I do not get Delivery Steps information in the SMS logs: Delivery