Having trouble in creating conference. i need to achieve where when the agent is having conversation with a client the agent can add another person in the room. I research some documentation but it's just transferring the caller to the conference and the conference creator is not in the conference.
Twilio developer evangelist here.
The best thing to look at will be this blog post on warm transfers using Twilio. It is in Python, but the theory is the same.
The basic idea is that you get the first two people into a <Conference> first. Then you can make a new call to the third person you want to bring in and drop them into the same conference which adds them to the call.
Let me know if that helps at all.
Related
I use Twilio and want to make call center. I use the TaskRouter and VoiceAPI but I didn't find the way to redirect accepted call to an another specialist. For example, if a manager after a couple of minutes of a conversation wants to connect a client to specialist from the support service. Can I do this in using Twilio?
#Andrew here is a perfect example for your use case. It worked for me. Do try it and if there is any question let me know in the comments. I will update the answer accordingly.
There are some sequence diagrams below that should help.
Call Control Concepts
Call Control Concepts | Appendix | Web Sequence Diagrams
I'm trying to gather data from the caller like their email address.
In twilio autopilot \collect\ there is a fieldtype TWILIO.EMAIL where it will automatically detect email address in the speech and it really do well (also the other fieldtypes)
But in twilio voice \gather\ there's no fieldtype to do that job and it returns
johncarlo#gmail.com to john carlo at gmail com
Is there any way in the docs to apply fieldtype in \gather\?
btw, I'm using \gather\ because some questions are dynamic (depends on the answer on the previous question)
Thanks
Twilio Developer Evangelist here. 👋
I don't think that's possible with gather (will double-check though).
Is there any way in the docs to apply fieldtype in \gather\? btw, I'm using \gather\ because some questions are dynamic (depends on the answer on the previous question)
Autopilot may do the job just fine though. Did you discover the redirect property? Using redirect you can dynamically route to different tasks depending on an answer. :)
Hope that helps. Let me know how it goes. 😊
I am trying to build an API which can Onhold both inbound and outbound calls, what I basically do is, update the CallResource and forward it to a Play command when I want to hold on and connect to the agent if I want to resume the call.
This works good, I am able to hold on/ resume call successfully.
I have seen some questions and answers regarding this, Twilio support suggests to use Conference option for that, isn't there may be a new solution (or other solution) for this.
What I want is actually merge child call recordings, isn't there an option for this?
Thanks.
Twilio developer evangelist here.
There is no way to concatenate call recordings within Twilio, what I would recommend is to download the files and concatenate them with something like ffmpeg. You should be able to script this too.
I made a simple chatbot using the studio template and it works fine. However, it then loops after the last response. So let's say I give the user 2 choices, Y and N. After they say Y they get a response but if they message the bot again they get the initial message once again to loop the process. How do I stop this? In the docs I only found info on how to stop all incoming messages but this isn't what I want. I just want to end the convo for good as in my application it has a one time use intention. Thanks.
Twilio developer evangelist here.
There's not really a way to stop incoming texts. What you want to do in this case is stop responding to an incoming text after the initial flow through.
The way to do this would be to use Twilio Functions and function widgets to store the numbers that have successfully completed the questions (you could use any database for this, if you want to keep it within Twilio then Twilio Sync can help here). Then you can insert a function widget at the start of the flow that retrieves whether the number messaging has completed the questions and combine with a split widget to decide whether to send the first message or just complete the flow.
Let me know if that helps at all.
I have a Rails app successfully creating conferences using Twilio's API at https://www.twilio.com/docs/api/twiml/conference I highly recommend Twilio.
I am looking at the page for Twilio Global Conferencing at https://www.twilio.com/user/account/voice-sms-mms/conferences (this page requires login).
I understand the difference between Basic vs. Global conferences described at that link, but it's not clear to me what happens when I select one. Three questions:
If I select Global Pricing, does that affect pricing for all phone calls happening on all my phone numbers listed at https://www.twilio.com/user/account/phone-numbers/incoming or just when I'm using the TwilML verb?
I will have some conference calls that will have more than 40 participants. In one Rails app, is there a way to use Global Conferencing for only those large phone calls so that I can use Basic Conferencing for the 90% of calls that have less than 40 participants?
Thank you!
application.rb:
config.twilio_auth_token = ENV['TWILIO_AUTH_TOKEN']
config.twilio_app_sid = ENV['TWILIO_APP_SID']
twilio.rb:
if Rails.configuration.twilio_account_sid.present? && Rails.configuration.twilio_auth_token.present?
TWILIO = Twilio::REST::Client.new(
Rails.configuration.twilio_account_sid,
Rails.configuration.twilio_auth_token
).account
end
Twilio evangelist here.
The Basic vs Global conference setting is scoped to an account or subaccounts, so what you can do is create subaccounts and configure conference the setting on each independently.
Hope that helps.