PDF User Manual

  1. Home
  2. Manuals
  3. Telcom Research CallShop FONE DISPLAY Installation & Protocol Manual

Telcom Research CallShop FONE DISPLAY Installation & Protocol Manual

Made by: Telcom Research
Type: Installation & Protocol Manual
Category: Monitor
Pages: 24
Size: 1.42 MB

 

Download PDF User Manual



Full Text Searchable PDF User Manual



background image

 
 
 
 
 
 

CallShop FONE DI$PLAY 

 

Installation & Protocol Manual 

 
 
 

 

 

 
 

Stand Alone Install & 

Multiple Install via CallShop Concentrator 

 
 

Issue 1.10 

March 24 2008 

 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 1

 

General : 
 

The CallShop Phone Display is a device for controlling and displaying various features 
related to the implementation of a CallShop. 
 
 

 

 

The device is enclosed in a small plastic enclosure, and contains an LCD display and 
connection jacks. Its internal microprocessor is capable of various functions related to 
control and status of a telephone call, as well as display of call information on the LCD 
screen for the user to see. 
 
On the right side are the connection jacks. These provide the interconnect with the outside 
world. 

 

 

 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 2

 

Connecting the CallShop Fone Display is quite easy. 
 

 

 
 

 

Plug the telephone line cord into the 

Line Jack

 

Plug the telephone cord into the 

Telephone Jack

 

 

Plug the AC Power Adapter into the 

Power Jack

 

 

Plug an RJ45 Patch Cable (Standard network cable) into the 

Serial Interface Jack

 

 

Plug an 

RJ45 to DB9 Adapter

 onto the end of the RJ45 Patch Cable 

 

Plug the 

RJ45 to DB9 Adapter

 into a spare COM port of your PC. 

 
 
The 

RJ45 to DB9 Adapter

 may be obtained directly from Telcom Research, or can be built 

from a generic adapter. The connection information for making your own adapter is below: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

9 Pin Fone Display Adapter

 

 

DB9 

Male

 or DB9 

Female

 

DB9  Signal 

Adapter 

Color 

Adapter 

Pin 

Number 

DCD 

N/C 

RXD 

Blue 

TXD 

Red 

DTR 

Green 

GND 

Yellow 

DSR 

N/C 

RTS 

N/C 

CTS 

N/C 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 3

 

The CallShop Fone Display is controlled by a PC via serial communications. The PC’s COM 
Port settings must be: 
 
 

Baud Rate 

 

2400 

 

Data Bits 

 

 

Stop Bits 

 

 

Parity   

 

None 

 
Using this serial interface you can send message packets to the device to control its 
behavior. Each message packet is ASCII data with a carriage return at the end of each 
packet. This simple serial protocol allows for easy implementation and testing using 
common tools. 
 
 

Document Conventions: 

 
In this document the following names and symbols will have the following meanings: 
 
 

<CR>

  Carriage Return 

the hex value 0x0d (‘\r’) 

 

0x 

Hex Character Representation. The 2 digits after the 0x are a hex value. 

 

ETX 

The ASCII character ETX which is 0x03 or ‘\3’ 

 
 

Control Commands : 

 

The following list of commands allows a PC program to control the operation of the 

CallShop Fone Display

 as part of an overall call shop solution. 

 
Each command is a single ASCII character followed by 1 or more parameters as text, ending 
with a 

<CR>

 Each command will cause the device to perform some function and respond 

with a confirmation message which is the command character proceeded by the “^” and 
ending with a 

<CR>

 

 
Blank LCD Line X: 
 

The “l” (lower case ‘L’) command will cause a line of the LCD display to be cleared or 
blanked. This command is a 3 character command with the 2

nd

 character being the line 

number, 1 for top, and 2 for bottom. 
 
Format: 
 

lR

<CR> 

 

 

