Exemplo n.º 1
0
        public readonly bool _AllowsForward; //Point to point telephony destination CGW

        public TlfInfo(string dst, TlfState st, bool priorityAllowed, TlfType type, bool isTop, bool allowsForward)
        {
            Dst = dst;
            St  = st;
            _PriorityAllowed = priorityAllowed;
            _Type            = type;
            _IsTop           = isTop;
            _AllowsForward   = allowsForward;
        }
Exemplo n.º 2
0
 public void Reset(TlfInfo dst)
 {
     if (dst.Dst == "")
     {
         Reset();
     }
     else if (dst.Dst != _Dst)
     {
         _Dst             = dst.Dst;
         _PriorityAllowed = dst._PriorityAllowed;
         _Type            = dst._Type;
         _IsTop           = dst._IsTop;
         _AllowsForward   = dst._AllowsForward;
         ChangeState(dst.St);
         ChangeStateDescription();
     }
     else
     {
         Reset(dst.St);
     }
 }
Exemplo n.º 3
0
        public void Reset()
        {
            if (_MemNotifTimer != null)
            {
                _MemNotifTimer.Enabled = false;
            }
            if (_IaTimer != null)
            {
                _IaTimer.Enabled = false;
            }

            _Dst       = "";
            _Number    = "";
            _Digits    = "";
            _PrevState = _State;
            ResetDescription();
            _State         = TlfState.Idle;
            _Type          = TlfType.Unknown;
            _IsTop         = true;
            _AllowsForward = false;
        }