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] Final CID questions
Mark Gilmore
Sun, 23 Aug 1998 08:39:07 -0700

Just check for "?" in the caller-id-name
AND caller-id-number Item.

Ingo Dean (Outlook Express) wrote:
> 
> Mark,
> 
> There's still something I can't quite get to work on my caller-ID routines:
> 
> When a call comes in from an Unknown Name ("?") with valid number which I've
> defined a name for in my Caller-ID file, setting the Caller-ID-C item to LOG
> or SPEAK works properly.  But the Caller-ID-Name item continues to be "?",
> breaking what I'm trying to do: only announce the number if the name is
> totally unknown (from phone company, and from my CID file).
> 
> Am I still doing this wrong?
> 
> LOG OUTPUT:
> -----------
> O 08/22  9:33 PM:Call from My ISDN Line at 626-5410
> O 08/22  9:33 PM:Call from 626-5410
> 
> Program snippet:
> ----------------
> |       BEGINIF Caller-ID-C             Is Not Now      None
> |       Do      Text-A                  T1<-T1          MSG:Call From
> |       Do      Text-A                  Set             <Space>
> |
> |               For debugging only:
> |       Do      Caller-ID-C             Set             Log
> |
> |       If      Caller-ID-Name          Is              Question Mark
> |       Then    Text-A                  T1/A<-T1        Caller-ID-Number
> |       Else    Text-A                  T1/A<-T1        Caller-ID-Name
> |
> |               Announce it:
> |       Do      Text-A                  Set             Display/Log/Speak
> |       ENDIF

-- 
Mark Gilmore
Omnipotence
Voice:423-745-0026
FAX  :423-745-1714
http://members.a2zsol.com/omnipotence.html

  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
.