Saturnin_AKL
12/01/2025, 12:45 PMVapi Support Bot
12/01/2025, 12:46 PMbash
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)Saturnin_AKL
12/01/2025, 12:48 PMSaturnin_AKL
12/01/2025, 12:49 PMVapi Support Bot
12/01/2025, 12:49 PMcurl 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)Chiranjeet Mishra
12/02/2025, 2:22 PM44.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).