Help pls
# support
m
should I enter real data in this window? if I provide real SIP data, it says enter more than 20 characters, but my data is shorter. OR is it just a pattern and doesn't affect SIP connections? https://cdn.discordapp.com/attachments/1355204504437526611/1355204505263931462/1bb9c5d42aadb1d2.png?ex=67e8140c&is=67e6c28c&hm=49538288c71c2b885a63b5c1d6407c59c80b30361cff2a5d44562678f6ffff49&
v
Based on the information available, I can see you're encountering a message about entering more than 20 characters for your SIP identifier. To better assist you, I'd like to clarify a few things: 1. Are you receiving a specific error message when trying to submit the form with your current identifier "my-example-identifier"? If so, could you share the exact error message? 2. Have you tried using this identifier with an actual SIP connection yet? I'm trying to determine if this is just a form validation warning or if it actually prevents SIP connections from working. The documentation indicates that the SIP URI format should be
sip:[[email protected]](/cdn-cgi/l/email-protection)
and that "you are free to choose any username you like" ([docs.vapi.ai/advanced/sip](https://docs.vapi.ai/advanced/sip)), but doesn't explicitly mention a character limit requirement. Source: - [SIP in Vapi Documentation](https://docs.vapi.ai/advanced/sip)
Hi there! I see you're having an issue with the SIP configuration window. Based on the conflicting information I've found, I'd like to clarify a few things to help you better: 1. What specific error message are you seeing when you try to submit with your real SIP data that's shorter than 20 characters? 2. Are you trying to set up a basic SIP call or are you connecting to a SIP provider that requires authentication? 3. Have you already tried submitting the form with your shorter data despite the warning, and if so, what happened? The reason I ask is because I've found some information suggesting that [dummy credentials can be used](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329143416386355270) in some cases, while other sources indicate [real credentials are needed](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336713212233515089) for proper authentication. The 20-character requirement isn't explicitly documented in our knowledge base. Sources: - [Discord Thread about Dummy Credentials](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329143416386355270) - [Discord Thread about Correct Credentials](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336713212233515089) - [SIP Documentation](https://docs.vapi.ai/advanced/sip)
Based on the information I've found, I have a better understanding of your situation with the SIP configuration window. It seems you're concerned about the 20-character requirement message while trying to enter your SIP data. To help you better, could you please clarify: 1. Are you trying to set up a real SIP connection that will be used in production, or are you just testing/experimenting with the feature? 2. Have you tried submitting the form with your shorter data despite the 20-character message? If so, what happened? 3. Are you receiving any specific error messages when trying to submit with your shorter data? This information will help me determine whether the 20-character requirement is a strict validation or just a recommendation that doesn't affect functionality. Sources: - [SIP Authentication in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334238882660618250) - [SIP URI Format Documentation](https://docs.vapi.ai/advanced/sip) - [Bypassing Authentication Issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329143416386355270)
m
As previously stated, Registration is successful, and the call is correctly routed to extension 101 at 44.238.177.138, but a 404 is received from you, which may indicate that there is no entity capable of accepting the call.
SIP provider that requires authentication
Tell me what to do, please
this window is important. Can't I fill in the real data because it's shorter than 20 characters, or does it not affect the connection? https://cdn.discordapp.com/attachments/1355204504437526611/1355207311345451151/image.png?ex=67e816a9&is=67e6c529&hm=8782799cca4b9694fcb5f4ccf28286949e715559461f387e538bf91235e86c32&
The connection (registration) is completed correctly. Calls are also correctly transmitted from our side. At the moment, the situation has changed: your equipment is requesting authorization from our server (401 Unauthorized). We note that your equipment should handle calls from all IP addresses of our server: 213.170.84.105, 46.229.221.93, 79.175.9.162.
k
Hey Matrix. VAPI requires you to pass username and password for authentication for inbound calls. Here password can be anything except whitespace or empty. And username has to be your SIP username registered with VAPI.
m
good afternoon, can you describe it in more detail, we have been suffering for so long
Can you tell me where I need to specify this? Free Vapi SIP
Or is this setting for BYO SIP? what do you mean?
I need to understand which way is suitable for my clients from Russia.Which should I choose BYO or FREE?
Can you help me and I'll pay you?
Did I get it right? Here we create any connection. but on the provider's or (operator's) side, we connect using this data, right? https://cdn.discordapp.com/attachments/1355204504437526611/1356013071663104035/image.png?ex=67eb0515&is=67e9b395&hm=fcd7259a1a7d2c3d3d670e888a13c6c090c415fc3e1a1e6f6164609d74e72b0d&
and then use this data on the provider's or operator's side, right?
"I am trying to set up incoming calls from a Russian number (+79219772937) via BYE SIP Trunk, but I am encountering problems. Is it related to sanctions? Can you help?"
I am trying to set up incoming calls from a Russian number (+79219772937) to a Free Voip SIP URI (sip:12002*101@sip.vapi.ai ), but I encounter the error '401 Unauthorized'. My provider (Telphin) refuses to send authorization data, referring to the fact that they are not authorized on third-party resources. I also know that the United States has imposed sanctions on working with Russian numbers. Can you confirm whether the Api supports working with Russian phone numbers in the current conditions? If not, what are the alternatives for setting up incoming calls?
k
Hey, Matrix authorization header is required; we cannot bypass that. Ask your provider to send it, or else change your provider.
my operator refuses to log in to your server
do we need to connect Twilio?
&
I used my provider's data, why did it show up here Twilio?
s
You have associated your SIP URL with the Twilio type number or number purchased on Twilio.
@matrix has you Again, you're sending invalid credentials. When you make an inbound call to VAPI using SIP, you need to send the username and password inside the Authorization header. The username has to be your SIP username registered with VAPI, and the password can be anything except empty whitespace.
m
We don't use Twilo numbers.
pls read
Please show us where we went wrong.
full information about what we did, so please tell me
my operator's settings
s
[1] Documentation link to the SIP Trunking Guide and correct authentication process for Vapi SIP URIs https://docs.vapi.ai/advanced/sip/sip-trunk [2] configure their SIP trunk to skip REGISTER and use INVITE directly, ensure to properly implement the digest authentication mechanism for the following request after INVITE.| [3] The exact credentials (username, password, realm: sip.vapi.ai) should be used for this authentication. [4] For twilio's confusion share the phone number ID I will take a look.
m
[4] For twilio's confusion share the phone number ID I will take a look. We don't have twilio, we're from Russia
With this connection method, the phone is not needed for registration. As far as we understand
We can work with any operator right? It's kind of weird. Please tell us, we have been looking for solutions for a long time and we like your service. can we connect this way?
k
Hi, checking if this is resolved/solved for you?
m
need help
k
hey matrix check your DM, I have shared my calendly link with you.
m
ok thx