Download the PHP package rosscuk/ami without Composer
On this page you can find all versions of the php package rosscuk/ami. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package ami
Short Description Provide asterisk ami to laravel
License MIT
Homepage https://github.com/Ross-C/ami
Informations about the package ami
Enniel\Ami
Easy control via asterisk manager interface (AMI).
Installation and configuration
To install as a composer package to be used with Laravel 5, simply run:
Once it's installed, you can register the service provider in config/app.php
in the providers
array:
Then publish assets with php artisan vendor:publish
. This will add the file config/ami.php
.
Usage
Connection options
You are can specify connection parameters for each command.
Option | Description |
---|---|
--host | Asterisk AMI server host |
--port | Asterisk AMI server port |
--username | Asterisk AMI server username |
--secret | Asterisk AMI server secret |
Listen ami events
If would you like to see event log in the console use monitor option
Send ami action
Send sms messages using chan dongle
For sending long messages use pdu mode.
Argument device is not required.
Send ussd commands using chan dongle
Send ami commands
This command started cli interface for ami. Command attribute is optional.
Close cli interface after sending command.
Without Laravel
All versions of ami with dependencies
ext-mbstring Version *
illuminate/support Version ^8.0
illuminate/console Version ^8.0
illuminate/events Version ^8.0
illuminate/contracts Version ^8.0
react/dns Version ~0.4.3
react/stream Version ~0.4.6
react/event-loop Version ~0.4.2
react/socket-client Version ~0.4.6
clue/ami-react Version ~1.1.0