[Asterisk-java-users] HangupAction
Brought to you by:
srt
From: g f <gf...@gm...> - 2006-02-02 23:15:59
|
Hello all, I am trying to do a simple HangupAction method like so: public void hangupUser(String userID)throws IOException, AuthenticationFailedException, TimeoutException { HangupAction hAction; ManagerResponse mResponse; hAction =3D new HangupAction(); hAction.setChannel(userID); if(!managerConnection.isConnected()) { managerConnection.login(); } mResponse =3D managerConnection.sendAction(hAction,30000); managerConnection.logoff(); //declared elsewhere. System.out.println("HUNGUP CALLED"); // I get to this part } The above code returns no errors, but also does not disconnect the user fro= m the conference. Is there another Hangup action for conferences? Thanks again!! |