https://github.com/userator/tryagi
Asterisk gateway interface (AGI) library
https://github.com/userator/tryagi
agi asterisk gateway interface library php tryagi
Last synced: 5 months ago
JSON representation
Asterisk gateway interface (AGI) library
- Host: GitHub
- URL: https://github.com/userator/tryagi
- Owner: userator
- Created: 2019-07-17T19:25:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-25T14:47:08.000Z (almost 7 years ago)
- Last Synced: 2025-08-01T20:16:09.719Z (11 months ago)
- Topics: agi, asterisk, gateway, interface, library, php, tryagi
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TryAGI
Asterisk gateway interface (AGI) library
## Installation
It's recommended that you use Composer to install TryAGI.
```
$ composer require userator/tryagi "~1.0.0"
```
This will install TryAGI and all required dependencies. TryAGI requires PHP 7.3.0 or newer.
## Usage
Create an agi.php file with the following contents:
```
#!/usr/bin/php7.3 -q
init();
$result = $agi->send('VERBOSE "test verbose message"');
```
## Tests
To execute the test suite, you'll need phpunit7.
```
$ phpunit7
```