Asterisk Manager Interface (AMI) Overview
The Asterisk Manager Interface (AMI) is a monitoring and management channel built into Asterisk. Cloud Voice exposes AMI so that an external client can connect to your phone system and interact with it programmatically.
What AMI does
Section titled “What AMI does”AMI follows a client/server model that runs over TCP. A client program opens a connection to the server and then exchanges data across the TCP/IP stream: it can send commands and read a stream of events as they happen. Through this interface you can drive your phone system (its PBX, short for Private Branch Exchange) in a number of ways, including:
- Placing (originating) calls
- Checking voicemail (mailbox) status
- Monitoring extensions
- Managing other aspects of the PBX
Connect a client to Cloud Voice over AMI
Section titled “Connect a client to Cloud Voice over AMI”Connecting involves two parts: turning on AMI in the management portal and defining who may reach it, then pointing your client at the details Cloud Voice generates.
Step 1: Enable AMI
Section titled “Step 1: Enable AMI”-
Sign in to the management portal and go to Integrations > AMI.
-
Turn on AMI.
-
Under the AMI section, set the credentials a third party will use to authenticate:
- Username: the account name the external client presents to reach AMI.
- Password: the secret that pairs with the username.
-
Under the Permitted IP section, restrict which clients are allowed to connect:
-
In the IP Address field, click Add.
-
Enter a single address or a range that should have access, using the format
XXX.XXX.XXX.XXX.For example, IP address
216.207.245.47with subnet mask255.255.255.255permits only the host at216.207.245.47to reach the phone system through AMI.
-
-
Click Save, then Apply.
Cloud Voice now shows the Server Address and Port on the page. These values are assigned by the system and cannot be changed.

Step 2: Configure the AMI client
Section titled “Step 2: Configure the AMI client”Enter the username, password, server address, and port from the previous step into your AMI client, then connect it to the phone system.