Error SIP zadarma
# support
s
v
To resolve the "Failed to create SIP trunk credential" error, try creating your Zadarma SIP trunk using the Vapi API with the following curl command (replace the placeholders with your actual details):
Copy code
bash
curl -L 'https://api.vapi.ai/credential' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_PRIVATE_KEY' \
  -d '{
    "provider": "byo-sip-trunk",
    "name": "Zadarma Trunk",
    "gateways": [{ "ip": "sip.zadarma.com", "inboundEnabled": false }],
    "outboundLeadingPlusEnabled": true,
    "outboundAuthenticationPlan": {
      "authUsername": "YOUR_SIP_NUMBER",
      "authPassword": "YOUR_SIP_PASSWORD"
    }
  }'
This method is recommended in the official documentation and should help you create the credential successfully. Source: - [Zadarma SIP Integration Documentation](https://docs.vapi.ai/advanced/sip/zadarma)
s
Où est ce que je dois effectuez cette requet ?
@Vapi Support Bot
v
You should execute the
curl
command in your computer's terminal (Command Prompt on Windows, Terminal on macOS/Linux) or any server with internet access and curl installed. Just open your terminal, paste the command (after replacing the placeholders with your actual details), and press Enter. This does not need to be done inside the Vapi dashboard—it's a standard API request from your local environment. For reference: [Zadarma SIP Integration Documentation](https://docs.vapi.ai/advanced/sip/zadarma) Source: - [Zadarma SIP Integration Documentation](https://docs.vapi.ai/advanced/sip/zadarma)
c
Hi Saturnin_AKL, If you're facing SIP-related issues with Zadarma, please ensure the following configurations: 1. **SIP Server Address and Authentication**: Verify that your SIP server address and the authentication credentials (username/password) are correct. 2. **IP Allowlisting**: Ensure that the required Vapi IP addresses (
44.229.228.186/32
and
44.238.177.138/32
) are allowlisted for SIP signaling and media communication. 3. **Phone Number Resource**: Check that you have correctly linked your phone number (DID) to the SIP trunk credential in Vapi. 4. **Call Routing**: For call transfers or connecting calls, ensure your SIP provider forwards calls to the correct SIP URI, for example
{phoneNumber}@sip.vapi.ai
. 5. **E.164 Standard**: Ensure phone numbers are formatted using E.164 standard if required by your provider. For further guidance on integrating and handling calls using Zadarma with Vapi, consider reviewing the [SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk).