home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
cidos210.zip
/
readme.cid
< prev
Wrap
Text File
|
1997-04-27
|
10KB
|
249 lines
CID 0.10 OS/2 PM Copyright (C) 1997, Craig Morrison Caller ID Box
All Rights Reserved.
What is CID?
CID...Pronounced "syd".
CID is a simple Caller ID box for OS/2 Warp's Desktop. It is designed to
work with Caller ID subscribers who have CallerID Name & Number turned on.
You'll never lose another number again! The number of callers stored is
only limited by the amount of virtual memory you have. :-)
If you can operate a standard phone company caller ID box, you can
operate CID. CID is an almost exact replacement for the box, the best part
about it is....CID sits right on your desktop, a mouse click away.
Kudos out to..
Thomas Westdorp
Dave Schooler
These two are the most vocal of all the people helping me by testing CID.
Without their constant input, I wouldn't have gotten this far.
Notes About CID..
This is a pre-release version, it may or may not work for you.
The current modem types supported are:
Any Rockwell based modem
Any Sierra based modem
Practical Peripherals Proclass PC2888MT V.34
PLEASE NOTE:
CID will only work with non-ISDN modem types and for North
American caller ID services.
What you are seeing here with CID is the spawning of a retail software
package. When finished, that release will only be sold, not given away.
However, you may use any pre-release version for whatever you wish, as long
as you wish.. The purpose of the net exposure is to allow me as wide a test
audience as possible. Thank you for helping me.
The most recent version of CID will always be available at:
http://home1.gte.net/basher/cid.htm CID Home Page
Please be patient with this site. GTE.NET is going through a major
restructuring right now, so the site may be down at times. This is the
preferred download site. From time to time I will post CID to Hobbes, where
it will usually end up in /pub/os2/apps/comm.
Installing CID..
If you downloaded the archive CIDOS210.ZIP from Hobbes, run INSTALL.EXE.
If you got CID from the CID home page...Run CIDOS210.EXE, it will start
the installation program automatically.
I hope you like the install program, it should be almost transparent to
the end user. Comments, suggestions, etc.. are welcome.
Operating CID..
Simple: (well...It used to be simple :-)
CID [switches]
Switches: (may be preceded by - or /)
(NOTE: the examples below are the defaults for CID.)
S Swap last word in name for first word(s).
ie. DOE JOHN becomes JOHN DOE
NOSWAP.CID allows you to tell CID what names
to ignore when swapping. NOSWAP.CID is a
simple text file, one name or partial name
per line. All you have to do is put enough
of the name on each line so that CID can
recognize the name when a call comes in.
Case is not important.
O External database file(**), example:
-Ocallers.dat
I Country code, = 1 for USA.
Example: -I1
A Local area code list. This switch is for
those who live in areas that may have one
or more local (non-toll call) area codes.
Simply string them together with a
character separating each one. It will be
used for auto-dialing purposes.
Example: -A317;765;
D Dial prefix, example:
-DATDT
P Specify the comm port to use, i.e.:
-PCOM2
X Exit at specified time, use this if you
need to have CID exit so that the com port
is not being tied up. Specify the time in
24 hour military format. Example:
-X13:00
K Disables the Delete functions.
(**) The record layout for the database file is
a packed stream of the following structure:
typedef struct _cidinfo {
unsigned short cbData;
unsigned char phone[13];
unsigned char name[16];
unsigned char date[6];
unsigned char time[6];
unsigned long number;
struct _cidinfo *next;
struct _cidinfo *prev;
} CIDINFO, *PCIDINFO;
number is relative only to the session that
the call was received in. *next and *prev
should be ignored as they serve no useful
purpose in the external file. See the sample
code at the end of this file for an example
of how to read the database file.
Closing CID can take upto 5 seconds. CID has to follow a specific set of
procedures when shutting down to ensure that the port is in a stable state
when closing. Basically CID has to wait for the port read thread to
time-out, currently this is set to a liberal 5 second interval. This is
*NOT* a bug, it is vital that CID's shutdown operate in this fashion.
Please feel free to e-mail (1) the caller ID strings for other chipsets
to me and I will write an installation program that will allow for easier
setup (desktop objects, etc..)
BUGs and Reporting Them..
If you are submitting a bug report, I need *more* than "It doesn't work."
This doesn't do either of us any good. I need the following information:
(1) Modem type and manufacturer.
(2) Description as best you can of what does/does not happen.
(3) Caller ID Initialization strings, one for ON and one for OFF.
The ON string should turn on **FORMATTED** ICLID packages
from your telephone service provider. Look in your modem
documentation or contact the manufacturer.
(4) The debug logs created by CID. There are two created, COM?PORT.LOG
and COM?CID.LOG. Where ? is the com port number. Please use some
type of archiver to pack these two files up before sending them to
me so that no line ending translations occur. (I have just about
every archiver ever produced, so it is up to you which one you
use.)
(5) The tags used in the formatted data, i.e:
DATE = ...
TIME = ...
NMBR = ...
NAME = ...
These can be found by loading up your favorite terminal
package, typing in the CID ON string and having someone call
you. Your terminal package should display them on your console.
Of the above, only 1-4 are really necessary, but 5 will give me a better
idea of what is going on with your modem's caller ID capabilities.
As with all CallerID software, the line MUST ring TWICE for the data to
be transferred from the modem. If it doesn't, CID will not work for you.
S0=0 in your modem's stored NVRAM settings will fix this problem. Let CID
worry about the ring count. The extent of CID's modem initialization is;
ATZ<cr> ATE1V1X4<cr> and either the CID ON or OFF string.
Please! E-mail (1) me any suggestions, bugs, comments, feature requests,
etc... My mailbox is always open. Or you can stop by my website and leave a
note there in the guestbook. You may also wish to browse a bit when you
stop by, there are links to a large number of resources on the net there.
*** If you or someone you know has any information about the Sierra
Semiconductor ADPCM AT command set, PLEASE get in touch with me. I want to
add voice mail too, but not until I get the specs for SSC chipsets. I have
the Rockwell specs already. ***
Good luck!
Basher
basher@gte.net E-Mail (1)
http://home1.gte.net/basher/index.htm My Home Page
http://home1.gte.net/basher/cid.htm CID Home Page
------------------------------------------------------------------------------
/*****************************************************************************
Sample C code to list callers from the output file created by CID.
****************************************************************************/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct _cidinfo {
unsigned short cbData;
unsigned char phone[13];
unsigned char name[16];
unsigned char date[6];
unsigned char time[6];
unsigned long number;
struct _cidinfo *next;
struct _cidinfo *prev;
} CIDINFO, *PCIDINFO;
int main(int argc, char **argv)
{
FILE *f;
CIDINFO cid;
if (argc>1)
{
f = fopen(argv[1], "rb");
if (f)
{
while(fread(&cid, 1, sizeof(CIDINFO), f))
{
printf("Name: %s\n", cid.name);
printf("Number: %s\n", cid.phone);
printf("Date: %s\n", cid.date);
printf("Time: %s\n\n", cid.time);
}
fclose(f);
}
}
return 0;
}