Semsan
03/17/2025, 7:42 PMNir S (CEO/Founder @Cloudonix)
03/17/2025, 7:55 PMNir S (CEO/Founder @Cloudonix)
03/17/2025, 7:55 PMNir S (CEO/Founder @Cloudonix)
03/17/2025, 7:56 PMNir S (CEO/Founder @Cloudonix)
03/17/2025, 7:56 PMSemsan
03/17/2025, 7:58 PMSemsan
03/17/2025, 7:59 PMNir S (CEO/Founder @Cloudonix)
03/17/2025, 8:02 PMNir S (CEO/Founder @Cloudonix)
03/17/2025, 8:05 PMCarrier_1 ---+ +---> VAPI
Carrier_2 ---+---> Cloudonix ---+---> FreePBX
Carrier_3 ---+
Like this, you can maintain a single unified source of truth for routing and control, while simplifying your entire setupSemsan
03/17/2025, 8:20 PMNir S (CEO/Founder @Cloudonix)
03/18/2025, 5:20 AMAniah
03/18/2025, 1:46 PMSemsan
03/18/2025, 3:22 PMSemsan
03/18/2025, 3:25 PMSemsan
03/19/2025, 2:39 PMNir S (CEO/Founder @Cloudonix)
03/19/2025, 4:23 PMShubham Bajaj
03/20/2025, 2:09 AMShubham Bajaj
03/20/2025, 2:10 AMSemsan
03/20/2025, 8:51 AMSemsan
03/20/2025, 9:31 AMNir S (CEO/Founder @Cloudonix)
03/20/2025, 12:04 PMSemsan
03/20/2025, 3:29 PMsipUri
VAPI Configuration:
json
{
"provider": "vapi",
"assistantId": "275c78a4-f45d-4afb-8e28-935059ab0759",
"name": "microsip_test_1",
"sipUri": "sip:microsip_test_1@sip.vapi.ai"
}
MicroSIP Configuration:
(Shown in the screenshot)
Result:
The connection was successfully established, and the assistant answered the call.
https://cdn.discordapp.com/attachments/1351279624574865448/1352303107975024791/image.png?ex=67dd85e9&is=67dc3469&hm=f5e0303c21127b23f2fa6fb426f6b4cded3001b8c1f58cc2806966dbeb96b8e2&Semsan
03/20/2025, 3:31 PMsipUri
VAPI Configuration:
json
{
"provider": "vapi",
"assistantId": "275c78a4-f45d-4afb-8e28-935059ab0759",
"name": "microsip_test_2",
"sipUri": "sip:microsip_test_2@sip.vapi.ai",
"authentication": {
"username": "MicroSipSecondTestUser",
"password": "G4rT2fM8V9sN7JqK5P1B",
"realm": "sip.vapi.ai"
}
}
MicroSIP Configuration:
(Shown in the screenshot)
Result:
MicroSIP returns an error: "Incorrect Password".
Logs are attached in the file.
https://cdn.discordapp.com/attachments/1351279624574865448/1352303414511669249/image.png?ex=67dd8632&is=67dc34b2&hm=d645eec41d9036be015f11970d07f0f933cd8c5656579bc9fe09c597c2077eaa&
https://cdn.discordapp.com/attachments/1351279624574865448/1352303415124033567/microsip_log.txt?ex=67dd8632&is=67dc34b2&hm=8f2073a719b4c8436fc3b154ff7a4c2ecc1d186aab5548e0ddba740685d74ac3&Semsan
03/20/2025, 3:32 PMsipUri
VAPI Configuration:
json
{
"provider": "vapi",
"assistantId": "275c78a4-f45d-4afb-8e28-935059ab0759",
"name": "microsip_test_3",
"authentication": {
"username": "MicroSipThirdTestUser",
"password": "G4rT2fM8V9sN7JqK5P1B",
"realm": "sip.vapi.ai"
}
}
MicroSIP Configuration:
(Shown in the screenshot)
Result:
MicroSIP returns an error: "Incorrect Password".
The VAPI UI does not support this scenario.
https://cdn.discordapp.com/attachments/1351279624574865448/1352303884630233088/image.png?ex=67dd86a2&is=67dc3522&hm=932b4dae74918b47cd560cc514267aa1cf497b30018c25a376a281b5226c2b2b&
https://cdn.discordapp.com/attachments/1351279624574865448/1352303885032620106/image.png?ex=67dd86a2&is=67dc3522&hm=86b7786da9128ab0daef6d463b27605874f3a20f94b746b8be41f0e0cecd2ba0&Semsan
03/20/2025, 3:36 PMSemsan
03/20/2025, 4:59 PMNir S (CEO/Founder @Cloudonix)
03/20/2025, 5:01 PMSemsan
03/20/2025, 5:03 PMNir S (CEO/Founder @Cloudonix)
03/20/2025, 8:30 PMNir S (CEO/Founder @Cloudonix)
03/20/2025, 8:46 PMNir S (CEO/Founder @Cloudonix)
03/20/2025, 8:46 PMNir S (CEO/Founder @Cloudonix)
03/20/2025, 8:49 PMShubham Bajaj
03/23/2025, 9:49 AMexample
curl -X POST "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"
}],
"outboundLeadingPlusEnabled": true,
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_NUMBER",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
https://docs.vapi.ai/advanced/sip/sip-trunk
This tells VAPI:
- When making outbound calls, connect to the SIP server at "sip.zadarma.com"
- Use the authentication credentials specified in "outboundAuthenticationPlan"
- This is where VAPI will route calls when it needs to reach external numbers through your SIP provider (Zadarma in this case)
> Is it possible to register SIP directly on vapi ai using the authorization credentials provided by Ringostat, or does it mean that SIP needs to be registered somewhere in an application or softphone first and then its details should be added in the service in parallel?
You don't "register" with VAPI as you would with a traditional SIP server.
Instead of SIP registration, you configure the connection through VAPI's API, You create credentials and phone numbers with specific parameters.Shubham Bajaj
03/23/2025, 9:55 AMmicrosip_test_2
and password can be anything.Shubham Bajaj
03/23/2025, 9:56 AM