You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$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 response of asterisk to the "database show ...." contains the string "Message: Command output follows" and there is considered as a list while it's only some raw output.
The message is therefore not considered completed and "getRelated()" won't return anything and therefore send() will time out.
This seems to be a bug.
I thin it's to greedy to scan the message for the word "follow" since this could be in any kind of message.
The text was updated successfully, but these errors were encountered:
dkgroot
added a commit
to chan-sccp/PAMI
that referenced
this issue
Apr 25, 2019
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 response of asterisk to the "database show ...." contains the string "Message: Command output follows" and there is considered as a list while it's only some raw output.
The message is therefore not considered completed and "getRelated()" won't return anything and therefore send() will time out.
This seems to be a bug.
I thin it's to greedy to scan the message for the word "follow" since this could be in any kind of message.
The text was updated successfully, but these errors were encountered: