Download the PHP package enniel/ami without Composer
On this page you can find all versions of the php package enniel/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/Enniel/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 ~5.1
illuminate/console Version ~5.1
illuminate/events Version ~5.1
illuminate/contracts Version ~5.1
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 ~0.3.1
jackkum/phppdu Version ~1.2.10