Vapi
From VoIP.ms Wiki
Vapi is a platform for building, testing, and deploying voice AI agents. It provides the infrastructure necessary for businesses to create custom voice assistants that can handle call operations for existing customer support, appointment booking, and sales calls, or for building new products using voice AI like prior authorization and product onboarding assistants.
For more details or to sign up in Vapi, visit: Vapi.api
Contents |
VoIP.ms Sub Account configuration
- To register a SIP trunk in Vapi you will need a sub account with the parameters mentioned below. To create a Sub Account, in your VoIP.ms Customer Portal go to Sub Accounts >> Create Sub Account.
- 1.1 Protocol: SIP
- 1.2 Authentication type: User/Password Authentication
- 1.3 Username: Any name of your choice (E.g. 100000_Vapi)
- 1.4 Password: Any password that meets the security requirements (Minimum 15 characters. Upper case, lower case, numbers and special characters are required)
- 1.5 Device type: Asterisk, IP PBX, Gateway or VoIP Switch
- 1.6 CallerID Number: I use a system capable of passing its own CallerID.
Click on Create Account when done.
All other setting can be left with the default or adjust according to your use-case needs.
Vapi configuration
Adding the SIP trunk
- To use Vapi with VoIP.ms you will need to add a Custom SIP Trunk. For this, you will need your Sub Account username, password, and the IP address of your preferred VoIP.ms Point of Presence.
- To add a new SIP trunk in Vapi, follow these steps:
- 1. Log into your Vapi's dashboard: Vapi - Dashboard
- 2. Open the sidebar, and click on your username at the bottom.
- 3. Click on Settings.
- 4. Click on Integrations.
- 5. On the list of integrations search for SIP Trunk Credentials.
- 6. Click on + Configure New SIP Trunk.
- Fill the SIP configuration with these values:
- 1. Name: Any name of your choice (E.g. VoIPms trunk)
- 2. IP address/domain: Your Preferred VoIP.ms POP Server IP address (E.g. For example, for losangeles.voip.ms use 208.100.60.38).
🚨 POP Server
- Make sure to use the IP address of the server and not Domain name. Using the name may cause inbound get rejected by Vapi.
- You can check the full list of POP servers and their IP addresses here: Choosing Server
- 3. Port: 5060.
- 4. Netmask: 24.
- 5. Outbound Protocol: UDP.
- 6. Allow inbound calls: Checked.
- 7. Allow outbound calls: Checked.
