Looking to hire Laravel developers? Try LaraJobs

laravel-ami maintained by soap

Description
Asterisk Manager Interface integration Laravel package
Last update
2023/04/28 11:44 (dev-main)
License
Downloads
139

Comments
comments powered by Disqus

Laravel-Ami

Latest Stable Version Latest Unstable Version run-tests Check & fix styling Total Downloads

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.

Installation

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',
        ]
    ]
];

Usage

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.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.