AgiRequestCommand command = new AgiRequestCommand();
Map<String, String> params = command.getParameters();
params.putAll(_parameters);
writer.sendCommand(command);
AgiClientChannel channel = new AgiClientChannelImpl(writer);
while (!Thread.interrupted()) {
AgiReply reply = reader.readReply();
_script.service(reply, channel);
}