Caller id issue in vapi
# support
a
When my assistant transfers a call to a department phone number, the department sees the VAPI number instead of the original caller's number. How can I pass through the original caller's number as the caller ID when doing a transfer so the department sees the real customer number? Please give me the exact configuration needed.
v
To pass through the original caller's number as the caller ID during a transfer in Vapi, set the
callerId
field in your transfer destination to the customer's number. Here’s an example configuration:
Copy code
json
"destination": {
  "type": "number",
  "number": "+14155559876",
  "callerId": "{{original_caller_number}}"
}
Replace
{{original_caller_number}}
with the actual customer's number at runtime. This ensures the department sees the real customer number as the caller ID during the transfer. Note: Provider support for caller ID passthrough may vary. For more details, see the [Vapi Phone Numbers Update API documentation](https://docs.vapi.ai/api-reference/phone-numbers/update-phone-number). Source: - [Vapi Phone Numbers Update API documentation](https://docs.vapi.ai/api-reference/phone-numbers/update-phone-number)
a
@Vapi Support Bot You just told me to set callerId to {{original_caller_number}} at runtime. What is the exact runtime variable name I should use in VAPI for the original caller's number? Is it {{call.customer.number}} or {{customer.number}} or something else? Please confirm the exact variable that will be populated at runtime during a live call.
@Vapi Support Bot You just told me to set callerId to {{original_caller_number}} at runtime. What is the exact runtime variable name I should use in VAPI for the original caller's number? Is it {{call.customer.number}} or {{customer.number}} or something else? Please confirm the exact variable that will be populated at runtime during a live call.
c
use {{customer.number}} instead and it will show the original callers name when transferring