ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
RE: [ECS] Ok, I am sure this is obvious...
Michael David
Wed, 22 Mar 2000 00:34:37 -0500

Hi Mark!

Line two looks correct: "If caller-id-c is now not none, but was none
before."

Looking at your logic, you should only get an announcement when:

A) it's not a known caller (what's the item def on "known caller") AND
B) it's not an out of area call.

Is that what you are trying to accomplish here?  When you say ""Known"
callers are announced a
different way than Out-of-area, Private, or "Known" callers" do you mean
that those announcements are handled with different code?  In the same
event?  Or in another event?

Remember that the test for "is not now" is only true for one pass (I think
that's what you meant by  "OK the FIRST
pass", right?)

Assuming that the code in your email is part of a larger event, perhaps
posting that, with its item defs, will help us track it down.  I suspect
what is happening is that by the time line two is executed, caller-id-c is
no longer "not now none".  Do you have this same test earlier in the same
event?

Cheers!

Michael David
michael@michaeldavid.com



-----Original Message-----
From: Mark Sekelsky [mailto:Mark@sekelsky.com]
Sent: Tuesday, March 21, 2000 8:50 PM
To: ECS List
Subject: [ECS] Ok, I am sure this is obvious...

At long last I am fixing a few things in my phone service event (that I
"broke" long ago) and of course in the process have broken other things.
When somebody calls the event identifies them as either a "known" (found in
callerid.txt) or "unknown" caller.  "Known" callers are announced a
different way than Out-of-area, Private, or "Known" callers.  The following
lines no longer announce "unknown callers."  I am 99% sure, based upon other
changes I made last weekend, that the issue is with the "Is not now" line
(2nd line).  As I understand this variable that line should be OK the FIRST
pass of the event, but not subsequent passes?


BEGINIF Somebodies home         Is              On
If              Caller-ID-C                     Is Not Now      None
And             Known phone caller      Is              False
And             Caller-ID-C                     Is Not  CID: Out of area
Then            Text-a                  T1<-T1  MSG:Phone call from
Then            Text-a                  Set             <Space>
Then            Text-a                  T1/A<-T1        Caller ID: Name
Then            Text-a                  Set             Speak/W->VC


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.