Using SIP with a custom assistant / serverUrl
# support
w
Hi, I'm trying to get a SIP number working with a custom assistant. I just went through the published docs here: https://docs.vapi.ai/advanced/calls/sip#5-use-a-custom-assistant-for-each-call And I checked the notion docs here: https://vapi.notion.site/SIP-104008c8393f80feaeb7de8ca19565ed The SIP phone number has been successfully created on VAPIs side (I can see it via GET /phone-number) But whenever I try and call the number with Linphone, the call does not seem to connect. I don't see it in the VAPI call logs (https://dashboard.vapi.ai/calls) and I don't see it in my own server logs. Am I missing something? Thanks in advance!
v
message has been deleted
@willie Hello! I'm glad to assist you with setting up your SIP number with a custom assistant. It sounds like you've already done some great groundwork by reviewing the documentation and verifying the SIP phone number creation. Since you're not seeing the call in the VAPI call logs or your own server logs, let's go through a checklist to ensure everything is set up correctly: 1. **SIP Configuration**: Double-check that your SIP client (Linphone) is configured with the correct SIP account details provided by VAPI. This includes the SIP domain, username, and password. 2. **Network Connectivity**: Ensure that your network allows SIP traffic and that any necessary ports are open. Firewalls or NAT (Network Address Translation) can sometimes block SIP messages. 3. **SIP URI**: When setting up call forwarding, make sure you've used the
sipUri
attribute within the
forwardingPhoneNumbers
array to specify the correct destination SIP address. 4. **SIP REFER Handling**: Confirm that your receiving system is configured to handle SIP REFER messages, as VAPI utilizes SIP REFER to transfer SIP calls. 5. **Dialing Format**: Verify that you're dialing the correct format of the SIP number from Linphone. 6. **Registration Status**: Check the registration status of your SIP account on Linphone to ensure it's successfully registered with the VAPI SIP server. If you've gone through these steps and the issue persists, it might be helpful to look at the SIP logs from Linphone to see if there are any error messages or indications of what might be going wrong. If you need further assistance or if there's anything specific you'd like me to check on the VAPI side, please let me know!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
Please send the call_id or anything through which i can debug the issue
w
@Sahil thanks for responding! Posted over in this thread: https://discord.com/channels/1211482211119796234/1292987865801818132 But there were no call ids because the call never connect But the phone number id in VAPI is 8cec5aa7-4bf0-4dd2-8f07-a4c2ee8673b7
We added SIP authentication for inbound call
because of it is causing the issue
please see this report and setup authentication
w
Awesome, thanks @Sahil !
d
@willie did you get this working? We're trying with Auth and it still isn't working
m
Same for me
w
@doonanco @Matt yeh - this isn't working for me either
@Sahil just as a followup - I followed the steps above and still not connecting. Happy to continue iterating on a solution.
s
@doonanco @Matt @willie let's do a quick call with all of you and we can work on integration process on that particular call.
Can you guys let me know which times works best for all of you and send me your email address. Will send a invite.
d
@Sahil I’ll prioritize this, available whenever
Sooner the better
w
💯
s
@doonanco what's the issue that you are facing?
mind sending a dm
w
For completeness - Sahil helped me fix this. I implemented auth (just like above), and then I had to use zoiper instead of linphone to make the call (for some reason, how I'm passing creds in Linphone just wasn't working)
m
I just now saw this. Is it possible to do another call? Some screenshots of where you are setting things up in zoiper would be helpful as well. The documentation in the changelog is not sufficient to understand what you are expecting on the request side
@Sahil I'm available any time today to figure this out
s
Can you DM me, Matt?
m
@Sahil I did yesterday. I didn't get a response
s
I did responded back to you
6 Views