ZADARMA SIP FAILED
# support
r
We’re trying to integrate Zadarma PBX (pbx.zadarma.com) with VAPI for a hotel reception system currently in production. SIP extension and virtual number are fully configured and forwarding to @sip.vapi.ai. IPs are whitelisted on both sides. Backend system is fully functional. What we’ve done: ✅ Followed Zadarma integration docs ✅ SIP forwarding works from Zadarma ✅ API requests sent with proper credentials ✅ Tried both sip.zadarma.com & pbx.zadarma.com ✅ Tested with/without SIP registration ✅ Correct extension format used (153150-108) ✅ All required IPs unblocked Errors: Couldn't validate SIP trunk credential credentialId must be a UUID (on phone number creation) Problem: Zadarma had to temporarily block VAPI IPs due to failed connection attempts. They confirmed config is correct. Still, SIP trunk fails to validate no matter what we try. This is not an isolated case: Multiple devs on forums and Discord report identical Zadarma issues. Seems like a broader compatibility problem. This is urgent. We are blocked from launching for a paying hotel client. Please help us resolve this ASAP. Request: Manual SIP credential setup on your end Review Zadarma compatibility Escalate to engineering if needed https://cdn.discordapp.com/attachments/1403409653198618906/1403409653806665880/Screenshot_2025-08-08_at_17.48.10.png?ex=68977297&is=68962117&hm=cd34e39208835e0c6e3b55aeb6a95c651afb394713534a7e3cb0d311f24e9b69&
v
Actionable Suggestion: Double-check that you are using the exact
id
(UUID) returned from the credential creation step when associating your Zadarma number. Here’s the correct sequence:
Copy code
bash
# Step 1: Create SIP credential (save the returned "id")
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" }],
    "outboundLeadingPlusEnabled": true,
    "outboundAuthenticationPlan": {
      "authUsername": "YOUR_SIP_NUMBER",
      "authPassword": "YOUR_SIP_PASSWORD"
    }
  }'

# Step 2: Use the returned "id" as "credentialId" in the phone number creation
curl -L 'https://api.vapi.ai/phone-number' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_PRIVATE_KEY' \
  -d '{
    "provider": "byo-phone-number",
    "name": "Zadarma Number",
    "number": "YOUR_VIRTUAL_NUMBER",
    "numberE164CheckEnabled": false,
    "credentialId": "YOUR_CREDENTIAL_ID"
  }'
Ensure
YOUR_CREDENTIAL_ID
is the UUID from the first response, not a custom value.
If this still fails, please provide the exact API responses for further review. [Reference: Zadarma SIP Integration Docs](https://docs.vapi.ai/advanced/sip/zadarma) Source: - [Zadarma SIP Integration Docs](https://docs.vapi.ai/advanced/sip/zadarma)
r
Please help me
Doesn’t works
c
Hi, I'll check in with our team and update you soon.
r
okay
c
To address the invalid credentials error while connecting Zadarma's phone number to Vapi, please follow these steps: 1. **Verify Zadarma Credentials**: Ensure that the SIP number, username, and password are correctly entered. Use the server address [sip.zadarma.com](http://sip.zadarma.com) for SIP trunk configuration. 2. **API Request Configuration**: Execute the correct API call for adding your Zadarma SIP credentials:
Copy code
curl -L 'https://api.vapi.ai/credential' \
   -H 'Content-Type: application/json' \
   -H 'Authorization: Bearer YOUR_VAPI_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"
     }
   }'
Replace placeholders with your actual credentials and Vapi private key.
g
i am creating zadarma sip in vapi thrugh the "SIP Trunk Credentials" > configure new sip trunk
can someone help me
2 Views