usama
04/23/2025, 2:22 PMVapi Support Bot
04/23/2025, 2:24 PMCustomer's number is {{customer.number}}
If that doesn't work, try setting the customer information explicitly when creating a call:
javascript
const call = await vapiClient.calls.create({
phoneNumberId: "your-phone-number-id",
customer: {
number: "+1234567890", // Customer's phone number in E.164 format
name: "John Doe"
},
assistant: {
// Your assistant configuration
}
});
Sources:
- [Troubleshooting customer.number](https://discord.com/channels/1211482211119796234/1336772166330351646)
- [Setting the customer.number](https://discord.com/channels/1211482211119796234/1341835905656291369)usama
04/23/2025, 2:39 PMusama
04/23/2025, 2:40 PMKyle Brunker
04/23/2025, 3:43 PMusama
04/23/2025, 8:12 PMusama
04/23/2025, 8:12 PMKyle Brunker
04/24/2025, 3:03 AM