manipulate caller id for verified or twilio numbers - twilio

We need to pass along some information and caller id is the only field our call center can receive. Is it possible to manipulate caller id for calls going to verified or twilio phone numbers?

Twilio evangelist here.
Are you connecting to your call center via a normal PSTN dial? If yes, then there are pretty strict rules around what you can set in the CallerId attribute.
If you are dialing your call center using the <Sip> noun then you have some more flexibility to include extra metadata that Twilio will convert into custom SIP headers.
Hope that helps.

Related

set custom caller Id to twilio number while making outbound calls

can i set a custom caller Id to my twilio number using client.calls.create function while making an outbound call. for example:
if i use from: {twilio number} it displays the same number as caller id to the recipients what i want is to have caller id with some names as 'demo'.
if yes then what parameter and conditions required and if there is another way(s) to do so please advice me the process. Technology used is nodejs and language is javascript.
Caller Name (CNAM) is an out of band data dip handled by the far-end (terminating telephone service provider). It is not set as part of a call (so not set as an attribute of an API call or TwiML Dial verb).
You can open a ticket with Twilio Support (under the ? icon in the Twilio Console, Submit a Ticket), to look at changing the CNAM for your Twilio number and CNAM changes are being added in the future to the Twilio Trust Hub.
How do I edit or remove a CNAM entry?
https://support.twilio.com/hc/en-us/articles/360051670533-Getting-Started-with-CNAM-Caller-ID

Twilio conference call participants can able to see other participants numbers or not?

I am trying to integrate Twilio call and conference call, before that I have few doubts on it.
While conference call time one participants can able to see other participants real numbers or not? If possible, how to restrict that?
Twilio developer evangelist here.
With a conference call, your participants will only see one number, the Twilio number that they called or that you make calls from.
With regular calls, you have the option to set a callerId when you forward a call. If you don't set this, then the incoming caller ID is used and the number will be shared with the person being called. If you set the callerId to a Twilio number, then the person being called will only see the Twilio number.
If you are looking to build masked number/anonymous communications, then I recommend you take a look at Twilio Proxy which can handle all of this for you too.

Add forwarding number to the Twilio number programmatically

How to forward the call to an US local Twilio number from any mobile to any US number?
Its seems to me that I will have to use TwiML to achieve that. Moreover, the supporting doc in https://support.twilio.com/hc/en-us/articles/223179908-Setting-up-call-forwarding#devs is not seeming to show the TwiML correctly. And also with that way I will have to use verb.
Can I not directly call from the number pad of my mobile to the Twilio number so that the call can be received from the forwarding number?
Can I not set a forwarding number to the purchased number programmatically?
Twilio evangelist here.
To forward a call made from your mobile device to a Twilio number to another US phone number you can use the <Dial> verb:
<Response>
<Dial callerId="[your_twilio_phone_number]">[target_phone_number]</Dial>
</Response>
This part of the Voice Quickstart for PHP shows this and might be useful for you:
https://www.twilio.com/docs/quickstart/php/twiml/connect-call-to-second-person
Hope that helps.
This was what I went with before getting the answer from Twilio support but after the answer from #Devin Rader and from my client.
here is a great tutorial doing call forwarding programmatically,
https://www.twilio.com/docs/tutorials/walkthrough/call-tracking/php/laravel.
Yes, you can definitely set the TwiML programmatically on the numbers,
take a look at the documentation on provisioning phone numbers,
https://www.twilio.com/docs/api/rest/incoming-phone-numbers. You can
also set the number so that Twilio makes a call to your application
and your application delivers TwiML dynamically.

How to change caller id during call in twilio

I have 2 phone numbers registered as caller ids in my twilio account.
Is is possible to change the caller id during call. Lets say i am using Phone 1 as a caller id but during call if user presses 1 he will be connected to other user. But Before connecting to other user i want that Phone 2 works as caller id.
Is it possible? Please help
Twilio evangelist here.
Based on your description of the workflow, I believe this is possible.
I assume you are using <Gather> to listen for Caller1 to indicate he wants to be connected to another call. If thats the case, in the URL thats requested once Caller1 had pressed one, you're going to return some TwiML that includes the <Dial> verb to tell Twilio to dial Caller2 and bridge them with Caller1. The <Dial> verb has a callerID attribute that you can set to one of your verified caller ID's, and that is what will be shown to Caller2 when Twilio rings them.
https://www.twilio.com/docs/voice/twiml/dial#dial-attributes
Hope that helps.

Use incoming caller ID on Twilio to make outgoing call

I'm wondering if the following is possible:
Caller rings Twilio number which gets answered and then automated message is played.
Caller is placed in a queue
In parallel to this, our system dials a number (using the rest API) showing the caller id of the incoming call, plays a gather to verify the user wants to pick up, and then connects the call.
I know that the easiest way to achieve something similar to this is to redirect the incoming call with a Dial verb, but for reasons that aren't really relevant to the question that isn't possible.
Twilio evangelist here.
Yes, this is possible, with the caveat that the initial callers phone number must be previously verified with Twilio. See this topic in the help center:
http://www.twilio.com/help/faq/voice/can-i-use-a-non-twilio-number-as-the-caller-id-for-outgoing-calls
Hope that helps.
Devin

Resources