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] [Fwd: CID Works!]
Mark Gilmore
Sat, 15 Aug 1998 07:10:54 -0700

Ingo, 2 methods come to mind:

1) Using the SET/CHAR operator, set a number item to
   the 1st char from the caller-id-name item.
   Then compare it to 63 (ascii value for "?")
2) Create a text-item holding text "?" (you will have
   to edit ecs.cfg manually to do so, given the problem
   entering "?"). Then you can compare the text of this
   item with the caller-id-name item via the IS/T1 operator.
3) Edit ecs.cfg manually and place the "?" where desired.

> Mark Gilmore wrote:
> 
> 
> 
>     ---------------------------------------------------------------
> 
> Subject: CID Works!
> Date: Fri, 14 Aug 1998 22:53:47 -0400
> From: "Ingo Dean (Outlook Express)" <Ingo_Dean@mentorg.com>
> To: "Mark Gilmore" <markgilmore@cococo.net>
> 
> Great!  The Out-of-Area CID stuff works!
> 
> Now, one question...
> 
> It looks like you set Caller-ID-Name to "?" when the number is valid,
> but the name is not.  How do I check that?  I can't set a text item to
> "?" for comparison, since that's the HELP button...
> 
> Ultimately, I want my CID announcements to announce names only when
> they're available, but if just the number is available, I want the
> number announced.
> 
> |       Do      Local Phone Session     Set             Local-Phone-Button
> |       Do      Remote Phone Sess.      Set             Remote-Phone-Button
> |
> |       BEGINIF Caller-ID-C             Is Not Now      None
> |       Do      Text-A                  T1<-T1          MSG:Call From
> |       Do      Text-A                  Set             <Space>
> |       Do      Text-A                  T1/A<-T1        Caller-ID-Name
> |
> |       If      Caller-ID-Number        Is GT           CID:Out-Of-Area
> |       Then    Text-A                  Set             <Space>
> |       Then    Text-A                  Set             a
> |       Then    Text-A                  Set             t
> |       Then    Text-A                  Set             <Space>
> |       Then    Text-A                  T1/A<-T1        Caller-ID-Number
> |
> |               Announce it:
> |       Do      Text-A                  Set             Display/Log/Speak
> |       ENDIF

  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
.