From: Richard_Parson@mindlink.bc.ca (Richard Parson)
Newsgroups: comp.dcom.modems
Subject: Using Bell 202 Modems for Call ID with CALLVW10.ZIP
Date: 14 Apr 92 09:32:34 GMT
Organization: MIND LINK! - British Columbia, Canada

I've found some shareware called CALLVW10.ZIP (CallView V 1.0) that will
supposedly allow use of a Bell 202 Modem to bring Caller ID codes into an IBM
PC.

What are the specs for Bell 202?   Are used Bell 202 Modems
plentiful/obslolete/cheap?   How long ago were they in general use?  Where
would they have tended to be used?

Thanks

                                     Richard


Following is CALLVIEW.DOC from within the CALLVW10.ZIP archive:

CallView

Copyright:      Ray O'Connor  11-19-1990


Purpose:        Monitor 'Caller ID' activity on a telephone line.



Syntax:         CALL_ID  CONFIG.FIL

                CONFIG.FIL is the name of your configuration file.



System Requirements:
                Serial port, Bell 202 or ClassMate modem, Caller ID service
                supplied by local telephone company.


Overview:       Call_ID may be used to monitor Caller ID information that
                is received over a telephone line from the local telephone
                company.

                A user supplied file is used to define the format of
                of data files that are written and the address and IRQ
                of the port to be used.

                The configuration file must define the serial port
                address and the hardware IRQ number that is to be used.

                If no files are specified in the config file, output will
                be sent only to the screen.

                After all files have been written, the screen will display
                the current phone number, date, and time.

                If the phone number is not identified, the reason will be
                displayed.  This may occur if there is an error in the data
                packet, an out of area call, or the caller has disabled the
                feature from the originating telephone line.

                In order to conserve system resources,  files are opened
                one at a time,  read or written,  then closed.  This also
                allows the use of 'allow close window' setting in the
                DESQview PIF file.



DESQview:
                Call_ID will use features of DESQview if it is present.
                DESQview services are used to reduce time-slice overhead
                while waiting for an incoming phone call.  It may be run
                in a window of about 28k.

                When a call does arrive and is processed, Call_ID will
                force itself to the foreground.

                It will remain in the foreground until a key is pressed
                or the number of seconds defined in the 'FORE' variable
                have elapsed.  It will then disappear into the background.

                More than one key press may be needed to end the program.
                This occurs because most of each 'time-slice' is given back
                to DESQview to service other running tasks.

NOTE:  **  Registered version ONLY.


Modem Options:  If a Bell 202 type modem is used, it must be optioned for
                4-wire,  only the receive side should be connected to the
                phone line and a capacitor must be placed in series with
                one of the conductors.  The capacitor is needed to prevent
                DC current flow which would otherwise create an off-hook
                condition on the phone line.


RS-232 Cable:   Receive data and signal ground are the only leads that
                must be connected.  All others are ignored.

     Config File:    ASCII text, maximum line length of 256 characters.

                Options may be specified in any order and may be
                in upper or lower case.

                Options begin in the left-most column of the file.

                Lines that begin with a leading space will be assumed to be
                comments and will be ignored.

                Options are followed by a semicolon, one or more spaces,
                then their definition.

        PORT         The hexadecimal address of the serial PORT to be used.
                A PORT address must be specified.


   IRQ          The hardware IRQ number of serial PORT in decimal form.
                An IRQ number must be specified.

   MODEM        The type of modem connected to the serial port.
                If not defined then a Bell 202 modem is assumed.
                Only Bell 202 and ClassMate 10 or compatible modems
                are currently supported.

