twilio-php

Want to use Whisper in Twilio Studio

五迷三道 提交于 2019-12-22 12:58:36
问题 I want to use the Whisper in Twilio Studio, is this possible?? Now I using only Twilio Studio and TwiML Bin my goal is... User calls to my Twilio number Connect call to the support team phone. After starting the calls between the User(client) & the support team, I want to [Say] a message to the support team then start the calls. How can I do this?? 回答1: Twilio developer evangelist here. Currently you cannot do a whisper with Studio. You could achieve this flow with just TwiML Bins though. You

Twilio, How to transfer a in-progress call to another number

久未见 提交于 2019-12-22 12:35:33
问题 How to transfer a in-progress call to another number.The concept that I m using is to use the update method when the call is in in-progress and dial the number that I wanted To connect and It is working but the connection with the first caller is breaking/ Code for the process of transferring call- 1 .process for dialing call- <Response> <Dial callerId="callerid"> <Number statusCallbackEvent="initiated ringing answered completed" statusCallback="urltohadlestatus">user_number</Number> </Dial>

Http 500 Error Sending a Message using PHP54 and Twilio

社会主义新天地 提交于 2019-12-22 09:48:29
问题 <?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 =

How to not offer a task to specific worker on Twilio

橙三吉。 提交于 2019-12-22 06:55:31
问题 I am new in Twilio and i have been facing an issue while designing outbound dialer currently preview dialing. If a worker rejects a task than the same task should not be offered to that worker again. How do i handle this case? 回答1: Typically if a worker rejects the task, the worker should be moved to an unavailable activity. Otherwise, if the worker is the only available and qualified worker, TaskRouter will continue to create new reservations. You can specify a new activitySid upon rejection

Adding multiple people to a conference call from caller Twilio

∥☆過路亽.° 提交于 2019-12-19 07:58:20
问题 I read lots of articles about Twilio conference call. I created a php function which creates a Twilio conference which can add any one who have access to that link to the Conference with this link. so then I read this article about Dialing Multiple Numbers Simultaneously with Twilio. This article shows how to dial multiple clients or numbers in the same time but the first one who accept the call will connect while the others will be hung up on. <?xml version="1.0" encoding="UTF-8"?> <Response

Move Twilio call to a conference room

时光怂恿深爱的人放手 提交于 2019-12-14 03:55:09
问题 How do I move the two parties involved on the call to a conference room at the same time? I started the call through the Web SDK, thus the call started from a <Dial> element. Now I have the ParentCallSid and ChildCallSid to identify each party. But using the Twilio's PHP library, I can't seem to find how I can move both parties to a new URL (which would start the conference) at the same time. And if I try to move only one at a time, the moment I move one party Twilio hangs up the other party,

How can I handle reaching voicemail using Twilio's <dial> verb

試著忘記壹切 提交于 2019-12-13 19:00:55
问题 I know that on making a call Twilio can detect an answering machine, and react differently. However if I use the <dial> verb, there's no obvious place to add this feature, even though it's essentially the same thing. My intended flow is: Customer enters their phone number Twilio calls Customer and plays a voice message Twilio dials an agent number, likely a mobile If the Agent picks up, connect the customer to the agent If the Agent busies the call or does not answer, call will likely go to

Twilio basic and call forwarding

这一生的挚爱 提交于 2019-12-13 05:08:24
问题 I am extremely new to twilio, I created a test account on twilio, they gave me a number. Now I want to forward call coming to that given(given by twilio) to any other number. I am able to do this from twilio's website. But, I want to make this happen through my application, where 1. On one side, there is my number and 2. one other side, there is a textbox, in which I will give the number, on which the calls will be forwarded and 3. a save button, which will save the changes, after pressing

Twilio: programmatically join conference and play <Say> command or <Play> sound file?

大城市里の小女人 提交于 2019-12-12 13:53:17
问题 I have two users and I joined them both into a <Conference> . I would like to have a robot join the <Conference> and then make an announcement. There are two approaches I'm considering: Take everyone in the conference, redirect them to a TwiML that plays a sound, and then move them back into the Conference. Create a bot that somehow joins the Conference and plays TwiML, but it's not clear for me, from the documentation, how to do that. 回答1: Twilio developer evangelist here. Either of those

Twilio - how to open activity when calling web to phone

微笑、不失礼 提交于 2019-12-11 15:18:50
问题 I have implemented the Twilio in my app and have made it so that web to web calls can be made and also web to phone calls. The only thing is that if I call Voice.call() with my user's phone number, it'll call him but the call will not open my activity on his device. The phone call UI will be the default decide's UI for incoming calls. If I, on the other hand, use the user's defined identity on his device, it'll go nicely via my activity. Any ideas on how I can make the web to phone call using