When on a call,How to get the caller's "Caller ID" ?。I have connected to Twilio and can see the forwarded number when transferring calls. I am trying to set up an AI phone front desk for a takeaway store. I need the caller's "Caller ID" to confirm the contact number instead of the phone number the caller tells me.
v
Vapi Ticket Bot
02/17/2025, 10:03 PM
✅ Ticket status updated to solved by Vapi Ticket Bot#0124
c
Chiranjeet Mishra
02/18/2025, 6:21 PM
Hey Benson, do you want to set caller ID during call forwarding? if so you can do it using transfer call function which can be of either of customer number or phone number.
curl -X POST \\
-H "Authorization: Bearer " \\
-H "Content-Type: application/json" \\
-d '{
"type": "transferCall",
"destinations": \[
{
"type": "number",
"number": "insert-phone-number-id-here",
"callerId": "{{customer.number}}",
"numberE164CheckEnabled": false
}
\]
}'
b
benson
02/19/2025, 11:00 AM
Hi Shubham, maybe I expressed it wrongly, I meant how to let the AI assistant get the phone number of the caller when answering the call using Twilio.