= “l” (Lower case “L” 

 

 

R   

= Row (1 for line 1 and 2 for line 2) 

 
Response: 
 

^l

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 
Example: 
 

l2

<CT> 

 

 

Clear line 2 of the LCD  display 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 4

 

 
Note : Clearing a line will only clear a line that contains text. If the line is populated with a 
control such as a timer or clock then this will not be removed. 
 

Display Full Screen: 

 
The “L” command allows for the full screen (32 characters) to be written to all at once. The 
command is the 34 character command. 
 
Format: 
 

LAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBB

<CR>

 

 

 

= “L” 

 

 

= 16 character field of text to appear on line 1 of the LCD display. 

 

 

= 16 character field of text to appear on line 2 of the LCD display. 

 

This command is only capable of filling the entire display. If you wish to 
modify only a portion of the display, see the “Message” command. 

 
Response: 
 

^L

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 

 

Message: 

 
The “M” command provides the ability to put 1 or more characters any place on the LCD 
display.  
 
Format: 
 

MRCCLLxxxxx

<CR> 

 

 

M  

= “M” 

 

 

R   

= Row (1 for line 1 and 2 for line 2) 

 

 

CC  

= Column (01 to 16) 

 

 

LL  

= Length 

 

 

Xx  

= Message characters 

 
Response: 
 

^M

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 
Example: 
 

M10311Hello World

<CR>

 

 

This example will put the words “Hello World” on line one starting at column 3 and 
the message is 11 characters long. 
 

 

Clock Set: 

 
The “T” command provides the ability to set the devices real time clock.  
 
Format : 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 5

 

 

TYYMMDDWhhmmss

<CR> 

 

 

T   

= “T” 

 

 

YY  

= Year 

 

 

MM  

= Month 

 

 

DD  

= Day 

 

 

= day of the week (Sunday is 1) 

 

 

hh 

= Hour 

 

 

mm 

= Minutes 

 

 

ss 

= Seconds 

 
Response: 
 

^T

<CR> 

The CallShop Fone Display will respond with this confirmation message 

Example: 
 

T0802263182400

<CR>

 

 

 

This example sets the clock to February 26, 2008 at 18:24:00. 

 

Clock Display: 

 
The “t” command (lower case “T”) allows you to display the default clock on the LCD display 
on either line 1 or line 2. 
 
Format: 
 

tx

<CR>

 

 

 

X = Row Number  

 

 

 

0 = Do not display 

 

 

 

1 = Display Clock on Line 1 

 

 

 

2 = Display Clock on Line 2 

Response: 
 

^t

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 
Example: 
 

T1

<CR>

 

 

 

Put the lock on line one of the display 

 

T0

<CR>

 

Turns off display of the clock, however the clock continues to run in case you 
want to display it at a later time. Only a power interruption will cause the 
clock to reset and loose time. 

 
Duration Counter: 

 
The “D” command will place a duration counter on the LCD at the location of your choice. A 
duration counter will allow you to display the time used by the caller in seconds and 
minutes, without the need to constantly update the LCD display. 
 
Format: 
 

DRCCDx

<CR>

 

 

 

D  

= “D” 

 

 

R  

= Row ( 1 or 2 ) 

 

 

CC 

= Column ( 1 to 16 ) 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 6

 

 

 

= Delimiter (character between seconds and minutes) 

 

 

= Optional command. If this is a “C” then the counter is cleared. 

 
Response: 
 

^D

<CR> 

The CallShop Fone Display will respond with this confirmation message 

Example: 
 

D101:C

<CR>

 

Display a duration timer on Row 1 at column 1 with a “:” between the 
minutes and seconds. The display will look like this: 
 

000:00 

 

D000:

 <CR>

 

 

 

This will cause the duration counter to be removed from the LCD display. 

 

Duration Start/Stop: 

 
The “d” (lower case “D”) command is used to start and stop the Duration Counter. 
 
Format: 
 

dxy

<CR>

 

 

 

= “d” 

 

 

= Enable / Disable 

 

 

 

 

1 = Enable 

 

 

 

 

0 = Disable 

 

 

= Optional command. If this character is a “C” then the counter  

 

 

 

 

will also be reset to zero. 

 
Response: 
 

^d

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 
Example: 
 

d1

<CR> 

 

 

This causes the duration counter to begin counting up. 

 

d0

<CR>

 

This causes the duration counter to stop counting. The d1 command will then 
allow you to turn the counter back on. 

 

Cost Counter: 

The “C” command will place a Cost Counter on the LCD at the location of your choice. A cost 
counter will allow you to display the cost of the call incrementing automatically without the 
need to constantly update the LCD display. 
 
Format: 
 

CRCCLDdSTTAAx

<CR>

 

 

 

C  

= “C” 

 

 

R  

= Row ( 1 or 2 ) 

 

 

CC 

= Column ( 1 to 16 ) 

 

 

= Length of the field 

 

 

= Decimal Places 

 

 

= Delimiter character. 

 

 

= Currency Symbol. Can be any 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 7

 

ASCII character or special character 
 

 

TT  

= Time Period 

 

 

AA 

= Amount to Add or Subtract each time period. 

 

 

= Optional command 

 

 

 

 

C = Clear the counter 

 

 

 

 

R = Restart/continue the counter 

 
Response: 
 

^C

<CR> 

The CallShop Fone Display will respond with this confirmation message 

Example: 
 

C10882.$1530C

<CR>

 

Display a cost counter on Row 1 at column 8 with a “$” at the start of the 
field with a “.” To show 2 decimal places. 
The filed would look like this: 
 

$0000.00 

This field is 8 characters long if you include the “$” and the “.” 
 

 

C00000  0000C

<CR> 

 

 

This will cause the Cost Counter to be removed from the LCD display. 

 
 

Cost Start/Stop: 

 

The “c” (lower case “C”) command is used to start and stop the Cost Counter. 
 
Format: 
 

cxy

<CR>

 

 

 

= “c” 

 

 

= Enable / Disable 

 

 

 

 

1 = Enable 

 

 

 

 

0 = Disable 

 

 

= Optional command.  

If this character is a “C” then the counter will also be cleared. 
If this character is an “S” then the counter will be preset to the 
incremental amount (see AA from the “C” command above. 

 
Response: 
 

^c

<CR> 

The CallShop Fone Display will respond with this confirmation message 

 
Example: 
 

c1C

<CR> 

 

 

This causes the cost counter to be cleared, and then begin counting up. 

 

c0

<CR>

 

This causes the cost counter to stop counting.  

c1S

<CR>

  

This will cause the counter to be preset to the amount previously entered 
from the “C” command (“AA” field above), and then begin counting. 
 

Prepaid: 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 8

 

 
The “P” command controls how the costing of a call is done. Costing can be done in two 
ways. Standard Cost Mode and Prepaid Cost Mode.  

In Standard Mode, the cost counter counts up from zero to tally the total amount of 
the calls placed by the user. 
 
In Prepaid Mode, the cost counter is preset to an amount (the amount deposited by 
the user) and the proceeds to count down, subtracting amounts from the total to 
provide to the user the amount of money he has left. 
 

Format: 
 

Pxxxxxxxx

<CR>

 

 

 

= “P” 

 

 

= 8 digit amount with leading zeros. 

This is the total to be displayed by the “C” command above. 
 

Response: 
 

^P

<CR> 

The CallShop Fone Display will respond with this confirmation message 

Example: 
 

P00000000

<CR> 

This command sets the prepaid amount to zero, and so turns off the prepaid 
function. The Cost Counter will act in Standard Mode, 

P00002000

<CR>

 

This command will set the prepaid amount to 2000 units. If we were working 
in dollars, then this would represent $20.00. Because the command sets a 
value of greater than zero into the prepaid field, the Cost Counter will work in 
Prepaid Mode, 
 

Begin Call/End Call: 

 
The “B” command causes both the duration counter and the cost counter to begin 
simultaneously. This is very helpful to “begin” a call or “end” a call, as both counters stop at 
exactly the same time. 
 
Format: 
 

Bxyz

<CR>

 

 

 

= “B” 

 

 

= Begin / End 

 

 

 

 

1 = Begin 

 

 

 

 

0 = End 

 

 

= Optional command to control how the call is charged.  

If this character is a “C” then the Cost Counter will also be 
cleared. In Standard Cost Mode this means setting the Cost 
Counter to zero. In Prepaid Cost Mode, this means presetting 
the Cost Count to Prepaid amount.  
 
If this character is a “S” then the cost counter will be 
incremented/decremented by the cost “Amount” (see the “C” 
command). In Prepaid Cost Mode, the “Amount” is immediately 
subtracted from the Cost 
Counter. In Standard Cost 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 9

 

Mode, the “Amount” is immediately added to the Cost Counter.  
 

= Optional command to control the Duration Counter. 

If this character exists and is an “R” then the duration counter 
will be reset to zero. 

 

Response: 
 

^B

<CR> 

The CallShop Fone Display will respond with this confirmation message 

Example: 
 

B1CR

<CR>

 

This will cause both the Duration Counter and the Cost Counter to begin 
timing and pricing a call. The Duration counter will be reset to zero at the 
start and the Cost Counter will be cleared. In Standard Cost Mode this means 
setting the Cost Counter to zero. In Prepaid Cost Mode, this means presetting 
the Cost Count to Prepaid amount.  

 

B0

<CR>

 

This will cause both the duration counter and the cost counter to stop 
counting. 

 
B1S<CR> 

This will cause both the duration counter and the cost counter to start 
counting. Neither counter will be altered first, so that if there was a duration 
on the Duration Counter, it will simply be added to. Likewise if a cost already 
existed on the Cost Counter (from a previous call) then the counter will 
simply add to this cost. This is usually used when you want to show the user 
the total duration and cost of all his calls, and this command would be used to 
start second or subsequent call. 
 

 

View Digits Dialed: 

 
The “V” command displays the “Digits Dialed” field on the LCD at the location of your 
choice. 
 
Format: 

VRCC

<CR> 

= “V” 

 

 

R   

= Row (1 for line 1 and 2 for line 2) 

 

 

CC  

= Column (01 to 16) 

 

Response: 
 

^V

<CR> 

The CallShop Fone Display will respond with this confirmation message 

Example: 
 

V203

<CR> 

Display the digits dialed field on line 2 starting at column 3 of the LCD 
display. 

V000

<CR>

 

 

Turn off the digits dialed field. 

 

 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 10

 

Special Characters: 

 

The “G” command allows creation of up to 8 special characters. These are characters that 
do not exist as part of the standard ASCII character set. For instance, the dollar sign is ok if 
you are working with dollars as this is a standard ASCII character, however if you are 
working in Euro’s then the Euro symbol does not exist, so you need to create it your self. 
 
The LCD display is made up of characters that are 8 dots high by 5 dots wide. For example: 
 

Bit 

 

 

 

 

4  3  2  1  0   

Binary 

Hex 

FD Hex 

 

 

 

 

 

 

 

 

 

  

  

  

  

  

 

01110 

0x07 

0x87 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

11111 

0x1F 

0x9F 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

10001 

0x11 

0x91 

  

  

  

  

  

 

00000 

0x00 

0x80 

 
You can see that the letter “A” is formed by dots. Each dot is either on (1) or off (0). The 
“Binary” column is the binary value of the 0’s and 1’s required to form this character. The 
“Hex” column is simply the hex version of this same value. The FD Hex column is simple the 
Hex column with bit 7 always on (or if you prefer, in “C” terms, it is Hex | 0x80). To form 
this character, you need to write 8 bytes of data 87; 91; 91; 91; 9F; 91; 91; 80. 
 
To diagram below shows how you would form the Euro character. 
 

Bit 

 

 

 

 

4  3  2  1  0   

Binary 

Hex 

FD Hex 

 

 

 

 

 

 

 

 

 

  

  

  

  

  

 

00111 

0x07 

0x87 

  

  

  

  

  

 

01000 

0x08 

0x88 

  

  

  

  

  

 

11110 

0x1E 

0x9E 

  

  

  

  

  

 

01000 

0x08 

0x88 

  

  

  

  

  

 

11110 

0x1E 

0x9E 

  

  

  

  

  

 

01000 

0x08 

0x88 

  

  

  

  

  

 

00111 

0x07 

0x87 

  

  

  

  

  

 

00000 

0x00 

0x80 

 

To form this character, you need to write 8 bytes of data 87; 88; 9E; 88; 9E; 88; 87; 80. 
The “G” command is used to send 8 special characters to the display memory. This equals 
64 bytes of information. 
 
Format: 
 

Gabcdefgh

<CR>

 

 
 

 

= “G” 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 11

 

 

 

= 8 characters representing special character #1. 

 

 

= 8 characters representing special character #2. 

 

 

= 8 characters representing special character #3. 

 

 

= 8 characters representing special character #4. 

 

 

= 8 characters representing special character #5. 

 

 

= 8 characters representing special character #6. 

 

 

= 8 characters representing special character #7. 

 

 

= 8 characters representing special character #8. 

 
Example: 
 

The example below is “C” source code to send a group of special characters. 
 
 
void SendSpecialCharacters( void ) 

 

// Define the array to hold the 64 bytes 

 

char special_chars[ ] =  

 

 

0x86, 0x89, 0x88, 0x9E, 0x88, 0x8D, 0x92, 0x80, 

// £ 

 

0x87, 0x88, 0x9e, 0x88, 0x9e, 0x88, 0x87, 0x80, 

// euro_image 

 

0x9F, 0x91, 0x91, 0x91, 0x91, 0x91, 0x91, 0x80, 

// pi_image 

 

0x84, 0x8A, 0x8A, 0x91, 0x91, 0x91, 0x91, 0x80, 

// lambda_image 

 

0x9F, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x80, 

// gamma_image 

 

0x84, 0x8A, 0x8A, 0x91, 0x91, 0x91, 0x9F, 0x80, 

// delta_image 

 

0x8C, 0x92, 0x92, 0x96, 0x91, 0x99, 0x96, 0x90, 

// ß 

 

0x84, 0x8A, 0x80, 0x91, 0x91, 0x93, 0x8D, 0x80, 

// û 

 

}; 

 
 

char buf[ 66 ]; 

 
 

sprintf( buf, "G%s\r", special_chars ); 

 

WriteToFD( buf ); 


 

To use one of these characters in an LCD Message or as the Currency Symbol you replace 
the standard ASCII character with the character 0x01 (‘\1’)  to 0x08 (‘\8’). 
 
For example to send the message, “Your total is £1234.56” you would send the message 
with the following “C” string: 
 

“Your total is \11234.56” 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 12

 

State Messages : 

 

The CallShop Fone Display provides certain messages to a PC control program to allow the 
program to know the state of the device, and what the caller is doing. Each message is a 
single ASCII character, followed by 1 or more parameters and ending with a 

<CR>

 

Hook State: 

 
The “H” message provides information about the change of state of the telephone hook 
switch. 
 
Format: 
 

Hx

<CR>

 

 

 

= “H” 

 

 

= State. 0 = On Hook; 1 = Off Hook 

 
Example: 
 

 

 

State of telephone 

Message Sent 

 

Phone goes off hook 

H1

<CR>

 

 

Phone goes on hook 

H0

<CR>

 

 

 

Digit Dialed: 

 
The “D” message provides information about digits dialed by the user. 
 
Format: 
 

Dx<CR> 

 

 

= “D” 

 

 

= Digit dialed by the user. 

 
Example: 
 
 

State of telephone 

Message Sent 

 

User dials 3 

D3

<CR>

 

 

User dials 6 

D6

<CR>

 

 
By receiving the digits dialed by the user with these messages, and concatenating them 
together, a PC program can easily determine the telephone number the user is dialing as he 
is dialing it (in real time). 
 
 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 13

 

Status Commands & Response Messages 

 

The CallShop Fone Display is capable of providing a PC control program various status 
information to allow the program to provide the required functionality. 
 

Revision: 

 
The “R” command sent to the device will cause it to respond with the revision number of the 
devices firmware. This allows the program to first determine if the device exists and is 
working and to also verify it is the correct version. 
 
Command: 
 

R

<CR>

 

 
Response Format:  
 

xxxxxx

<CR>

   

x = 6 digit revision number 

 
Example: 
 

300110

<CR>  

(Device is version 300110) 

 
 

Status Hook Switch: 

 
The “SH” command will return the current status of the hook switch. This can be useful if 
the program needs to confirm it is in the correct state based upon the phone being on hook 
or off hook. 
 
Command: 
 

SH

<CR>

 

 
Response Format:  
 

Hx

<CR>

 

 

 

 

 

= “H” 

 

 

= State. 0 = On Hook; 1 = Off Hook 

Example: 
 

H0

<CR>

 

 

(Device of On-Hook) 

 
 

Status Time 

 
The “ST” command will return the current clock date/time. This can be useful if the program 
needs to confirm that the clock is correctly set.  
 
Command: 
 

ST

<CR>

 

 
Response Format:  
 

TYYMMDDWhhmmss

<CR> 

 

 

T   

= “T” 

 

 

YY  

= Year 

 

 

MM  

= Month 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 14

 

 

 

DD  

= Day 

 

 

= day of the week (Sunday is 1) 

 

 

hh 

= Hour 

 

 

mm 

= Minutes 

 

 

ss 

= Seconds 

 
Example: 
 

T0802263182346

<CR>

 

(Device clock is Feb 26 2008 at 18:23:46) 

 

Status Duration 

 
The “SD” command will return the status and current value of the Duration Counter. This 
can be useful if the program needs to obtain the duration of a call. 
 
Command: 
 

SD

<CR>

 

 
Response Format:  
 

DERCCdxxxxx

<CR>

 

 

 

= “D” 

 

 

= Display Enabled; 0 = no, 1 = yes 

 

 

R  

= Row ( 1 or 2 ) 

 

 

CC 

= Column ( 1 to 16 ) 

 

 

= Delimiter character 

 

 

= 5 digit duration in seconds. 

Example: 
 

D1101:00123

<CR>

 

Duration Counter is displayed at row 1 column 1 with a delimiter character of 
“:” and a value of 123 seconds.  
 

Status Cost 

 
The “SC” command will return the status and current value of the Cost Counter. This can be 
useful if the program needs to obtain the cost of a call. 
 
Command: 
 

SC

<CR>

 

 
Response Format:  
 

CERCCLDdSTTAAxxxxxxxx

<CR>

 

 

 

= “C” 

 

 

R  

= Row ( 1 or 2 ) 

 

 

CC 

= Column ( 1 to 16 ) 

 

 

= Length of the field 

 

 

= Decimal Places 

 

 

= Delimiter character. 

 

 

= Currency Symbol. 

 

 

TT  

= Time Period 

 

 

AA 

= Amount to Add or Subtract each time period. 

 

 

= 8 Character field with the total cost of the call(s). 

 
Example: 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 15

 

 

C10882.$153000000234

<CR> 

The Cost counter is being displayed at row 1, column 8, with a width of 8 
characters, 2 decimal places with a decimal delimiter of “.” and a currency 
symbol of “$”. The current cost setting is $0.30 every 15 seconds, and the 
actual total cost of the call is 234, which in my example would be $2.34 
 

 

Status Simple Cost 

 
The “SS” command will return the value of the Duration and Cost counters to quickly obtain 
the items required to bill the user for a call. 
 
Command: 
 

SS

<CR>

 

 
Response Format:  
 

Sxxxxx:yyyyyyyy

<CR>

 

 

 

S  

= “S” 

 

 

= 5 digit duration field with the total duration of the call(s) 

 

 

= “:” 

 

 

= 8 digit cost field with the total cost of the calls(s) 

 
Example: 
 

S00123:00000234

<CR> 

The duration is 123 seconds and the cost is 234 (in my example using dollars 
this would be $2.34) 

 
 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 16

 

Operational Examples:

 

 
To operate the device in the Standard Costing Mode, the following example illustrates the 
commands and responses that would typically be sent to handle a call. Assume: 

 

we will work in dollars with 2 decimal places to show dollars and cents.  

 

Each command and response listed below ends in a 

<CR>

. The example below has 

omitted the 

<CR>

 for simplicity 

 

Setup of CallShop Fone Display before user starts 

PC to Fone 

Display 

Command 

Fone Display to 

PC Message or 

Response 

 
Description 

l1 

^l 

Blank/Clear Line one of the LCD 

l2 

^l 

Blank/Clear Line two of the LCD 

T0802263182400 

^T 

Set the clock 

t1 

^t 

Display clock on Line 1 

M20307Ready.. 

^M 

Display the word “Ready…” on line 2 of the LCD display 

 

Caller places one call to 0113312345678 and a second call to 011441234567 

PC to Fone 

Display 

Command 

Fone Display to 

PC Message or 

Response 

 
Description 

 

H1 

Phone goes off hook 

t0 

^t 

Turn the clock display off 

l1 

^l 

Blank/Clear Line one of the LCD 

D101:C 

^D 

Display the Duration counter on line 1 at column 1 with a “:” delimiter 
and also clear it. The counter would look like 000:00 

C10982.$ 0000C 

^C 

Display the Cost Counter on Line 1 at Column 9. The counter will be 8 
characters in length, with a “$” at the start and a “.” two characters 
from the left. The cost is to be cleared.  The field will look like: 
$0000.00 
 
At this point the first line of the LCD will be displaying: 
000:00  $0000.00 

 

D0 

User Dials “0”; Destination Phone Number = “0” 

 

D1 

User Dials “1”; Destination Phone Number = “01” 

 

D1 

User Dials “1”; Destination Phone Number = “011” 

 

D3 

User Dials “3”; Destination Phone Number = “0113” 

 

D3 

User Dials “3”; Destination Phone Number = “01133” 

C10982.$ 3060 

^C 

Set cost of this call to be $0.30 every 60 seconds 

 

D1 

User Dials “1”; Destination Phone Number = “011331” 

 

D2 

User Dials “2”; Destination Phone Number = “0113312” 

 

D3 

User Dials “3”; Destination Phone Number = “01133123” 

 

D4 

User Dials “4”; Destination Phone Number = “011331234” 

 

D5 

User Dials “5”; Destination Phone Number = “0113312345” 

 

D6 

User Dials “6”; Destination Phone Number = “01133123456” 

 

D7 

User Dials “7”; Destination Phone Number = “011221234567” 

 

D8 

User Dials “8”; Destination Phone Number = “0113312345678” 

B1SR 

^B 

Begin the call. The cost counter will immediately add $0.30 to the total 
and so will display $0000.30 and the Duration Count is reset to 000:00 

 

H0 

Caller hangs up after a period of time. The Duration Counter shows 
001:31 (91 seconds) and the Cost Counter shows $0000.60 

B0 

^B 

Stop call. Stops both Duration Counter and Cost counter. 

 

H1 

 
Phone goes off hook 

 

D0 

User Dials “0”; Destination Phone Number = “0” 

 

D1 

User Dials “1”; Destination Phone Number = “01” 

 

D1 

User Dials “1”; Destination Phone Number = “011” 

 

D4 

User Dials “4”; Destination Phone Number = “0114” 

 

D4 

User Dials “4”; Destination Phone Number = “01144 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 17

 

C10982.$ 4560 

^C 

Set cost of this call to be $0.45 every 60 seconds 

 

D1 

User Dials “1”; Destination Phone Number = “011441” 

 

D2 

User Dials “2”; Destination Phone Number = “0114412” 

 

D3 

User Dials “3”; Destination Phone Number = “01144123” 

 

D4 

User Dials “4”; Destination Phone Number = “011441234” 

 

D5 

User Dials “5”; Destination Phone Number = “0114412345” 

 

D6 

User Dials “6”; Destination Phone Number = “01144123456” 

 

D7 

User Dials “7”; Destination Phone Number = “011441234567” 

B1S 

^B 

Begin the call. The cost counter will immediately add $0.45 to the total 
so the cost will now display $0001.05 and the Duration Count shows 
001:31. 

 

H0 

Caller hangs up after a period of time. The Duration Counter shows 
002:45 (145 seconds) and the Cost Counter shows $0001.50 

B0 

^B 

Stop call. Stops both Duration Counter and Cost counter. 

SS 

S00145:00000150 

The CallShop Fone Display reports a duration of 145 seconds and a cost 
of 150 cents ($1.50). 

l1 

^l 

Blank/Clear Line one of the LCD 

l2 

^l 

Blank/Clear Line two of the LCD 

T0802263182400 

^T 

Set the clock 

t1 

^t 

Display clock on Line 1 

M20307Ready.. 

^M 

Display the word “Ready…” on line 2 of the LCD display 

 

 

 

 

 

 

 

 

 

 

 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 18

 

Multiple CallShop Fone Display Installation 

 
 

For most Call Shops, the requirement is for more than a single booth. To simplify the 
installation, you can add a “

CallShop Concentrator

” to the system. This concentrator 

provides a single serial connection to the PC, to allow the PC software to control multiple 
CallShop Fone Display’s. 
 

A complete Call Shop Solution overview diagram is shown here: 

 

`

Dialtax PC

Cartridge 1

Cartridge 2

Cartridge 3

Cartridge 4

 Line 1 

 Phone 1

 Line 2 

 Line 3 

 Line 4 

 Line 5 

 Line 6 

 Line 7

 Line 8

M-AXS

Serial Port #1

 Phone 2

 Phone 3

 Phone 4

 Phone 5

 Phone 6

 Phone 7

 Phone 8

Concentrator

Serial Port # 2

 Cable 1

 Cable 2

 Cable 3

 Cable 4

 Cable 5

 Cable 6

 Cable 8

 Cable 7

$$$$$$$$

$$$$$$$$

$$$$$$$$

$$$$$$$$

$$$$$$$$

$$$$$$$$

$$$$$$$$

$$$$$$$$

Booth 1

Booth 2

Booth 3

Booth 4

Booth 5

Booth 6

Booth 7

Booth 8

Concentrator is 4 port, and can be linked 
together to provide 8 port systems

Combines 
 * AC Power
 * Phone connection and 
 * Serial data 
into a single cable

FoneDisplay(s)

Serial

Link

4 Port

Concentrator

Serial

+

Phone Line

+

Power

4 Port

Concentrator

Serial

+

Phone Line

+

Power

FD Power Adapters

FD Power Adapters

AC Power Adapter

AC Power Adapter

 

 

The 

CallShop Concentrator

 brings together into one place: 

a.

 

4 telephone lines  

b.

 

4 Fone Display AC Power Adapters 

c.

 

4 Serial Ports. 

 
If more than 4 Fone Displays need to be supported, the CallShop Concentrator includes a 
DownLink Serial port to connect the first Concentrator to a second Concentrator.


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 19

 

 

 
Although this picture above looks quite complicated, it is actually very simple once you 
understand it.  
 

 

First, the CallShop Concentrator provides a single serial connection to the PC. 

 

Second each Fone Display has only one cable connection from the phone booth, 
back to the Concentrator. (for example, see Port 1 Cable in the picture above) This 
cable includes 

a.

 

Serial Communications 

b.

 

AC Power 

c.

 

Telephone Line 

 

 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 20

 

 

 
The CallShop Concentrator has a 4 Line Telephone Jack. This jack adheres to the RJ61 
standard. Use an 8 wire Telephone Style Cable (

NOT A RJ45 NETWORK PATCH CABLE

to connect the Concentrator Telephone Jack to a RJ61 Standard Jack. Then connect up to 4 
phone lines according to the wiring below 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 

RJ61 Standard 

Pin 

Number 

Jack 

Color 

Function 

Typical 

Wire 

Color 

Blue 

Fone Display 4 Tip 

White/Brown 

Orange 

Fone Display 3 Tip 

White/Green 

Black 

Fone Display 2 Tip 

White/Orange 

Red 

Fone Display 1 Ring 

Blue/White 

Green 

Fone Display 1 Tip 

White/Blue 

Yellow 

Fone Display 2 Ring 

Orange/White 

Brown 

Fone Display 3 Ring 

Green/White 

Grey 

Fone Display 4 Ring 

Brown/White 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 21

 

The CallShop Concentrator has a total of 5 AC Adapter Jacks. The jacks labeled 

Port Power

 

1 to 4 are used to provide AC power (via the Fone Display Port Cable) to each Fone Display. 
The 5

th

 AC Adapter Jack is for powering of the Concentrator itself. 

 

The serial connection from the CallShop Concentrator to the PC is via a standard RJ45 
network patch cable and an RJ45 to DB9 adapter. This 

RJ45 to DB9 Adapter

 may be 

obtained directly from Telcom Research, or can be built from a generic adapter. The 
connection information for making your own adapter is below: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Because the CallShop Concentrator is communicating with multiple Fone Display’s, the 
single serial connection must be set much faster than the Fond Displays 2400 baud. The 
correct settings for the Concentrator are: 
 

9 Pin Concentrator Adapter

 

 

DB9 

Male

 or DB9 

Female

 

DB9  Signal 

Adapter 

Color 

Adapter 

Pin 

Number 

DCD 

N/C 

RXD 

Black 

TXD 

Yellow 

DTR 

 

GND 

Red 

DSR 

White 

N/C 

RTS 

N/C 

CTS 

Blue 

N/C 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 22

 

 

Baud Rate 

 

19200 

 

Data Bits 

 

 

Stop Bits 

 

 

Parity   

 

None 

 
The CallShop Concentrator handles buffering of data and baud rate conversion between the 
PC at 19,200 BPS and the Fone Displays at 2400 BPS. 
 
To expand the solution from 4 ports to 8 ports, simply obtain a 2

nd

 CallShop Concentrator, 

and (using a standard RJ45 Network Patch Cable) connect Concentrator 1’s Down Link Serial 
Jack to Concentrator 2’s UpLink Jack. Concentrator 2 will automatically handle port numbers 
from 5 to 10, instead of 1 to 4. 
 
 

CallShop Concentrator Protocol: 

 
Data commands and messages handled via the Concentrator are single strings of ASCII 
text. Each message starts with the ASCII character ETX (0x03 or ‘\3’). This is followed by 
the letter “P” and a 2 digit port number (01 to 99). 
 
The format is as follows:  
 

ETX

Pxxmm

<CR>

 

 
 

 

ETX 

= ASCII Character ETX – 0x03 or ‘\3’ 

 

 

= “P” 

 

 

xx 

= Port Number of 01 to 99 

 

 

mm 

= Message to pass to the selected port 

 

 

<CR>

  = End of message character 

 
For Example if you wish to send the message “Hello World” to the Fone Display on port 3, 
you would send the following to the concentrator at 19200 baud: 
 

ETX

P03M10311Hello World

<CR> 

 
The Concentrator will take this message, strip off the “

ETX

P03” header and pass the 

remainder of the message “M10311Hello World

<CR>” 

to the Fone Display on port 3 at 2400 

baud. 
 
In response the Fone Display will send back to the Concentrator at 2400 baud the response: 
 

^M

<CR>

 

The concentrator will add the string “

ETX

P03” to be front of this message as a header and 

pass the result “

ETX

P03^M

<CR>

” to the computer at 19200 baud. 

 
This simple header of 

ETX

Pxx added to the front of all messages to and from the Fone 

Displays allows the PC software to easily communicate with multiple Fone Displays using a 
singe COM port. 
 
The following is a “C” code example of how you might add this header to Fone Display 
Messages. 
 
void WriteToFDviaConcentrator( char * pFDMessage, int iPortNumber ) 
{  

 

 

char buf[ 128 ]; 


background image

A7- 3375 North Service Road, Burlington ON Canada L7N 3G2 

 

 

Phone 

 +905.336.2450 

Fax 

+647-436-6954 

Web 

www.telcomresearch.com 

 

 

Page 23

 

 

 

 

sprintf( buf, "\3P%02d%s", iPortNumber, pFDMessage, ); 

 

WritetoConcentrator( buf );   

// Function to send data at 19200 baud