|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
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... Mark Sekelsky Wed, 22 Mar 2000 05:34:07 -0600 |
Hi Michael,
Yes, you are correct in what I am trying to accomplish. Prior ro this logic
is have the lines:
If Caller-ID-C Is GE 1000
And Caller-ID-C Is LE 1999
Then Known phone caller Set True
"Known phone caller" is simply a true/false item.
Prior to getting to the logic in my event that I originally posted
Caller-ID-C is examined a while bunch of times (is it a known solicitor,
known wrong number, write to a log, etc.) But regardless of the times I
examine Caller-ID-C, shouldn't it always be "not now none" the FIRST time it
is seen in any line until my entire ecs.cfg has been parsed?
-----Original Message-----
From: Michael David [mailto:michael@michaeldavid.com]
Sent: Tuesday, March 21, 2000 11:35 PM
To: ecs-list@netbloc.com
Subject: RE: [ECS] Ok, I am sure this is obvious...
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?
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects