Laravel-Ami provides Asterisk interface for laravel via Asterisk Manager Interface. I develop this package to use in my virtual PBX and contact center applications. So all use cases come from my application requirements. Any discussion on features are welcome.
You can install the package via composer:
composer require soap/laravel-ami
You can publish the config file with:
php artisan vendor:publish --tag="ami-config"
Optionally, you can publish the views using
This is the contents of the published config file:
return [
'connections' => [
'default' => [
'uri' => 'user:secret@host:port',
]
]
];
Atisan Command
php artisan ami:cli "pjsip show aors"
Above cli command use default uri provided in app/config/ami.php. You can override it with --uri user:secret@host:port.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.