** ONE_RUN      Wait for a call, then end the program.

                Default setting is to run continually.

                Syntax:         ONE_RUN:

                This option will cause the program to end after a single
                data packet is received.  This is useful if running a series
                of programs in batch mode.

   FORE         The number of seconds to remain in the foreground if
                running under DESQview.


   QUIT_KEY     Optional <ALT> key press to end program.

                If not defined in config file, the <ESC> key will be used.

                Syntax to use ALT-X as the quit key:
                                QUIT:   'X'

                Where:          X  may be upper or lower case.
                  and:          X is the key to press while pressing <Alt>.
                                single or double quotes are optional.


   SCREEN       Controls format of screen output.
                Syntax is the same as FORMAT option for FILEs.

** SPAWN        Execute another program as a child process.

                Command line parameters may be sent to the child program
                by using the same variables that are used with the
                FORMAT option.

                Text that follows the SPAWN option should not be enclosed
                in quotation marks.

                Example:        SPAWN:  my_prog @tel

                This would execute the program 'my_prog' and send it
                the current phone number as though it were typed at the
                DOS prompt.

                When the 'child' program terminates control will be
                returned to CALL_ID.



   FILE         Name of output FILE,  with or without drive and path,
                followed by optional switches to control output.

            **  Maximum of 3 output files may be named.

                Files will be written in the same sequence they are named
                in the configuration file.  First named, first written.

                If the phone number is not identified 12 spaces will
                replace the @tel field in the output file.


      FILE Switches:
           /a     /append      New data will be added to the end of the FILE.
                          If the FILE does not exist it will be created.


      /n     /noblank     No data will be written to the FILE if the phone
                          number is unidentified.


      /k x   /kill x      Kill (delete) the FILE after x seconds have elapsed.
                          Where x is an integer in the range of 1 to 32767.

                          Kill is effective only if running in continuous mode.
                          It will have no effect in ONE_RUN mode.


   FORMAT       Format of the data written to the output FILE.


      FORMAT Symbols:

         @tel         Area code and number:  202-844-2525     (12 characters)

                      If the phone number is unidentified, this field
                      will be filled with 12 spaces.


         @date        Current month and day:  12:25           (5 characters)


         @time        Current 24 hour time:   23:25           (5 characters)

         @n           Newline, carriage return and linefeed pair.



                The FORMAT string allows the user to control text written
                to the output file.  The string may contain any desired text
                with the phone number, date or time inserted where desired.

                If no FORMAT is specified the output will default to
                phone number, date, and time, with no leading spaces,
                followed by a carriage return and linefeed.

                             202-844-2525 11:07 01:45


                The FORMAT string is associated with the most recent
                FILE name that has been read from the configuration file.

                Example:        FILE:   name.one
                                FILE:   name.two
                                FORMAT: "@tel"

                Output:
                        name.one        202-844-2525 11:07 01:45
                        name.two        202-844-2525

                The FORMAT string must begin and end with a double quote
                character.

NOTE: ** Registered version ONLY.


Examples:

port:   3F8
irq:    4
modem:  classmate 10
** spawn:  any_prog  @tel
file:    file.001
format: "Your telephone number is @tel. @nYour call came in at @time on @date."
file:    file.002
file:    file.003 /a
format: "@date @time @tel"
screen: "@tel called at @time"
fore:   30
quit:   Z



        ALT-Z will be used to end the program.

        Port address 3F8 will be used with IRQ 4, this is the standard
        address and IRQ for COM1. ( standard COM2 is 2F8 and IRQ 3 )
        Modem is defined as a ClassMate 10.

        The program 'any_prog' will be executed and the variable
        @tel will be passed to it as a command line parameter.

        Screen output for each call will be displayed as follows:

202-844-2525 called at 01:30

        If running under DESQview, the window pop up and will remain
        in the foreground for 30 seconds or until a key is pressed.



        File contents after 3 calls
            FILE.001
Your telephone number is 202-844-2525.
Your call came in at 13:22 on 11-11.


        FILE.002
202-844-2525 11-11 13:22

        FILE.003
11-11 13:22 202-844-2525
11-11 13:22 202-844-2525
11-11 13:22 202-844-2525
Newsgroups: comp.dcom.modems