Caller id, Program example for caller id – AMX DTMF+ Interface AXB-DTMF+ User Manual

Page 28

Advertising
background image

Programming

24

AXB-DTMF+ DTMF+ Interface

Caller ID

The AXB-DTMF+ provides report capability for receiving Caller ID information. The following

table shows the Caller ID data string sent to the Axcess AXC-EM Enhanced Master Card. A

description and format use are also described.

Program Example for Caller ID

Program the AXB-DTMF+ for Caller ID using the Axcess software program as described in

Axcess Program Example.

The following is an Axcess program example for Caller ID.

PROGRAM_NAME='DTMF+ CALLER-ID SAMPLE'

(* DATE:07/29/96 TIME:15:15:53 *)

Figure 17

AXCESS Caller ID program example

(***********************************************************************)

(* *)

(* THIS PROGRAM RECEIVES CALLER-ID INFORMATION IN THE FORM *)

(* OF A STRING FROM AN INCOMMING CALL (VIA AXB-DTMF+). IT *)

(* 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 *)

(* CALLER-ID INFORMATION APPEAR. OR, YOU CAN WATCH THE *)

(* DATA ON YOUR PC SCREEN. SELECT <CTRL>-T TO ENTER *)

(* AXCESS' TERMINAL MODE TO SEE THE DATA APPEAR. *)

(* *)

Caller ID

Data String

Description

"'CLID-mmddhhii-nnnnnnnnnn-<text>',0"

Caller ID data string sent from the AXB-DTMF+ to
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.

For the program to work, Caller ID service must be provided from your local
telephone company.

Continued

Advertising