Registry / networking / marcelog-pagi

marcelog-pagi

JSON →
library2.0.0phppackagistunverified

Asterisk Gateway Interface (AGI) client for PHP, suitable to make telephony applications using call flow nodes

composer require marcelog/pagi
INSTALL
IMPORT
SIG · MARCELOG-PAGI
M
marcelog-pagi
networkingphpv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use PAGI\Client\Client;

Basic AGI client usage to answer a call, play a file, and hang up.

use PAGI\Client\Client; $client = new Client(); $client->answer(); $client->streamFile('welcome'); $client->hangup();
Debug
Known issues
gotchaRequires PHP 7.4+ and the Asterisk AGI environment.
fix
Ensure your server has PHP 7.4+ and is running within an Asterisk AGI context.
affects: >=2.0.0
Upgrade
Version history
2.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
marcelog-pagi — pip install marcelog-pagi · libregistry