chan-sccp / PAMI

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 multiple events. Very suitable for development of operator consoles and / or asterisk / channels / peers monitoring through SOA, etc
http://marcelog.github.com/PAMI
Apache License 2.0
26 stars 21 forks source link

PHP 8.0 magic function __sleep() wrong protected declare. #19

Closed Lilleri closed 2 years ago

Lilleri commented 2 years ago

When i try to connect to the Asterisk, i receive the current warning message:

Warning: The magic method PAMI\Message\Message::__sleep() must have public visibility

and the asterisk refuse the authentication, i made a momentary workaround where i set the protected function to public.