Hi,
I'd like get a list of channels in a asterisk server, like command ( show
channels concise ).
I made a class that implements ManagerResponseHandler and I passed this with
the command to the manager.
ManagerResponse originateResponse;
CommandAction action = new CommandAction();
action.setCommand("show channels concise");
managerConnection.login();
MyResponseHandler responseHandler = new MyResponseHandler();
managerConnection.sendAction(action, responseHandler);
In MyResponseHandle --> handleResponse();
I made the treatment and create the list of channels.
My question is: is there another easy way to get the list of channels in a
server?
Thanks.
|