GRY
GRY

Reputation: 724

Twilio Use Case

I am considering using Twillio as an extension in an existing application.
My use-case is this:

  1. User clicks button in application
  2. Using Twilio API, the application calls the user.
  3. The user answers their phone
  4. Twilio connects user to some phone number. (fetched from db)

It's a bit strange, but it is exactly my customer's request. Before I spend too much time in the rabbit hole, I thought I would ask the community, can I do this with Twilio APIs?

Upvotes: 0

Views: 243

Answers (2)

Andrew Tork Baker
Andrew Tork Baker

Reputation: 216

Twilio developer here!

This is definitely a common use case for Twilio. In fact, it's so common that we wrote up an in-depth tutorial showing you how to build an app like the one you described.

We've got it in PHP, Node, Python, and Ruby - here's the PHP version:

https://www.twilio.com/docs/howto/walkthrough/click-to-call/php/laravel

If you prefer to just reference the code, you can find it on GitHub too: https://github.com/TwilioDevEd/clicktocall-laravel

Upvotes: 4

gdonald
gdonald

Reputation: 1031

Yes. That's actually very simple in Twilio:

https://www.twilio.com/docs/api/rest/making-calls

Upvotes: 1

Related Questions