jsieber-eip
04/01/2025, 2:03 PMVapi Support Bot
04/01/2025, 2:05 PM{{customer.number}}
variable**:
This variable returns the E.164 formatted number (with the + prefix) and is commonly used to access the caller's phone number. According to [information I found](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344558158349209675), this variable might work for inbound requests as well.
2. **Extracting from request body**:
You can access inbound call parameters directly from the request body using:
javascript
const caller = req.body.Caller;
This method is mentioned in the [documentation for on-hold specialist transfers](https://docs.vapi.ai/phone-calling/on-hold-specialist-transfer).
3. **Accessing call parameters**:
According to [information in Discord](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343574701909344297), you can extract parameters like this:
javascript
Caller = request_body.get("Caller", "")
CallSid = request_body.get("CallSid", "")
To = request_body.get("To", "")
From = request_body.get("From", "")
4. **Using variable values**:
You might be able to access variables using message.variableValues.variable_name
or messages.assistantOverrides.variableValues.variable_name
as mentioned in [this Discord thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329772290497318973).
If you're still having trouble with accessing the inbound number, would you like me to help troubleshoot your specific implementation or provide more details on any of these methods?
Sources:Vapi Support Bot
04/01/2025, 2:05 PMjsieber-eip
04/01/2025, 2:09 PMjsieber-eip
04/01/2025, 3:05 PMKyle Brunker
04/01/2025, 8:31 PMjsieber-eip
04/02/2025, 2:10 PMKyle Brunker
04/07/2025, 12:50 PMKyle Brunker
04/07/2025, 12:50 PMouthire
04/11/2025, 2:34 AMKyle Brunker
04/11/2025, 9:34 PMKyle Brunker
04/11/2025, 9:34 PMKyle Brunker
04/11/2025, 9:34 PMjsieber-eip
04/18/2025, 3:35 PMjsieber-eip
04/18/2025, 3:36 PMShubham Bajaj
04/21/2025, 7:45 PMdefichk
05/05/2025, 11:09 AMKyle Brunker
05/05/2025, 3:29 PMdefichk
05/07/2025, 1:08 PMKyle Brunker
05/08/2025, 2:37 AM{{customer.number}}
jsieber-eip
05/21/2025, 1:56 PMShubham Bajaj
05/22/2025, 4:16 AMgeramalagon
06/25/2025, 3:00 PMgeramalagon
06/25/2025, 3:02 PMShubham Bajaj
06/26/2025, 11:35 PM