Phone


HangUp

Close connection

Call Method
    HangUp (String NotificationID) throw Exception
Parameters
   NotificationID
         Notification ID
JAVA Example
  Personalizer pers = null;
  Session sess = null;
  try{
      //Create personalizer object and Session object
      pers = new Personalizer();
      sess = pers.CreateSession("LogonName", "Password");
      //Create Phone notification object
      Phone objPhone = sess.CreatePhoneNotification();
      objPhone.Call("1-800-123-4567");
      objPhone.Say("Can you hear this text? If yes press 0.");
      String resp = objPhone.WaitDigits(PhoneNotifID,30,1,"#") ; //Get response from user
      objPhone.PlayDigits(resp) ; //playback user response
      objPhone.HangUp() ; // close connection
      objPhone.Release();
      sess.Release();
  }
  catch(Exception e){
      //Print exception message e.Message
      System.out.println(e.Message);
      sess.Release();
  }