Vapi - VoIP.ms Wiki

Check out our YouTube channel to watch our simple tutorials that will help you set up most of our features.

Vapi

From VoIP.ms Wiki

(Difference between revisions)
Jump to: navigation, search
[quality revision][checked revision]
(Outbound calls)
(One intermediate revision not shown)
Line 2: Line 2:
-
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.
+
Fonoster is an innovative Programmable Telecommunications Stack that allows businesses to connect telephony services with the Internet entirely through a cloud-based utility.
-
For more details or to sign up to Vapi, visit: [https://vapi.ai/ Vapi.api]
+
For more details or to sign up to Fonoster, visit: [https://fonoster.com/ Fonoster]
__TOC__
__TOC__
 +
 +
== Getting Started with Fonoster ==
 +
 +
Fonoster provides excellent documentation to help you set up your environment.
 +
 +
To get started, please follow their [https://docs.fonoster.com/quickstart Quickstart Guide]
== VoIP.ms Sub Account configuration ==
== VoIP.ms Sub Account configuration ==
Line 63: Line 69:
</div>
</div>
-
<br>
 
-
:: 3. '''Port''': 5060.
 
-
:: 4. '''Netmask''': 24.
 
-
:: 5. '''Outbound Protocol''': UDP.
 
-
:: 6. '''Allow inbound calls''': Checked.
 
-
:: 7. '''Allow outbound calls''': Checked (if needed).
 
-
:: 8. '''Username''': Your VoIP.ms Sub Account username (E.g. 100000_Vapi).
 
-
:: 9. '''Password''': Your VoIP.ms Sub Account password.
 
-
:: 10.'''Use SIP Registration''': Checked.
 
-
:: 11.'''Domain''': Same as '''2. IP address/domain'''.
 
-
:: 12.'''Username''': Same as '''8. Username'''.
 
-
:: 13.'''Realm''': Same as '''2. IP address/domain'''.
 
-
:: 14.'''Use Public IP in Contact Header''': Checked.
 
-
:: 15. Click on '''+ Save SIP Trunk'''.
 
-
 
-
: [[File:vapi-sip-trunk-configuration-1.png|border|400px]]  [[File:vapi-sip-trunk-configuration-2.png|border|400px]]
 
-
 
-
=== Adding a Phone Number ===
 
-
 
-
: Once you have configured the SIP Trunk, you can start adding your VoIP.ms DID numbers to Vapi.
 
-
: Follow these steps to add a DID number:
 
-
 
-
:: 1. On the sidebar click on '''Phone Numbers'''.
 
-
:: 2. Click on '''Create Phone Number'''.
 
-
 
-
: [[File:vapi-phone-number-1-1.png|border|800px]]
 
-
 
-
:: Add the number using this information:
 
-
 
-
:: 1. From the options of the top, select '''BYO SIP Trunk Number''''.
 
-
:: 2. '''Phone Number''': Your DID number in E.164 format (E.g. +1205XXXXXX).
 
-
:: 3. '''SIP Trunk Credential''': The trunk you configured for VoIP.ms.
 
-
:: 4. '''Label''': Any name of your choice.
 
-
:: 5. Click on '''Import SIP Phone Number'''.
 
-
 
-
: [[File:vapi-phone-number-1-2.png|border|800px]]
 
-
 
-
=== Gathering the info to configure the DID on VoIP.ms ===
 
-
 
-
: Once the number is added to Vapi you will need to get an '''Universally Unique Identifier (UUID)''' that Vapi generated for your phone number.
 
-
: Follow these steps to get the UUID.
 
-
 
-
:: 1. On the sidebar click on '''Phone Numbers'''
 
-
:: 2. Click on the Phone Number that was added to open its configuration.
 
-
:: 3. Locate the UUID on the top right corner and click on the '''Copy icon'''.
 
-
  Paste this somewhere because you'll need it.
 
-
:: 4. '''Assistant''': Make sure to assign an AI assistant to your DID.
 
-
 
-
: [[File:vapi-phone-number-3.png|border|600px]]
 
-
 
-
== VoIP.ms SIP URI ==
 
-
 
-
: In order to receive calls on Vapi with your VoIP.ms number, you will need to configure a SIP URI to redirect the calls from your DID number to your Vapi's SIP trunk.
 
-
 
-
=== Create a SIP URI ===
 
-
 
-
: Follow these steps to configure the SIP URI:
 
-
 
-
:: 1. Log into your [https://voip.ms/signin/index.php VoIP.ms Customer Portal].
 
-
:: 2. Go to '''DID Numbers >> SIP URI'''.
 
-
:: 3. Click on '''Add SIP URI'''.
 
-
 
-
: Configure the SIP URI using these parameters:
 
-
 
-
:: 4. '''SIP URI''': Define a SIP URI in this format -> +1{DID}@{PHONE NUMBER UUID}.sip.vapi.ai (E.g. [email protected])
 
-
:: 5. '''Description''': Any description of your choice.
 
-
:: 6. '''CallerID Override''': None
 
-
:: 7. '''CallerID E164''': Disabled
 
-
:: 8. Click on '''Save'''.
 
-
 
-
 
-
: [[File:vapi-did-sip-uri.png|border|800px]]
 
-
 
-
=== Route your DID to the SIP URI ===
 
-
 
-
: Once the SIP URI is ready, all you need to do is route your DID number to the SIP URI you created to redirect the calls to your Vapi's trunk.
 
-
 
-
:: 1. Go to '''DID Numbers >> Manage DIDs'''.
 
-
:: 2. Click on '''Edit''' for the DID number you added to Vapi.
 
-
:: 3. '''Main Routing''': Select '''SIP URI''' and from the list the SIP URI you added for Vapi.
 
-
:: 4. '''DID Point of Presence''': Make sure is the same server you used in the Vapi's SIP Trunk configuration.
 
-
:: 5. '''Apply changes''' when done.
 
-
 
-
 
-
That's it! Now the calls to your DID will be redirected to Vapi and answered by your Vapi's AI Assistant.
 
-
 
-
 
-
== Outbound calls ==
 
-
 
-
Coming soon!
 
-
 
-
<div style="margin-left:50px;
 
-
            padding:5px;
 
-
            border-left: 6px solid rgb(208, 56, 45, 0.8);
 
-
            box-shadow: 8px 6px 9px -2px #f2f2f2;
 
-
            background-color: rgba(208, 56, 45, 0.08);
 
-
            width:70vw;">
 
-
🚨 '''Outgoing calls'''
 
-
::Outbound calls from Vapi are currently not guaranteed.
 
-
 
-
::We are checking with Vapi.ai to find the right configuration to make outgoing calls work.
 
-
</div>
 
== Useful resources ==
== Useful resources ==
-
Vapi's documentation: [https://docs.vapi.ai/advanced/sip/sip-trunk SIP Trunking]
+
Fonoster documentation: [https://docs.fonoster.com/introduction]

Revision as of 18:11, 27 September 2025

Vapi


Fonoster is an innovative Programmable Telecommunications Stack that allows businesses to connect telephony services with the Internet entirely through a cloud-based utility.

For more details or to sign up to Fonoster, visit: Fonoster


Contents


Getting Started with Fonoster

Fonoster provides excellent documentation to help you set up your environment.

To get started, please follow their Quickstart Guide

VoIP.ms Sub Account configuration

To register a SIP trunk in Vapi you will need a sub-account. To create a Sub Account, in your VoIP.ms Customer Portal go to Sub Accounts >> Create Sub Account.

Creating a Sub Account for Vapi

Use these parameters for the 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.
1.7 Max Expiry: 180 (seconds).
1.8 Click on Create Account.
 All the settings not mentioned can be left with the default values or be adjusted according to your use-case needs.

Vapi configuration

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.

Adding the SIP trunk

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.
Vapi-sip-trunk-option-111111.png


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 losangeles4.voip.ms use 208.100.60.38).

🚨 POP Server

Make sure to use the IP address of the server and not the Domain name. Using the name will cause inbound calls to get rejected by Vapi.
You can check the full list of POP servers and their IP addresses here: Choosing Server


Useful resources

Fonoster documentation: [1]

Personal tools
Namespaces
Variants
Actions
VoIP.ms Wiki
Guides 🇨🇦
Guías 🇲🇽