PAMI
PAMI copied to clipboard
PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple ev...
The QueueMemberPaused event is obsolete. The new event name for Asterisk version 13+ is QueueMemberPause. Please create a new event for compatility. Keep up the good work.
If you run: `$response = $pamiClient->send(new CommandAction('database show blacklist', ''));` you'll get a read timeout in ClientImpl.php on line 422. The reason is that in PAMI\Message\Response\ResponseMessage.php in line 137 the...
Fix Deprecation Notice: Class PAMI\Message\Event\ListDialPlanEvent located in vendor/marcelog/pami/src/PAMI\Message\Event\ListDialplanEvent.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0.
`docs/` instead of `doc/` in README.
hello, i'm unable to send ussd massage, can you please provide an example?
$asteriskClient = new ClientImpl($options); $asteriskClient->open(); $res3 = $asteriskClient->send(new CommandAction('pjsip show contacts')); $lines = $res3->getRawContent(); var_dump($lines); always return Read timeout
i run the code but i get this error Maximum execution time of 30 seconds exceeded in C:\Apache24\htdocs\pbx\ami.php on line 31
As `$this->findResponse($event)` can return `false` sometimes you get `Call to a member function addEvent() on bool` error
I want to integrate PAMI with my web application which should open a particular URL which is nothing but a web page in our application (Details of the caller) of...
how can i getVariable from dialplan with PAMI? $originateMsg = new OriginateAction('SIP/1001'); $originateMsg->setContext('queue'); $originateMsg->setPriority('1'); $originateMsg->setExtension(5555); $originateMsg->setCallerId(5555); $originateMsg->setAsync(true); $originateMsg->setActionID(1); _$originateMsg->setVariable('id',987654321);_ $orgresp = $client->send($originateMsg); I can setVariable, but i need to getVariable....