Programming
Caller ID
The
Caller ID
Data String | Description |
|
|
| Caller ID data string sent from the |
| the central controller. Caller ID is a service obtained |
| from the telephone company and is passed from the |
| central office between the first and second incoming |
| ring. |
| Characters in this string are not literal ASCII except |
| 'CLID' and '- ' characters. All other characters in the |
| string are represented as follows: |
| • m = month |
| • d = day |
| • h = hour |
| • l = min |
| • n = phone number |
| • text = 0 to 20 characters |
| The string is always 48 bytes including the null char- |
| acter. Spaces (0x20) are used as filler in the text field |
| or for any field not received. |
|
|
Program Example for Caller ID
Program the
Axcess Program Example.
For the program to work, Caller ID service must be provided from your local telephone company.
The following is an Axcess program example for Caller ID.
Continued
PROGRAM_NAME='DTMF+
(* DATE:07/29/96 TIME:15:15:53 *)
Figure 17
AXCESS Caller ID program example (***********************************************************************)
(* |
| *) |
(* THIS | PROGRAM RECEIVES | *) |
(* OF A | STRING FROM AN INCOMMING CALL (VIA | *) |
(* THEN | DISPLAYS IT ON FOUR BUTTONS ON A TOUCHPANEL AND | *) |
(* ALSO | ON A DISPLAY TERMINAL HOOKED UP TO THE MASTER | *) |
(* CARD'S PROGRAM PORT. | *) | |
(* |
| *) |
(* JUST | CREATE FOUR VARIABLE TEXT BUTTONS ON A TOUCHPANEL | *) |
(* WITH | VARIABLE TEXT NUMBERS 1, 2, 3, AND 4 AND SEE THE | *) |
(* | *) | |
(* DATA | ON YOUR PC SCREEN. SELECT | *) |
(* AXCESS' TERMINAL MODE TO SEE THE DATA APPEAR. | *) | |
(* |
| *) |
| 24 | |
|
|
|