Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Proxying a Call via Twilio

Tags:

proxy

api

twilio

How can I use Twilio as a proxy between a caller and a callee to keep the phone number of the callee private from the caller?

A bonus feature would be to transcribe the call automatically, but I am still new to the Twilio API.

like image 514
Petrus Theron Avatar asked Sep 01 '11 16:09

Petrus Theron


1 Answers

You may also use the TwiML <Dial> tag to connect a call in progress with another phone number. You can specify a callerId attribute to set the outgoing callerId to any incoming phone number you have purchased from Twilio or any phone number you have verified with Twilio. Here's an example:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Dial callerId="123-456-7890">415-123-4567</Dial>
</Response>
like image 80
beanserver Avatar answered Oct 26 '22 05:10

beanserver