How can I send the phone number of a caller on inb...
# support
e
I'm not sure if I have to set up a call tool to post the data, in general how would I send the phone number of the caller when the call comes in to an external backend?
v
@Ender Peña To send the phone number of the caller when the call comes in to an external backend, you would typically use a webhook that is triggered upon receiving an inbound call. The webhook would be configured to send the relevant data, such as the caller's phone number, to your specified backend endpoint. Here's a general outline of the steps you would take: 1. Set up a webhook endpoint on your server that is capable of handling HTTP POST requests. 2. Configure the webhook URL in your VAPI settings to point to the endpoint you created. 3. When an inbound call is received, VAPI will trigger the webhook and send the call data, including the caller's phone number, to your endpoint. 4. Your server processes the incoming data and can take further actions as needed. If you need assistance with setting up the webhook or have specific requirements for the data you want to send, please provide more details, and I'll be happy to guide you through the process.
You can continue this conversation by mentioning me in the message.
c
You just map in the automation?.......
s
use server event request assistant to get caller number.
e
I was able to receive the caller number using a webhook on Make and creating the call tool. However, @Shubham Bajaj I'm using skype to call the agent ( I change the mode to Twilio or Vonage first, just in case) and I always get "anonymous" on the phone number and of course, I get the same on Make, I use another platform to call using Skype and works fine, I can see the number (sometimes changes), do you have any idea if its something related to Vapi? thanks in advance https://cdn.discordapp.com/attachments/1278382259833016401/1280915918876180530/image.png?ex=66d9d169&is=66d87fe9&hm=13b1b293b63e9144e2ce06a087143621be91ba7f47d2c1ad57f01e0c59a95020&
c
If you are on the web how would a number come in if you are not on a phone?
e
Its a skype plan that gives you dynamic CIDs, I use Ringba for example, and I can see a valid phone number when I call from skype
c
if it does not come in everytime then something is up. But in general most people will not be using/paying for a "web" number. SO even though you have one just keep in mind a majority dont.
e
checking the logs, only once got the number, really weird, but yeah I get your point, I guess I need to try with a "real" phone number, thanks! https://cdn.discordapp.com/attachments/1278382259833016401/1280923755983671329/image.png?ex=66d9d8b5&is=66d88735&hm=4c6cee54b198d4b8c1030bb3a567f2e3096185b20148bc645db028400c5cb1c2&
4 Views