/** * User agent resume the held current call. * @return true: successful; false: fail */ public static bool Resume(Call call) { var errno = WrapperProxy.ResumeCall(call.CallHandle); if (ErrorNumberEnum.PLCM_SAMPLE_OK != errno) { log.Error("resume a call failed." + "callHanlde is: " + call.CallHandle + ".Error number = " + errno.ToString()); return(false); } return(true); }
public static bool Resume() { var heldCalls = callManager.GetHeldCalls(); foreach (var call in heldCalls) { var errno = WrapperProxy.ResumeCall(call.CallHandle); if (ErrorNumberEnum.PLCM_SAMPLE_OK != errno) { log.Error("resume a call failed." + "callHanlde is: " + call.CallHandle + ".Error number = " + errno.ToString()); return(false); } } return(true); }