PAMI
PAMI copied to clipboard
Fork of PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with mul...
Hello, thank you for keeping PAMI alive! I am trying to get every status of the current call. Meaning, to print each and every status that the call is in...
Removes deprecated on PHP 8.1 constant `FILTER_SANITIZE_STRING` usage. Replaces undocumented `FILTER_SANITIZE_FULL_SPECIAL_CHARS` usage by common `FILTER_UNSAFE_RAW` filter. Closes #22 More info about migration from `FILTER_SANITIZE_STRING` constant on Stack Overflow: https://stackoverflow.com/a/69207369/5533907
Hi there, I am not really sure if this is a PAMI issue but I thought you'd know maybe a solution as I've exhausted everything else. One of my connections...
In PHPDoc return type is `string`, but `PAMI\Message\Message::$keys` can also contains any of types returned by `PAMI\Message\Message::sanitizeInput()` method. Can be reproduced by code: ```php $message = new PAMI\Message\Response\GenericResponse("Foo: 123\r\n"); $fooValue...
Not really sure what is causing this issue: ` PAMI\Client\Exception\ClientException Error reading at C:\xampp\htdocs\source\vendor\chan-sccp\pami\src\PAMI\Client\Impl\ClientImpl.php:292 288▕ // Read something. 289▕ //$read = @fread($this->socket, 65535); 290▕ $read = @fread($this->socket, 8192); 291▕ if...
Hello using php 8.1 got for now this exceptions: ``` Constant FILTER_SANITIZE_STRING is deprecated in Message.php:162 stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated in Response.php:136...
Hello! $asteriskClient->send(new QueueStatusAction()) get error in the version 2.0.7 ERROR: E_ERROR "Uncaught TypeError: Argument 1 passed to PAMI\Client\Impl\ClientImpl::__construct() must be of the type array, null given, called in vendor/chan-sccp/pami/src/PAMI/Client/Impl/ClientImpl.php:571 In...