How to get the caller's "Caller ID"
# support
b
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.
k
Hey Benson, you can assign the caller ID to your destination when you define your transfer call function. 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
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.
Solved、
k
Benson you can use dynamic variable {{customer.number}} inside your prompt to get the caller number.