示例#1
0
        /// <summary>
        /// 拒绝接听
        /// </summary>
        public void RejectCall()
        {
            var errno = PlcmProxy.RejectCall(this.CallHandle);

            if (ErrorNumber.OK != errno)
            {
                var errMsg = "拒绝接听失败,errNo=" + errno;
                log.Error(errMsg);
                throw new Exception(errMsg);
            }
            log.Info(string.Format("拒绝接听{0}", CallName));
        }