marcelog / PAMI

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
405 stars 282 forks source link

asterisk 16 and CommandAction Response always return Read timeout #186

Open varlog11 opened 5 years ago

varlog11 commented 5 years ago
$asteriskClient = new ClientImpl($options);
$asteriskClient->open();
$res3 = $asteriskClient->send(new CommandAction('pjsip show contacts'));
$lines = $res3->getRawContent();
var_dump($lines);

always return Read timeout

alexpts commented 5 years ago

+1

jorgepy commented 5 years ago

+1

varlog11 commented 5 years ago

Use this fork https://github.com/chan-sccp/PAMI It Works