fair-rose
fair-rose4w ago

Telnyx SIP Inbound Settings: Translate Number

I've been followingL https://docs.vapi.ai/advanced/sip/telnyx. I've set up Outbound calling with Telnyx however I cannot finish setting up Inbound calling for my Telnyx number. Happy to jump on a call to resolve this one. When trying to follow these instructions:
Configure SIP invite
Go to Numbers, edit the number you’ll be using
Navigate to Voice settings
Scroll down to find “Translated Number”
Set this value to match your Vapi SIP URI
You can get your Vapi SIP URI when you create a new SIP number through the Phone Numbers tab in the Vapi dashboard. The URI will look like:

sip:<your-unique-id>@sip.vapi.ai
This setting modifies the SIP Invite so invites are correctly routed to your Vapi SIP URI.
Configure SIP invite
Go to Numbers, edit the number you’ll be using
Navigate to Voice settings
Scroll down to find “Translated Number”
Set this value to match your Vapi SIP URI
You can get your Vapi SIP URI when you create a new SIP number through the Phone Numbers tab in the Vapi dashboard. The URI will look like:

sip:<your-unique-id>@sip.vapi.ai
This setting modifies the SIP Invite so invites are correctly routed to your Vapi SIP URI.
I have attached a screenshot of the Telnyx UI, showing that a number is required. I cannot put any characters or symbols in there because of the form validation preventing me. I have also tried via API with the same issue:
Response: {"errors":[{"code":"10015","title":"Bad Request","detail":"Must contain only letters and numbers; no spacing allowed","source":{"pointer":"/translated_number"},"meta":{"url":"https://developers.telnyx.com/docs/overview/errors/10015"}}]}
Response: {"errors":[{"code":"10015","title":"Bad Request","detail":"Must contain only letters and numbers; no spacing allowed","source":{"pointer":"/translated_number"},"meta":{"url":"https://developers.telnyx.com/docs/overview/errors/10015"}}]}
No description
15 Replies
Vapi Support Bot
It appears that Telnyx's "Translated Number" field currently only accepts alphanumeric input, which prevents entering the required SIP URI (sip:<your-unique-id>@sip.vapi.ai) as described in the Vapi documentation.
The best next step is to contact Telnyx support and reference error code 10015, asking if there is an alternative way to route SIP invites to your Vapi SIP URI or if a different field should be used for SIP trunking with Vapi.
In the meantime, double-check if there is a "SIP URI" or "Forwarding" field elsewhere in the Telnyx portal that allows full SIP addresses, as some platforms separate these from the "Translated Number" field.
If you receive updated guidance from Telnyx, please share it here for others facing the same issue. Source: - Telnyx SIP Integration Guide – Vapi Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
fair-rose
fair-roseOP4w ago
i've found a few threads with the same issue that have been resolved on a call. Unofrtunately, no solution on the threads itself though
Sahil
Sahil4w ago
Hey! To help track down this issue, could you share: - The call ID -
This would really help us figure out what went wrong!
fair-rose
fair-roseOP4w ago
Sorry, there is no callId that is relevant because it doesn't reach vapi, this is a setup issue
flat-fuchsia
flat-fuchsia4w ago
Hi. I'm having the same issue. When you know the solution or me post here pls
Sahil
Sahil3w ago
Please can you share a loom video, so to assist you easily ..
flat-fuchsia
flat-fuchsia3w ago
When is possible to do a call to solve this?
Sahil
Sahil3w ago
Checking if this is resolved/solved for you?
flat-fuchsia
flat-fuchsia2w ago
not yet
Sahil
Sahil2w ago
When configuring the SIP trunk in Vapi, please try and enable SIP register box, which will have the username that will be used for the URI in alphanumeric characters. Let us know if you need help configuring this
flat-fuchsia
flat-fuchsia2w ago
You are saying to do this when creating firstly the SIP Trunk in Vapi right? It doesn't let me create..
No description
No description
flat-fuchsia
flat-fuchsia2w ago
https://vapi.ai/community/m/1375113468457386114 Maybe the problem is connected with this?
BYO SIP Trunk - VAPI
We want to use own SIP trunk.
We have domain and credentials for authentication from our provider, but we have problem with settings. Our provider says, vapi does not send registration packet. WE have 3hours meeting with the provider where we tried every possible setting on vapi side or provider side
Sahil
Sahil6d ago
In the domain, make sure you follow this guide if you are creating a SIP trunk for Telnyx: Use this template as a guide to configuring both inbound and outbound gateways. The inbound gateway will need a static IP address and the outbound gateway will use the resolved domain name using UDP protocol:
{
"provider": "byo-sip-trunk",
"name": "My SIP Trunk",
"gateways": [
{
"ip": "sip.provider.com",
"port": 5060,
"outboundEnabled": true,
"inboundEnabled": false,
"outboundProtocol": "udp"
},
{
"ip": "203.0.113.10",
"port": 5060,
"outboundEnabled": false,
"inboundEnabled": true
}
]
}
{
"provider": "byo-sip-trunk",
"name": "My SIP Trunk",
"gateways": [
{
"ip": "sip.provider.com",
"port": 5060,
"outboundEnabled": true,
"inboundEnabled": false,
"outboundProtocol": "udp"
},
{
"ip": "203.0.113.10",
"port": 5060,
"outboundEnabled": false,
"inboundEnabled": true
}
]
}
Once you have configured the SIP trunk, you will receive a value for credentialId. Save that and use it for the next step of assigning the SIP trunk to a phone number, as that is a required value for setting up the phone number. If you encounter any issues with the setup, please feel free to reach out.
flat-fuchsia
flat-fuchsia3d ago
I have tried didn't worked... :/ It is to follow the same steps until step 4 (https://docs.vapi.ai/advanced/sip/telnyx#add-your-telnyx-sip-credentials-to-vapi) where I've put the text code above?
Telnyx SIP integration | Vapi
How to integrate SIP Telnyx to Vapi
Sahil
Sahil22h ago
We are currently testing the telnyx phone import with our own account. Once we resolve it, we will provide an update to you on how to connect it

Did you find this page helpful?