Example #1
0
        /// <summary>
        /// 保持呼叫
        /// </summary>
        public void HoldCall()
        {
            var errno = PlcmProxy.HoldCall(this.CallHandle);

            if (ErrorNumber.OK != errno)
            {
                throw new Exception("保持呼叫失败,ErrorNo=" + errno);
            }
            log.Info(string.Format("呼叫{0}保持", CallName));
        }