Subversion Repositories HomeAutomation

Rev

Rev 2098 | Rev 2152 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2098 Rev 2122
Line 72... Line 72...
72
          var incommingCall = true;
72
          var incommingCall = true;
73
          var checkName = true;
73
          var checkName = true;
74
 
74
 
75
          Log("received from DTMF:\"" + number + "\"");
75
          Log("received from DTMF:\"" + number + "\"");
76
 
76
 
77
          if (variables["Number"].length > 6)
77
          if (variables["Number"].length >= 6)
78
          {
78
          {
79
            /* A seems to mean it is an incomming call! */
79
            /* A seems to mean it is an incomming call! */
80
            if (number.charAt(0) === 'A' || number.charAt(0) === 'D')
80
            if (number.charAt(0) === 'A' || number.charAt(0) === 'D')
81
            {
81
            {
82
              incommingCall = true;
82
              incommingCall = true;