hangup(null);
}
public void hangup(HangupCause cause) throws ManagerCommunicationException, NoSuchChannelException
{
final HangupAction action;
final ManagerResponse response;
if (cause != null)
{
setVariable(CAUSE_VARIABLE_NAME, Integer.toString(cause.getCode()));
action = new HangupAction(name, cause.getCode());
}
else
{
action = new HangupAction(name);
}
response = server.sendAction(action);
if (response instanceof ManagerError)
{