Plivo SIP india
# support
t
I am using Plivo for Indian number and have to use the SIP endpoint API method since SIP Trunking for domestic calls within India is not permitted. I am using addDial and addUser for this purpose. However, I am getting this error: Message : Dial XML: No valid destination to call. Invalid Destinations: sip:subverse@sip.vapi.ai. Aborting Dial execution. Message : Dial aborted, no valid User or Number to call Is there anything special that needs to be done to integrate with Plivo?
v
@tanmay_lad It sounds like you're encountering an issue with the Dial XML when trying to initiate a call using Plivo's API with a SIP endpoint. The error message indicates that the destination you're trying to call is not recognized as valid. Here are a few steps you can take to troubleshoot this issue: 1. **Check SIP Endpoint Configuration**: Ensure that the SIP endpoint
sip:subverse@sip.vapi.ai
is correctly configured on your VAPI account and is active. Verify that the SIP URI is correctly formatted and registered. 2. **Verify Permissions**: Make sure that your account has the necessary permissions to make calls to SIP endpoints and that there are no restrictions on calling Indian numbers via SIP. 3. **Check Dial XML**: Review the Dial XML you are using to ensure that it is correctly formatted. The
<Dial>
element should contain a valid
<User>
element with the SIP URI. 4. **Network and Firewall Settings**: Ensure that any network or firewall settings are not blocking SIP traffic to and from your server. 5. **Plivo Support**: Since you are using Plivo, it might be helpful to reach out to Plivo's support team for assistance. They can provide more specific guidance based on their platform. 6. **VAPI Integration**: If you are trying to integrate Plivo with VAPI, make sure that you are following the correct procedures for integration as per VAPI's documentation. If VAPI has specific requirements or settings for SIP endpoints, those need to be adhered to. If you've checked all of the above and are still facing issues, it might be necessary to get in touch with VAPI support for more detailed assistance. They can provide insights into whether there are any additional steps or configurations required for integrating with Plivo, especially considering the regulatory environment for SIP trunking in India. Remember to provide them with as much detail as possible about your current setup and the steps you've already taken to try and resolve the issue.
You can continue this conversation by mentioning me in the message.
t
@Vapi I tried everything mentioned above - is there anything special that needs to be done from Vapi side e.g. getting Plivo IPs whitelisted or something?
v
@tanmay_lad If you have already tried the basic troubleshooting steps and are still experiencing issues, it is possible that you may need to whitelist Plivo's IP addresses on the VAPI side to allow communication between the two services. Whitelisting IP addresses is a common requirement for SIP integrations to ensure that traffic from the external service (in this case, Plivo) is not blocked by firewalls or other security measures. Here's what you can do: 1. **Obtain Plivo's IP Addresses**: Contact Plivo support to obtain a list of their IP addresses that will be interacting with your VAPI service. 2. **Request Whitelisting**: Reach out to VAPI support with the list of Plivo's IP addresses and request that they whitelist these IPs. You can do this by sending an email to VAPI support. 3. **Check Documentation**: Review VAPI's documentation to see if there are any specific instructions for IP whitelisting or if there are any additional settings that need to be configured for third-party SIP integrations. 4. **Test Connectivity**: After the IPs have been whitelisted, test the connectivity between Plivo and VAPI to ensure that the SIP calls are going through without any errors. If you need to contact VAPI support to request IP whitelisting or for further assistance, you can use the following link to send them an email: [Email Support](support@vapi.ai). Please provide them with detailed information about the issue, including any error messages you are receiving and the steps you have taken so far. This will help them assist you more effectively.
s
hey @tanmay_lad as of now sip is for enteprise users. To use sip you have to join as enterprise.
t
Got it, Shubham, let me contact sales for the Enterprise plan discussions. Thanks
7 Views