twilio

Twilio - Connecting an Enqueued call to an Agent

守給你的承諾、 提交于 2019-12-06 03:02:43
问题 I'm trying to create a phone system where a caller gets enqueued, and ideally, the system will then call out to an agent, who would then pickup and then modify the call to bridge the top of the queue. What I've accomplished thus far is the dialing loop, where a user calls in, and it dials agents in sequence, until someone picks up, or gives the user the option to leave a message or stay on the line while hearing it ring. And a simple enqueue with hold music. I just can't seem to figure out

Http 500 Error Sending a Message using PHP54 and Twilio

筅森魡賤 提交于 2019-12-05 22:04:50
<?php // Require the bundled autoload file - the path may need to change // based on where you downloaded and unzipped the SDK require_once __DIR__ . '/twilio-php-master/Twilio/autoload.php'; #require __DIR__ . '/var/sip10/public_html/htdocs/twilio/twilio-php-master/Twilio/autoload.php'; // Use the REST API Client to make requests to the Twilio REST API use Twilio\Rest\Client; // Your Account SID and Auth Token from twilio.com/console $sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXX'; $token = 'XXXXXXXXXXXXXXXXXXXXXXX'; $client = new Client($sid, $token); // Use the client to do fun stuff like send text

Fake caller ID on text messages using Twilio (or any other provider)

允我心安 提交于 2019-12-05 21:48:37
Simple question: How can I send a text message using Twilio, or any other provider, with fake caller ID? I'm using Twilio REST API (C#) . EDIT: I found this company which provides this future, but they are far too pricey: http://www.smsmessagesender.com/SmsApi Does anyone knows a better alternative? For the most part, it's a carrier thing. In the US, generally speaking, any SMS traffic has to be from a number you 'own'. For APIs, that would be one or more virtual numbers you purchase. Outside the US - again, generally speaking - there's more freedom in what you can use. However, different APIs

Twilio REST Client stops working after adding Studio Flow?

半腔热情 提交于 2019-12-05 21:48:19
I am using Twilio REST client in Visual Studio 2017. After adding a Studio Flow for a simple SMS autoresponder , I am no longer able to use the Twilio REST API to send a SMS message from my ASP.net app. The error message is "Upgrade Required" at Twilio.Clients.TwilioRestClient.ProcessReponse(Reponse response) at Twilio.Rest.Api.V2010.Account.MessageResource.Create(CreateMessageOptions options, ITwilioRestClient client) at... I already tried upgrading the Twilio REST API helper library NuGet package to latest, version 5.28.0. The error occurs on this basic SMS sending code that used to work.

How to make sure a SMS went through after sending it with Twilio

邮差的信 提交于 2019-12-05 21:04:47
I am using the Twilio java wrapper provided on the website and started making some tests. I am able to send text messages that are successfully received. However, I would like to make sure that the messages have been sent successfully and that no problem has been encountered by Twilio (bad phone number or whatever reason). I understand that when you make a REST request to Twilio to send a SMS, Twilio responds with the Status. How could I get this response? Here is the explanation page I found: http://www.twilio.com/docs/howto/sms-notifications-and-alerts If you specify a StatusCallback URL

Failed to push call stats, status code: 403 | ERROR TCMetricsPublisher | Twilio

陌路散爱 提交于 2019-12-05 19:58:27
I am integrating the voip , thus integrated twilio . I also setup the server code on heroku successfully. I create the token successfully, and getting the callback on handler as well. When I run the application on device, then callback in delegate comes Device: <TCPresenceEvent 0x17de3840 name=jenny, available=YES> didReceivePresenceUpdate After some time, below error occurred: [ERROR TCMetricsPublisher] Failed to push call stats, status code: 403 Delegates callback: I got the callback in connectionDidConnect After some time, I got the callback in connectionDidDisconnect automatically. My code

RocketChat: How to send SMS Messages to Livechat channel from mobile

旧巷老猫 提交于 2019-12-05 19:45:09
I want to copy the behaviour of the Livechat-Popup - Window to send messages from mobile. How would I do that? Get a Twilio # & Configure First you need a Twilio subscription. Then purchase a phone number from within your Twilio account. This number will be used to receive SMS messages from other phone and send to LiveChat within Rocket.Chat. Within Twilio, go to your new phone number's settings... Under 'A Message Comes In' enter this: https://<your_rocketchat_url>:<your_port_#>/api/v1/livechat/sms-incoming/twilio That will forward SMS incoming messages to LiveChat. Tell Rocket.Chat to Listen

Does Twilio have any plan to implement simultaneous calling with machine filter correctly?

不打扰是莪最后的温柔 提交于 2019-12-05 17:46:12
In Twilio - simultaneous ring is broken with airplane mode. Since first call that connects will cancel all the other attempts, if there is a line that is on airplane mode, it will pick up immediately and take user to voicemail. The fix would be to cancel all other attempts only when the call is successfully CONNECTED instead of PICKED-UP. In this example if 111-111-1111 picks up but doesn't press 1, the call to 222-222-2222 shouldn't be cancelled: <?xml version="1.0" encoding="UTF-8"?> <Response> <Dial> <Number url="/screen"> 111-111-1111 </Number> <Number url="/screen"> 222-222-2222 </Number>

Twilio: Messaging is unavailable for this phone number

做~自己de王妃 提交于 2019-12-05 15:51:21
I have a Twilio test account for now. I got assigned a Belgian phone number and I validated my own mobile number. I'm trying to send simple SMS message from my assigned Twilio number to my mobile number but that doesn't work. The dashboard indicates "Messaging is unavailable for this phone number." But in the messaging FAQ ( https://www.twilio.com/help/faq/phone-numbers/which-countries-does-twilio-have-phone-numbers-in-and-what-are-their-capabilities ), it is mentioned that Domestic and Global SMS is enabled for Belgium. 1) Why can't I send SMS messages if my country is listed as SMS enabled?

Slow down Twilio's TwiML “Say” command for standard text on text-to-speech

ⅰ亾dé卋堺 提交于 2019-12-05 14:27:21
How can I slow down a normal content inside the "Say" verb? The spanish accent is VERY fast and most people have trouble following/understanding what is said. Ideally something like the following would be perfect: <Say voice="woman" language="es" speed="0.5">El siguiente mensaje se repetirá en español</Say> Note I made up the speed="0.5" param. That is not an option for twilio but slowing the reading of the content of that "Say" verb by half is what I am looking for. I don't think this is currently supported in any explicit way so ideas on how to accomplish this more hackish are welcome too.