| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | RE: CID Works! Michael David Sat, 15 Aug 1998 11:56:43 -0400 |
Hi Ingo! How about something like this: | Item:"?" Type:Text Acc:User/User | Initial State:(None) Backup:No | Text :? | | 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> | If Caller Name Is/T1 "?" | Else 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 Cheers! Michael David michael@michaeldavid.com -----Original Message----- From: Ingo Dean (Outlook Express) [mailto:Ingo_Dean@mentorg.com] Sent: Friday, August 14, 1998 10:54 PM To: Mark Gilmore Subject: CID Works! 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