Exemple #1
0
        public UnknownStatusState(RegistrationSession owner, SipStatusCode code, string statusText)
            : base(owner)
        {
            _owner.IsRegistered = false;
            StatusCode          = code;
            StatusText          = statusText;
            var logger = LogManager.GetLogger <TimedOutAccountRegistrationState>();

            logger.DebugFormat("Account {0} UnknownStatusState", _owner.Account.Id);
            logger.Debug(StatusText);
        }
 public void HangupCall(int callId, SipStatusCode code, string reason)
 {
     throw new System.NotImplementedException();
 }
 public void HangupCall(int callId, SipStatusCode code, string reason)
 {
     var r = new pj_str_t(reason);
     Helper.GuardError(PJSUA_DLL.Calls.pjsua_call_hangup(callId, (uint) code, ref r, null));
 }
Exemple #4
0
 public void HangupCall(int callId, SipStatusCode code, string reason)
 {
     throw new System.NotImplementedException();
 }
        public void HangupCall(int callId, SipStatusCode code, string reason)
        {
            var r = new pj_str_t(reason);

            Helper.GuardError(PJSUA_DLL.Calls.pjsua_call_hangup(callId, (uint)code, ref r, null));
        }