AI voice platform
Connect Vapi to the phone network with a SIP.cr trunk
Vapi adds your own SIP trunk through its API: a credential for the trunk, then a phone number on it. SIP.cr gives you the gateway, port, username and password that Vapi asks for, and a Costa Rica number to attach.
- Trunk type
- Username and password
- Numbers
- Costa Rica +506, 800 and 0800
- Calls
- Inbound and outbound
- Minutes
- Billed per second
- Vendor guide
- docs.vapi.ai
Setup
Five steps to the first call with Vapi.
Vapi authenticates to SIP.cr with a username and password that SIP.cr generates for the trunk. Choosing Vapi in the new-trunk form sets this up for you.
-
1
Open a SIP.cr account
Sign up, send the company details and wait for our review. Add a payment method to start service.
-
2
Create a trunk for Vapi
In SIP trunks, choose New trunk and pick Vapi. Set how many simultaneous calls you need.
-
3
Paste the values into Vapi
The trunk page lists each value under the name Vapi uses for it. Copy them across.
API: POST /credential (provider byo-sip-trunk), then POST /phone-number
-
4
Buy a Costa Rica number
In Numbers, pick a +506, 800 or 0800 number and point it at a trunk group that contains this trunk.
-
5
Make a test call
Call the number or place an outbound call from Vapi. The trunk page shows the last call and how it ended.
Field mapping
What goes where in Vapi
The left column uses the names in Vapi's own guide. The values come from your trunk page in SIP.cr.
| Field in Vapi | Value from your SIP.cr trunk |
|---|---|
| gateways[].ip | SIP server address |
| gateways[].port | SIP port |
| outboundAuthenticationPlan.authUsername | Trunk username |
| outboundAuthenticationPlan.authPassword | Trunk password |
Why bring your own trunk
What a SIP.cr trunk adds to Vapi
Vapi runs the assistant; SIP.cr carries the call to and from the Costa Rica phone network and keeps a record of each one.
-
01
A local number
Costa Rica callers see a +506 or toll-free number instead of a foreign one, and can call it back.
-
02
Calls you can inspect
Each call to and from Vapi has a record with its timeline, hangup cause, audio quality and cost.
-
03
One account for every agent
Use several trunks for different agents or platforms, with numbers, channels and billing in one place.
Questions
Vapi and SIP.cr: questions
Does Vapi support an external SIP trunk?
Can Vapi both receive and make calls through SIP.cr?
How many simultaneous calls can I run?
What if a call to Vapi fails?
Field names come from Vapi's published guide and can change when Vapi updates its product. If a label differs, follow their guide and write to [email protected].
Other integrations
Reviewed, then live
Put your AI voice agent on the phone network.
Create the account today. Once our team approves it and you add a payment method, your first trunk and number take a few minutes.