Problem with working Telnyx and VAPI connection vi...
# support
d
Hi, I'm having a problem with my Telnyx and VAPI connections. Everything works fine, but it's not receiving one piece of data that's crucial to me: the Customer Phone Number. Even though Telnyx sends F:{{Customer Phone Number}}, VAPI doesn't receive it and doesn't report it as the caller's number. I'm completely unsure how to get this number to appear in the logs and in the VAPI connection.
f
I can help you fix that it usually happens when the SIP headers or caller ID field aren’t mapped correctly between Telnyx and VAPI, so the number isn’t passed through. Are you using a custom SIP trunk or the default VAPI Telnyx integration?
d
I connected to a custom connection using curl post
c
@Duszek please watch out for users that offer help, say they can help you but they then ask for money upfront to do so. I already fell for it. Just wanted to make sure you don't. Cheers!
f
I can definitely help you get the Customer Phone Number showing in VAPI. Since you’re using a custom connection with a curl post, it’s likely a mapping issue in the payload or headers. If you want, we can hop on a quick chat and I can guide you through the fix or I can handle it for you directly.
c
Hi Duszek, If you're looking to integrate your Telnyx SIP trunk with Vapi or troubleshoot any issues regarding the integration, here are some steps that might help: 1. **Setup and Configuration**: Follow the detailed integration process outlined in our [Telnyx SIP integration guide](https://docs.vapi.ai/advanced/sip/telnyx). It covers the necessary configuration for both inbound and outbound calls, including SIP URI specifications and the creation of voice profiles. 2. **Authentication and Routing**: Ensure you have created the required credentials and have configured both inbound and outbound authentication correctly. You can use the provided API examples to create SIP trunk credentials and link your phone numbers. 3. **Debugging Common Issues**: If you're experiencing call drops or connection problems during call forwarding, refer to our troubleshooting guide for [call forwarding drops](https://docs.vapi.ai/phone-calling/transfer-calls/debug-forwarding-drops). It includes steps to verify call initiation, analyze logs, and correct configuration errors. These resources should cover the main aspects of integrating and troubleshooting your Telnyx SIP trunk with Vapi. If there are specific issues you're encountering, such as specific error messages or connection logs, kindly provide more details for further assistance.
d
My connection is working fine, and it's a working connection. However, I'm having trouble transmitting the "Customer" number. VAPI reads the number purchased through Telnyx, but it doesn't receive the aforementioned "customer" number, even though Telnyx sends the number, as I can see in the logs.
c
The default value that is stored for customer phone number on inbound calls is {{customer.number}}. More info about default variables that are captured when the call starts can be found here:
2 Views