Getting error when sending command action

69 views Asked by At

In latest snap-shot of asterisk-java lib (ver-3.0.2) when sending wrapper action of CommandAction through AsteriskPBX i get an error of "invalid command" no matter what command is passed. In a particular case, I send "queue show".It works with "normal" CommandAction through ConnectionManager though.

Is there something just I need to fix or is it known bug?
If so could you suggest an alternative to this action?

Piece of code here:

CommandAction command = new CommandAction("queue show");
pbx.sendAction(command);
0

There are 0 answers