|
|
|
Copyright
All rights to this publication are reserved. No part of this publication may be copied, reproduced, transmitted or stored in any form or by any means (including electronic, mechanical, photocopying, recording, or otherwise) without prior written permission from The DPL Group.
Disclaimer
Whilst all reasonable care has been taken to ensure that the description, opinions, listings and diagrams are accurate and workable, The DPL Group does not accept any legal responsibility or liability to any person, organization or other entity for any direct loss, consequential loss or damage, however caused, that may be suffered as a result of the use of this publication.
Document: CPI-101 User’s Manual Number: CPM-001 Version: 2 Date: 28 January 2002
Federal Communications Commission (FCC) Statement
This equipment complies with Part 68 of the FCC rules. On the bottom of this equipment is a label that contains, among other information, the FCC registration number and ringer equivalence number (REN) for this equipment. If requested, this information must be provided to the telephone company. WARNING: This equipment is only to be used with a Nortel DMS-100 type CO Switch. Do not connect to any POTS line. Consult your local carrier to ensure compatibility with CO equipment. This device requires a USOC or RJ-11 type modular jack which is connected to a Meridian Digital Centrex (MDC) line. MDC is also compatible with the Meridian Business Set (MBS), M5000 series telephone sets and P-phones. Another term for this line type is Electronic Business Service (EBS). The REN number is not directly applicable. Only one CPI-101 unit is permitted per MDC type line. If the CPI-101 causes harm to the telephone network, the telephone company will notify you in advance that temporary discontinuance of service may be required. But if advance notice isn’t practical, the telephone company will notify the customer as soon as possible. Also, you will be advised of your right to file a complaint with the FCC if you believe it is necessary. The telephone company may make changes in it’s facilities, equipment, pertains, or procedures that could affect the operation of the equipment. If this happens, the telephone company will provide advance notice in order for you to make the necessary modifications in order to maintain uninterrupted service. If trouble is experienced with the CPI-101, please contact The DPL Group in Canada at 1800-561-8880 or (506) 635-1055 for repair and warranty information. If the trouble is causing harm to the telephone network, the telephone company may request you remove the equipment from the network until the problem is resolved. There are no user serviceable parts inside the CPI-101. NOTICE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a residential or commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the user’s manual, may cause harmful interference to radio communications.
Equipment Attachment Limitations
NOTICE: The Industry Canada label identifies certified equipment. This certification means that the equipmentmeets telecommunications network protective, operational and safety requirements as prescribed in the appropriate Terminal Equipment Technical Requirements document(s). The Department does not guarantee the equipment will operate to the user’s satisfaction. Before installing this equipment, users should ensure that it is permissible to be connected to the facilities of the local telecommunications company. The equipment must also be installed using an acceptable method of connection. The customer should be aware that compliance with the above conditions may not prevent degradation of service in some situations. Repairs to certified equipment should be coordinated by a representative designated by the supplier. Any repairs or alterations made by the user to this equipment, or equipment malfunctions, may give the telecommunications company cause to request the user to disconnect the equipment. Users should ensure for their own protection that the electrical ground connections of the power utility, telephone lines and internal metallic water pipe system, if present, are connected together. This precaution may be particularly important in rural areas. CAUTION: Users should not attempt to make such connections themselves, but should contact the appropriate electric inspection authority, or electrician, as appropriate. NOTICE: The Ringer Equivalence Number (REN) is not directly applicable for this device. Only one CPI-101 unit is permitted per MDC type line.
Safety Guidelines Power
The CPI-101 is shipped with its own power adapter. Do not use any other power adapter assembly with this device. Route all wires safely where they will not be stepped on or accidentally pulled out of the socket. Do not attempt to open the CPI-101. There are no user serviceable parts inside. Opening the CPI-101 will void all warranties.
Table of Contents Getting StartedIntroduction Identifying Components Front View Equipment Supplied Introduction Physical Characteristics EBS Signaling Channel DTMF Receiver Specifications Call Progress Detector Specifications Introduction Equipment Required Installation Introduction Command Set From PC to CPI-101 Configuration Commands Basic Call Transfer Example Program Suggestions Introduction Data Integrity and Reliability Introduction Warranty Introduction Appendix A – EBS Command Set (HEX Codes) Appendix B – EBS Code Structure Appendix C – Command Set Quick Reference Appendix D – Configuration Commands Quick Reference Appendix E – CPI-101 Response Packets Quick Reference Appendix F – Sample EBS Code Listing Appendix G – EBS Codes List Chapter 1
Introduction
Congratulations on your purchase of the DPL Telecom Techniques’ CPI-101 Computer-to-P-Phone Interface device. Much consideration has gone into the design of the CPI-101 to make it as ergonomic, convenient, and as easy to use as possible. Your new CPI-101 features the most innovative advances in asset monitoring technology. It will provide you with many years of useful service. This Owner’s Manual is provided to help you get the most out of your new investment. It describes each of the CPI-101’s features in an easy-to-read and thorough manner. The primary goals of this chapter are to provide a quick reference of the CPI-101 functions. This chapter begins with an overview of the CPI-101.
The CPI-101 interfaces a Northern Telecom DMS-100 Centrex EBS telephone line to a computer system. It allows complete computer control of an EBS line. The computer can originate and answer telephone calls using the CPI-101. The high impedance CPI-101 is designed to operate on an EBS line with an EBS telephone on the same line.
The CPI-101 allows a computer to:
The CPI-101 has an energy detector that enables the computer to determine which of the call progress tones is present on the line. The CPI-101 consists of one line interface circuit and provides connections for the power supply, serial communications, an EBS telephone line, and an EBS telephone.
Identifying Components
Refer to the text and diagrams to identify all the external components of the CPI-101 device.
Front View
1 – RS-232C Serial Port 2 – Connection to telephone company jack 3 – Connection to the telephone 4 – LED indicator for activity 5 – AC adapter jack 6 – LED indicator for power
Equipment Supplied
The following items are included in your package. If any items are missing, please contact your distributor for immediate replacement. 1 – CPI-101 1 – Owner’s Manual 1 – DB9 male to DB9 female communications cable 1 - DB9 to DB25 adapter 1 – AC Power Adapter 1 – 6 conductor telephone cable 2 – #8 wood screws Chapter 2 Introduction
This chapter will describe the specifications for all of the features of the CPI-101. The specifications indicate the maximum and minimum voltages required for all inputs/output, and main power.
Physical Characteristics
Power Adapter : UK option: Input 230 V ~, 50 Hz UK option: Output 15 V ~, 250 mA Canada and USA option: Input 120 VAC, 60Hz Canada and USA option: Output 16 VAC, 250mA Case: Zinc chromate plated steel, painted 2 tone ivory, with 2 screw tabs Weight: 780g (1.7 lb.) Size: 170mm L x 145 mm W x 53mm H (6.7" L x 5.7" W x 2.1" H) Operating Temperature: 10°C to 40°C (50°F to 104°F) Storage Temperature: 0°C to 70°C (32°F to 158°F) Maximum Altitude: 2000 Meters EBS Line Connection: Modular jack EBS Telephone Connection: Modular jack Serial Data Connector: DB9 female
EBS Signaling Channel
8 kHz +/- 1.5% ASK into 900ohm, 1 kbits/s Transmit: 1.15 V p-p +/- 0.2 V p-p into an EBS line and EBS telephone. Receive: 1.3 V p-p to 50 mVp-p. Range: 7.1-9.0 kHz Loop attenuation at 8 kHz from line card to CPI-101: 22 dB maximum (CPI inserts 2 dB of loss) Impedance: greater than 25 kohm at 1 kHz
DTMF Receiver Specifications
Amplitude for detection: -33 to -7 dBm/tone. Frequency tolerance: +/- 1.5% fo + 2Hz, minimum, +/- 3.5% fo maximum Dial tone tolerance: 22 dB Tone present detect time: 45 ms minimum Tone absent detect time: 40 ms minimum
Call Progress Detector Specifications
Amplitude for energy present detect (320-510Hz): -30 to 0 dBm
Chapter 3 Introduction
This chapter will describe the steps required to install the CPI-101 hardware unit.
Equipment Required
1. A computer of any type that has a 9 or 25 pin RS232C communications port capable of communicating at 9600 baud.
2. Software to control the CPI-101 through the communications port. Any communication package should be sufficient for preliminary testing of the CPI-101.
3. EBS/Centrex line. A typical line configuration to allow the CPI-101 to read incoming CLID and perform call transfers is to have an incoming number on key 1, the display enabled, and 3-way call conference on a feature key.
4. EBS telephone with display.
Installation
Connect the incoming EBS line to the modular jack labeled 'Telco'. Connect an EBS telephone to the 'Phone' modular jack. Do not connect a POTS line to the CPI-101.
Connect the power adapter to the 'Power' jack on the CPI-101. When the unit is powered up, the POWER LED will flash four times and then stay on. When an incoming call is detected by the CPI-101, the LINE LED will be turned on. It will be turned off again when the call is terminated.
Connect the serial communication cable to the 9 pin jack on the CPI-101 and to the serial port of the controlling computer. The serial communications protocol is 9600 baud, 8 data bits, 1 stop bit, and no parity. Communication is performed in ASCII. The cable is a 9 pin female to 9 pin male cable with pins 2,3,4,5,6,7,8 connected to 2,3,4,5,6,7,8 respectively. Pins 1 and 9 are not used and connection is optional. Pins 6, 7 and 8 are connected together at the CPI-101. Hardware handshaking is not supported by the CPI-101.
Chapter 4 Introduction
This chapter describes how to get started using the CPI-101, and how to interpret the LED indicators. DPL Telecom Techniques does not currently offer software for the CPI-101 unit. Users must write their own code for controlling the CPI-101 or contact DPL Telecom Techniques for assistance in locating software vendors.
Command Set From PC to CPI-101
The commands listed below are the commands the computer system can send to the CPI-101. The CPI-101 command set is case sensitive. All command strings sent to the CPI-101 must be terminated with a carriage return or an end of text character. Key Press Commands
Purpose: To simulate pressing any key on an EBS telephone. Format: P01X, where X is one of the following commands. 0 - 9 = Simulate pressing dial pad key 0 to dial pad key 9. * = Simulate pressing key pad *. # = Simulate pressing key pad #. A - J = Simulate pressing feature key 1 to feature key 10. W = Simulate pressing the hold key. R = Simulate pressing the release key. Example: To simulate pressing the hold key, the command is: P01W Note: More than one command can be sent in one P01 string. The <COMMAND STRING> must not be more than 30 characters in length. Example: P015510112 will simulate pressing the digits to dial the number 5510112.
Timing Commands
Purpose: To set "one time only" delays between EBS codes. Commands: - (minus) = Delay before executing next command. Check for DTMF during delay (if DTMF reception was previously enabled) and report any received digits to the computer. Format: P01<command>-NN<command>, where NN is the hex value of the delay ( 01h - FFh is 10-2550 milliseconds). Note: The format for the time argument is NN. If the argument value is less than 10h, both digits must be entered. For example, 7 would have to be entered as 07. Example: The command: P013-0A4 will cause the CPI-101 to dial the digits 3 and 4 with a 100 millisecond delay between them. Any DTMF detected during this 100 millisecond delay will be reported to the controlling computer (assuming DTMF reception was previously enabled). . (period) = Delay before executing next command. Do not check for DTMF during delay. Format: P01<command>.NN<command>, where NN is the hex value of the delay ( 01h - FFh is 10-2550 milliseconds). Example: The command: P013.0A4 will cause the CPI-101 to dial the digits 3 and 4 with a 100 millisecond delay between them. Any DTMF detected during this 100 millisecond delay will not be reported to the controlling computer. X = 1/4 second delay, do not report DTMF Y = 1/2 second delay, do not report DTMF Z = 2 second delay, do not report DTMF Example: P011X2X3 This command will transmit the EBS digits with a quarter second delay between each digit. During this delay, the CPI-101 will not report any DTMF received. Purpose: To set "permanent" time delays between EBS codes. ? = Sets the delay between EBS commands sent by the CPI-101. Format: P01?NN, where NN is the hex value of the delay in milliseconds. The CPI-101 takes thirty milliseconds to transmit an EBS code. The delay value specified by this command is added to thirty milliseconds to form the total time per EBS code. The default value is 150 milliseconds. The following commands are similar in function to the ? command except that they set the EBS delay to predefined values. a = EBS delay = 145 milliseconds b = EBS delay = 115 milliseconds c = EBS delay = 90 milliseconds d = EBS delay = 70 milliseconds e = EBS delay = 55 milliseconds f = EBS delay = 40 milliseconds g = EBS delay = 30 milliseconds h = EBS delay = 20 milliseconds i = EBS delay = 15 milliseconds j = EBS delay = 10 milliseconds Example: P01b This command will set the delay between transmitting EBS codes to 115 milliseconds. This time is added to the 30 milliseconds required by the CPI-101 to transmit an EBS code to give a total time per EBS code of 145 milliseconds. Note: The settings made using the ? and a – j commands can be saved in permanent memory using the EEP command. See section 4.1.3. Note: The -,.,X,Y,and Z commands cause single delays each time they are issued. The ? and a - j commands set a permanent delay between EBS codes. If the -,.,X,Y, and Z commands are used, their delay time will be added to the permanent delay already set. The permanent delay is, by default, 150 milliseconds. The smallest delay that can be set is 01 milliseconds. This is done by issuing the command P01?01. Northern Telecom specifications state that no more than 6 codes per seconds may be sent to the Central Office. Although the CPI-101 is capable of sending codes at a faster rate, proper data transfer cannot be ensured if the codes are sent faster. Note: By default the ? and a-j commands apply to any serial command sent to the CPI-101, regardless of whether the command represents an EBS code to be sent or, for example, a command to turn on DTMF reception. To set these commands to apply to only EBS commands, see Section 4.1.3 (n,o).
Feature Control Commands
Purpose: To enable and disable the various features of the CPI-101. Format: P01<command>, where <command> is one of the following commands. K = DTMF reception disable (default) L = DTMF reception enable Note: The settings made using the K and L commands can be saved in permanent memory using the EEP command. See Section 4.1.3. > = Timed energy detection (also called "call progress") enable. This command causes the state of the energy detection to be sent to the host computer every 1/4 second, or whenever the energy detection state has changed. The call progress is disabled by the Q command (see Section 4.1.1.6). If DTMF detection was enabled before call progress detection was enabled, any DTMF digit detected will be reported and will cancel the call progress detection. If DTMF reception was disabled, the DTMF energy may be reported as call progress energy detected.
EBS Transmission Control Commands
These commands control the characteristics such as address of the EBS codes sent by the CPI-101. Note: See Appendix B for a complete explanation of EBS code structure. Note: An EBS command is 8 bits. An EBS code is the full 16 bits containing the command, direction, address, parity, etc. w = Send any EBS code to Central Office from address 0. Format: P01wX, where X is an ASCII character which represents the hexadecimal value of the EBS code to be sent. x = Send any EBS code to the Central Office from address 1. Format: P01xX, where X is an ASCII character which represents the hexadecimal value of the EBS code to be sent. y = Send any EBS code to the Central Office from address 2. Format: P01yX, where X is an ASCII character which represents the hexadecimal value of the EBS code to be sent. z = Send any EBS code to the Central Office from address 3. Format: P01zX, where X is an ASCII character which represents the hexadecimal value of the EBS code to be sent.
EBS Reception and Data Reporting Control Commands
These commands control which received EBS codes will be reported to the controlling computer. Format: P01<command>, where <command> is one of the following commands: S = Disable extra caller ID reporting (default) T = Enable extra caller ID reporting "Extra caller line ID" is all of the information normally sent to the display of an EBS phone, and is not reported in the regular caller line ID Packet ("C" packet). This includes the echo back of the dialed string, and information such as the word 'CONFERENCE'. Extra Caller line ID is reported in an "E" packet. Note: For "C" and "E" packet descriptions, see Sections 4.1.2.3 and 4.1.2.5. Note: The settings made using the S and T commands can be saved in permanent memory using the EEP command. See section 4.1.3. q = Disable K packet reporting for address 0. r = Enable K packet reporting for address 0. s = Disable all K packet reporting. (default) t = Enable address 1 K packet reporting. u = Enable address 2 K packet reporting. v = Enable address 3 K packet reporting. Note: The settings made using the q to v commands can be saved in permanent memory using the EEP command. See section 4.1.3. By default the CPI-101 will only report information sent from the Central Office to address 0, key 1. The above commands allow the CPI-101 to report information sent to other keys on address 0 as well as any key on address 1, 2, or 3. Addresses 1, 2, and 3 are "add-ons". When enabled, this information is sent to the controlling computer in "K" packets. For "K" packet descriptions see Section 4.1.2.6. Enabling K packets on a particular address does not mean the CPI will acknowledge codes sent from the central office to that address or respond to central office diagnostics. To enable acknowledgements and diagnostic responding ("Echoing") see the c configuration command (Section 4.1.3). k = Enable B packet reporting. l = Disable B packet reporting. (default) By default the CPI-101 will only report direction 1 EBS codes (from CO to phone). When B packet reporting is enabled the CPI-101 will report direction 0 EBS codes (from phone to CO). Note: See section 4.1.2.2 for B packet description. Note: The settings made using the k and l commands can be saved in permanent memory using the EEP command. See Section 4.1.3.
System Status Request Commands
Format: P01<command> where <command> is one of the following commands: p = Hardware type request. When issued, this command will return the hardware type in an "L" packet. Note: See Section 4.1.2.7 for L packet description. Q = CPI-101 operational verification. When issued, this command verifies that the line controller is responding to the controlling computer. If the CPI-101 is operating properly, an "A" packet will be returned to the computer. This command does not verify that a valid EBS line is connected to the CPI-101, only that the CPI-101's microprocessor is operating. Example: Computer to CPI-101: P01Q CPI-101 to Computer: A01 (if microprocessor for line card is operational). Note: See Section 4.1.2.1 for further description of "A" packets. V = Line controller version number request. This command will return to the computer a "V" packet which will contain the firmware version of the line controller. Note: See Section 4.1.2.11 for further information on "V" packets. = = Host controller version number request. This command will return to the computer a "v" packet which will contain the firmware version of the host microprocessor. Note: See Section 4.1.2.12 for further information on "v" packets. @ = LED control This command is used to turn the line status indicator LED on or off. The on and off commands are sent using the @N and @O commands respectively. Note: The LED is automatically turned on when the Key 1 Flash or Key 1 On EBS code is received from the Central Office. It is automatically turned off when a Save Indicator Reset is received from the Central Office. All automatic control of the LED will still take place. Therefore, if the controlling computer sends P01@N, the LED will go on, but if a Save Indicator Reset is received, the LED will go off. (Save Indicator Resets are normally received every 2-5 minutes on an idle line.) ^ = Enable EBS telephone hand set _ = Disable EBS telephone hand set These commands send codes to the phone instead of the Central Office. They are intended to be used when the operator is using a head set connected to the EBS telephone. During a call conference, it may be desirable to disable the headset to eliminate noise in the operator's ear caused by EBS code transmission. Note: If these commands are issued while a voice path is established a DTMF digit will be heard by one or both parties.
CPI-101 To PC Information Reporting
This section describes the information sent from the CPI-101 to the computer system. All of the information sent from the CPI-101 is sent in packets. Line Acknowledgment Reporting – A Packet
Purpose: To indicate that a dial string has been sent to the Central Office. To receive this packet, the last command in the dial string must be a dialable character. Format: A01 Example: Computer to CPI-101: P015510112 Computer sends command to dial number 551- 0112. CPI-101 to computer: A01 CPI-101 indicates that dial string has been transmitted. This packet will also be received in response to a P01Q command, but then it only verifies the status of the line controller.
Phone to Central Office Codes Reporting – B Packets
Purpose: To report direction 0 codes to the computer. Format: B01ANN, where A represents the address from which the EBS code was sent. NN represents the EBS command code which was sent. Caller ID Reporting – C Packets
Purpose: To report Caller line ID information from the telephone line to the controlling computer. Format:C01<CLID FROM DISPLAY> A "C" packet contains the incoming Caller ID. The data in the packet may be up to 48 characters long. The Caller ID is information which appears on the EBS telephone's display. Note: While the primary line (Line 1) is idle, display information is sent to the computer in C packets. If the primary line is active, display information is sent to the computer in E packets. See Section 4.1.2.5 for details on E packets.
DTMF Digit Reporting – D Packets
Purpose: To report the detection of any DTMF digit on the telephone line. Format: D01<DIGIT> Where <DIGIT> is an ASCII character representing the digits 0-9 or #,*,A,B,C,or D received.
Extra Caller ID Reporting – E Packets
Purpose: To report display information that is sent by the Central Office after the CPI-101 answers an incoming call. Format: E01<CLID>, where <CLID> represents the display information. CONFERENCE is an example of the type of information contained in an "E" packet. Key Status Reporting – K Packets
Purpose: To report address 0 codes other than key 1. It also reports codes sent to keys on addresses 1, 2, or 3. Format: K01ANN, where A represents the address to which the EBS code was sent. NN represents the EBS command code which was sent. Hardware Type Reporting – L Packets
Purpose: To report the current hardware type. Format: L01NN, where NN is the hardware type. Note: See Appendix F for a list of hardware types.
Energy Detection and Loss Reporting – N & M Packets
Purpose: To report the detection and loss of energy (along with a corresponding time stamp) on the telephone line. Format: N01NN and M01NN If energy detection reporting has been enabled, an N or M packet will be sent whenever a change in state of the energy on the line has occurred, or every 250 milliseconds if no change in energy has been detected. An N packet indicates that energy is now detected. An M packet means that energy is now lost. NN represents the time elapsed since the last energy state report. NN is expressed as a hexadecimal number ranging from 01h (1 millisecond) to FAh (250 milliseconds). Using these packets, the controlling computer will be able to determine which call progress tone is present on the phone line. In the following example, energy detection was enabled on line 01 at time = 0 mS.
A - M0101 Energy detection enabled. B - M01FA First report: no energy detected for 250 ms (250=FAh) C - N0132 Energy detected, 50 ms since last report (50=32h) D - M0164 Energy lost, 100 ms since last report (100=64h) E - N0164 Energy detected, 100 ms since last report F - N01FA Energy detected, 250 ms since last report G - M0132 Energy lost, 50 ms since last report
EBS Code Transmit Status Reporting – R Packets
Purpose: To report the status of the last code transmitted by the CPI-101. Format: R01<Code status>, where <Code status> is one of the following characters: A = The last transmitted code was acked. N = The last transmitted code was not acked. C = A collision occurred in the last transmission attempt. R packets are enabled and disabled using the | and ~ configuration commands. See section 4.1.3. Note: An R packet will be received for every code sent by the CPI-101 to the central office. For example, if a code sent by the CPI-101 was not acknowledged on the first attempt and the CPI-101 repeated the code (assuming the repeated code was acked), the following packets would be received for one code transmission: R01N R01A Primary Line Status Reporting – S Packets
Purpose: To report Feature Key 1 (address 0) indicator status from the telephone line to the controlling computer. Format: S01<Key 1 STATUS>, where <Key 1 STATUS> is one character in length representing the following information: N = Key On, Line is active. O = Key Off, Line is inactive. (This may occur during conference.) F = Key Flash, Incoming call detected on primary line (Key 1). W = Key Wink, Caller is on hold. This occurs during conference. S = Save Indicator Reset was sent from the Central Office.
Line Controller Version Reporting – V Packet
Purpose : This packet is a response packet to a line controller version request.Format: V01NN, where NN is a hexadecimal digit representing the version number of the line controller's firmware.
Master Controller Version Reporting – v Packets
Purpose: This packet is a response packet to a host controller version request. Format: v01NN, where NN is a hexadecimal digit representing the version number of the firmware for the host microprocessor.
Configuration Commands
The CPI-101 comes with factory default configurations. The user can reconfigure many of the operating parameters and store them in the permanent memory. (See EEP configuration command). The factory default configurations can be restored at any time by issuing the command: P01(!5EEP$). A configuration command is issued in the same manner as a normal command except that the arguments are enclosed with parenthesis ( ). Format: P01(configuration command)<CR> All of the configuration data can be stored in the CPI-101's permanent memory using the (EEP) command. Then the unit can be soft or hard reset. A soft reset is accomplished by using the $ configuration command. A hard reset is accomplished by powering the unit down and back up again. $ Performs a soft reset on all microprocessors in the CPI-101. This command may take up to ten seconds to execute. To verify that the command has been executed, issue the following command: P01Q. If the CPI-101 responds with A01, then the reset has been completed. If the CPI-101 does not respond with A01, re-issue the P01Q command until the unit responds properly. Note: This command will cause the CPI-101 to reload the settings stored in permanent memory. EEP When used by itself, this command will write the current configurations to the host's permanent memory. If it is used in a string with other configuration commands, it should be placed at the end of the string. The only configuration command that should follow an EEP command is a soft reset command $. This command may only be used 10000 times before the permanent memory becomes unreliable. 1-8 Configure the number of times the CPI will transmit an EBS code to the Central Office. The code will only be resent if the Central Office does not acknowledge the code. The Northern Telecom specification is twice and this is the default value in the CPI-101. Commands between 1 and 8 are valid. C,V Configure "C" packet reporting. V = Send only first C01 packet C = Send all C01 packets (default) L,K Sets the status of the line feed termination for packets sent from the CPI-101 to the computer. L = Enable sending <LF> after each packet (default). K = Disable sending <LF> after each packet. N,M These commands enable and disable a 200 millisecond wait that takes place after an EBS code is transmitted by the CPI-101. During this wait, any DTMF detected by the CPI-101 will not be reported to the controlling computer. The Central Office may "DTMF echo" EBS dial pad key codes issued after a voice path has been established. The purpose of this command is to prevent the CPI-101 from reporting this echoing to the controlling computer. M = Enable 200 millisecond wait with no DTMF reporting (default). N = Disable 200 millisecond wait. This configuration sets the 8 kHz transmission level. This command can reduce audible clicking sounds on short loops. Format: P01(ONN), where O is the uppercase letter O and NN is a value between 01 and 03 which represents which level the 8 kHz EBS codes are to be transmitted at. 01 = 0.29 Vp-p 02 = 0.58 Vp-p 03 = 1.15 Vp-p (default) S,T Configure reporting of Save Indicator Reset status packets. S = Save indicator reset will be reported as a S01S packet. T = Save indicator reset will not be reported (default). X,Y Packet termination (framing) configuration. X = carriage return packet termination. Y = STX and ETX packet framing (default). c Acknowledgement and Diagnostic control Format: P01(cNN), where NN is a two digit hexadecimal number representing the address(es) to enable acknowledgements and diagnostic responding on. Each of the eight bits in the two decimal hex number represent an address. The MSB (bit 7) represents address 7, and the LSB (bit 0) represents address 0. For example, to enable acknowledgements and diagnostic responding on addresses 1 and 3, the command would be as follows: P01(c0A) – 0A hex = 0000 1010. (bits 1 and 3 are set). Note: By default the CPI-101 List 1 does not acknowledge codes or respond to central office diagnostics on any address. n,o Command processing delay configuration. This applies to the delay defined by the ? and a to j commands. n = Delay before executing any command. o = Delay only before executing EBS code transmission commands (default). Note: This configuration is available to offer compatibility with older CPI-112s which delay before executing all commands. v,u K packet configuration. These commands control the amount and type of information sent to the computer in K packets. u = Allow all non-processed codes including some display information to be sent as K packets (default). v = Sends only the key status information. @,^ Line status LED power up (reset) configuration. @ = Flash LED and search for an EBS line upon power up or reset. ^ = Do not flash LED and search for an EBS line upon power up or reset (default). Note: The CPI-101 searches for an EBS line by sending out Release codes and watching for a Save Indicator Reset to be sent from the Central Office. |,~ EBS code transmission status reporting configuration (R packets, see section 4.1.2.9). | = enable R packets ~ = disable R packets (default) Basic Call Transfer Example
The following is a valid working example that may be executed manually using a communications program (such as Windows Terminal), assuming that Key 7 "G" is set up by the local telephone company as a 3-way conference key. The sequence of events for transferring a call is as follows:
From CPI: S01F CPI reports key 1 flash sent from Central Office From CPI: C015555555 Incoming caller id (verified or rejected by computer software) To CPI: P01LA Enable DTMF reception and answer the call (key 1) From CPI: S01N Response indicating key 1 on (answered) From CPI: D013 DTMF 3 received From CPI: D015 DTMF 5 received To CPI: P01G Press key 7 (conference - 3 in this case) From CPI: S01W Response indicating caller is on hold To CPI: P0135 Dial 35 (internal transfer) From CPI: A01 CPI is finished dialing To CPI: P01G Connect caller to destination From CPI: S01N Signals that all three lines now connected; occasionally the CO will send a Wink, in which case the conference must be canceled and performed again. To CPI: P01R Release the CPI from conference (hang up) From CPI: S01O Key 1 off, CPI released from call, the transfer is complete
Program Suggestions
P01 strings must be limited to a maximum length of 34 total characters (excluding line feed or carriage return). Should a dial string be more than 30 characters in length, place it in two separate "P" packets and wait for an "A" packet before sending the second dial string. Applications programs written to control the CPI-101 should ideally behave as the above example, cycling through different states for each response from the Central Office. Using this sort of state logic is the best way to maintain reliable processing with the CPI-101. Each different application of the CPI-101 will require some custom PC programming. In order to determine the proper changes of states and necessary responses for a given application, a communications program should be used, and the application carried out manually, noting the responses from the CPI-101. The program should handle all obscure possibilities, including the following examples which are typical of a Central Office: A caller may hang-up mid-call. The Central Office may be busy and not recognize the conference key press. (The Central Office will send back a second S01W instead of S01N.) Key 1 Off may be sent between CLID transmissions by the Central Office, (but the Save indicator reset (S01S) is not).
Chapter 5 Introduction
This chapter makes a disclaimer statement with respect to data integrity and reliability collected by the CPI-101 from the phone network.
Data Integrity and Reliability
The CPI product line requires software and a serial link to a computer to control the EBS line. Since the CPI product l ine is an open architecture system and allows many parameters to be altered, The DPL Group can not be held responsible for end product use. The customer must fully test any application it chooses to use to control the CPI product. Any suggestions of software vendors by The DPL Group is not to be taken as an endorsement or warranty of the third party company, their software or their business practices. Line problems are beyond The DPL Group's control. These may include, but are not limited to, the following. (1) Line attenuation problems due to condensation, insulation breakdown or other reasons. (2) Central Office problems which may include the inadvertent, whether malicious or otherwise, disabling of EBS lines for a time period or indefinitely. (3) The inability of the telephone company to provide EBS service in some areas. This includes the availability of line features and the order in which the digital codes are sent from the central office. It is known that various CO's send their codes in differing orders in order to accomplish the same task. (4) The inability of the Central Office switch to process commands at the rate of speed in which they are sent. The value of 6 codes per second may need to be elongated during peak traffic periods and key state changes closely monitored to act as an acknowledgement for keys issued. This is especially true when the three-way conference CO feature is used. The CPI also allows the digital code pacing value to be increased and decreased. (5) The reception of DTMF, in products where this applies, is subject to line quality, the accuracy of the generating device and the presence of any noise or audio on the line.
Chapter 6 Introduction
This chapter describes The DPL Group’s limited product warranty procedure.
Warranty
STANDARD WARRANTY: The DPL Group guarantees equipment of its manufacture and each part or component thereof against all defects and/or workmanship and agrees to remedy any such defect at no charge provided that the defective unit is returned transportation prepaid to The DPL Group factory from which shipment was made. The repaired product will then be shipped back to the customer prepaid by The DPL Group. This warranty extends for a period of three (3) years from the date of purchase. In no case shall The DPL Group or any of its divisions be liable for any incidental or consequential damages. This warranty does not extend to products that have been subject to neglect, accident or improper use, improper installation, nor to products that have been altered by other than The DPL Group authorized personnel. Failure to follow proper installation procedures will void this warranty.
RETURN OF PRODUCT: A Return Material Authorization (RMA) number MUST be obtained from The DPL Group before shipping and be displayed clearly on the shipping label. Call 1-800-561-8880 or 1-506-635-1055 and ask for the Repair Department.
Chapter 7
Introduction
This chapter describes all the command sets used by the CPI-101 and the phone system.
Appendix A – EBS Command Set (HEX Codes)
Indicator status for address 0 (primary set) are listed below. These codes are received by the CPI-101 from the Central Office, and sent to the host computer in K packets (K010XX). Code Direction Description 01 From CO Key 2 off 02 From CO Key 3 off 03 From CO Key 4 off 04 From CO Key 5 off 05 From CO Key 6 off 06 From CO Key 7 off 07 From CO Key 8 off 13 From CO Key 9 off 19 From CO Key 12 off 1A From CO Key 13 off 1B From CO Key 14 off 1E From CO Key 10 off 1F From CO Key 11 off 21 From CO Key 2 wink 22 From CO Key 3 wink 23 From CO Key 4 wink 24 From CO Key 5 wink 25 From CO Key 6 wink 26 From CO Key 7 wink 27 From CO Key 8 wink 33 From CO Key 9 wink 39 From CO Key 12 wink 3A From CO Key 13 wink 3B From CO Key 14 wink 3E From CO Key 10 wink 3F From CO Key 11 wink 41 From CO Key 2 flash 42 From CO Key 3 flash 43 From CO Key 4 flash 44 From CO Key 5 flash 45 From CO Key 6 flash 46 From CO Key 7 flash 47 From CO Key 8 flash 53 From CO Key 9 flash 59 From CO Key 12 flash 5A From CO Key 13 flash 5B From CO Key 14 flash 5E From CO Key 10 flash 5F From CO Key 11 flash 61 From CO Key 2 on 62 From CO Key 3 on 63 From CO Key 4 on 64 From CO Key 5 on 65 From CO Key 6 on 66 From CO Key 7 on 67 From CO Key 8 on 73 From CO Key 9 on 79 From CO Key 12 on 7A From CO Key 13 on 7B From CO Key 14 on 7E From CO Key 10 on 7F From CO Key 11 on The following codes are Reset codes which may be sent from the Central Office. Code Direction Description 08 From CO Soft Reset 48 From CO Save Indicator Reset 68 From CO Hard Reset The following codes are Display Circuit Commands which may be sent by the Central Office Code Direction Description A9 From CO Clear Working Buffer AD From CO Clear Display 89 From CO Clear Working Buffer_Line 0 99 From CO Clear Working Buffer_Line 1 9B From CO Enable Digit Echoing – Type 1 AB From CO Enable Digit Echoing – Type 2 B9 From CO Clear Working Buffer in 12 Seconds 8C From CO Disable Display Cursor 8B From CO Disable Display Echoing 8D From CO Disable Display 98 From CO Power Down Display 9D From CO Enable Display 9C From CO Enable Display Cursor 88 From CO Display Reset BB From CO Resume Digit Echoing B7 From CO Transmit Display Status A5 From CO Working Buffer Cursor to P0 B5 From CO Working Buffer Cursor to P16 (P24) Note: Display codes and Reset codes will also be reported in "K" packets unless the (v) configuration command has been issued. Key press commands from the CPI-101 to the Central Office from address 0 are listed next. These commands are sent with the command P01wx, where x is the Hex code number below. Note: The x is not ASCII encoded, but is a binary 8 bit number. Code Direction Description 01 To CO Key 2 02 To CO Key 3 03 To CO Key 4 04 To CO Key 5 05 To CO Key 6 06 To CO Key 7 07 To CO Key 8 13 To CO Key 9 17 To CO Key 10 18 To CO Key 11 19 To C0 Key 12 1A To CO Key 13 1B To CO Key 14 Indicator status for address 1, 2, or 3 (add on units) are listed below. These codes are received by the CPI-101 from the Central Office, and sent to the host computer in K packets (K01NXX), where N is the address and XX is the code as listed below. Code Direction Description 00 From CO Key 1 off 01 From CO Key 2 off 02 From CO Key 3 off 03 From CO Key 4 off 04 From CO Key 5 off 05 From CO Key 6 off 06 From CO Key 7 off 07 From CO Key 8 off 80 From CO Key 9 off 81 From CO Key 10 off 82 From CO Key 11 off 83 From CO Key 12 off 84 From CO Key 13 off 85 From CO Key 14 off 86 From CO Key 15 off 87 From CO Key 16 off 90 From CO Key 17 off 91 From CO Key 18 off 60 From CO Key 1 on 61 From CO Key 2 on 62 From CO Key 3 on 63 From CO Key 4 on 64 From CO Key 5 on 65 From CO Key 6 on 66 From CO Key 7 on 67 From CO Key 8 on E0 From CO Key 9 on E1 From CO Key 10 on E2 From CO Key 11 on E3 From CO Key 12 on E4 From CO Key 13 on E5 From CO Key 14 on E6 From CO Key 15 on E7 From CO Key 16 on F0 From CO Key 17 on F1 From CO Key 18 on 20 From CO Key 1 wink 21 From CO Key 2 wink 22 From CO Key 3 wink 23 From CO Key 4 wink 24 From CO Key 5 wink 25 From CO Key 6 wink 26 From CO Key 7 wink 27 From CO Key 8 wink A0 From CO Key 9 wink A1 From CO Key 10 wink A2 From CO Key 11 wink A3 From CO Key 12 wink A4 From CO Key 13 wink A5 From CO Key 14 wink A6 From CO Key 15 wink A7 From CO Key 16 wink B0 From CO Key 17 wink B1 From CO Key 18 wink 40 From CO Key 1 flash 41 From CO Key 2 flash 42 From CO Key 3 flash 43 From CO Key 4 flash 44 From CO Key 5 flash 45 From CO Key 6 flash 46 From CO Key 7 flash 47 From CO Key 8 flash C0 From CO Key 9 flash C1 From CO Key 10 flash C2 From CO Key 11 flash C3 From CO Key 12 flash C4 From CO Key 13 flash C5 From CO Key 14 flash C6 From CO Key 15 flash C7 From CO Key 16 flash D0 From CO Key 17 flash D1 From CO Key 18 flash Key address 1, 2, or 3 (add-on units) are listed below. These commands are sent with the command P01nx where x is the Hex code number below and n is the letter x, y, or z for add-on modules addresses 1, 2, and 3. Note: A 36 button add-on is address 2 and 3. Code Direction Description 00 To CO Key 1 01 To CO Key 2 02 To CO Key 3 03 To CO Key 4 04 To CO Key 5 05 To CO Key 6 06 To CO Key 7 07 To CO Key 8 08 To CO Key 9 09 To CO Key 10 0A To CO Key 11 0B To CO Key 12 0C To CO Key 13 0D To CO Key 14 0E To CO Key 15 0F To CO Key 16 10 To CO Key 17 11 To CO Key 18 12 To CO Key 19 13 To CO Key 20
Appendix B – EBS Code Structure
EBS codes consist of sixteen bits. They are as follows: Bit 15 - Start bit, always 1. Most significant bit. Bit 14 - Direction bit. 0 if code is sent from phone to Central Office. 1 if code is sent from Central Office to phone. Bits 13-11 - Address 0 to 7. If the code is a direction 0 (from phone to Central Office) code, these bits represent from which address the code is being sent. If the code is a direction 1 (from Central Office to phone)code, these bits represent the address to which the code is being sent. Bits 10-3 - Command byte. These eight bits make up the command byte which is being sent to or from the phone. Bit 2 - Repeat bit. If for some reason the phone or Central Office has to repeat the transmission of an EBS code, this bit will be set in the repeated code. Otherwise it will be clear. Bit 1 - Collision bit. This bit is normally set. It is cleared if a code has to be repeated because a collision was detected. A collision occurs when both the phone and the Central Office try to transmit at the same time. Bit 0 - Parity bit. This bit is set or cleared as needed to provide odd parity for the entire sixteen bit code. Least significant bit. The following example demonstrates the formation of a release code sent from the phone to the Central Office. A release code is sent when the release button is pressed on an EBS telephone. The sixteen bit code will be:
1000 0000 0111 1011 = 807Bh. Bit 15: Start bit: always 1. Bit 14: Direction bit - in this case 0 (from phone to Central Office). Bit 13 - 11: Address bits: In this case address = 000. Release is always sent from the primary set, which is always address 0. Add on sets are addresses 1 to 3 and do not have a release key. Bits 10 - 3: Command byte - Release command byte is 0Fh. (0000 1111 binary). Bit 2: Repeat bit - Assume this is the first time this code is being transmitted (Repeat = 0). Bit 1: Collision bit - Always 1 if no collision is detected. Collision bit is cleared by sending device when necessary. Bit 0: Parity bit - In this case the bit needs to be set to provide odd parity.
Appendix C – Command Set Quick Reference
Appendix D – Configuration Commands Quick Reference
Appendix E – CPI-101 Response Packets Quick Reference
Appendix F – Sample EBS Code Listing
Note: sequence of EBS codes may vary from switch to switch depending on the specific CO's translations used. This document is to be used as an example of how one switch functions only. Our EBS configuration is as follows: EBS set with key 1 (prime) Dialable Number (DN) = 23 Key 2 DN = 24 Key 3 DN = 27 Other keys are on set but not used in this log file. Add-ons on address 1, 2 and 3 were not connected for this test. Add-ons have a MADN appearance of the primary set's Key 2. These are: address 1 (telco key 21, or address 1, key 10), address 2 (telco key 30, or address 2, key 1), address 3 (telco key 48, or address 3, key 1). Separate outside line used is DN = 9,6358418. A pots phone is the Prime DN on 27. The appearance on the EBS is MADN. Note the address 1, 2 and 3 codes are not acknowledged since no set is connected. The repeated codes show up in the log file with the R set in the RCP column. "Message" lines in the log file are not actual messages on the EBS line. They make decoding of the log file easier. To get more of these codes displayed in the K packets, turn off the filter table and enable additional codes to be reported in k packets by sending: P01(Gu). The opposites are v to display only key status information in K packets and F to enable the filter table. (The filter table removes codes which are not required for most applications and only make more overhead. If you require these codes then disable the filter table using the (G) command.) Note: The code sent immediately following the display data may not be sent via K packets since it is used as the CLID terminator flag. This code is usually BB hex (BB=Resume digit echoing.)
Column Descriptions:
Line#: This is for reference only. Code: This is the EBS code received from the phone line if the first two digits are non zero. If the first two digits are zero then it is an internal code for reporting messages, dtmf digits and other status information. This 4 digit number is expressed in hexadecimal. Direction: This pertains to the Central Office (CO). For example, "To #1" means the CO sent the code to the add-on unit on address 1. "From #0" means the CO received the code from the primary set which was on address 0. Byte: This is the 8 bit command byte which is embedded in the 16 bit "code". It is expressed in hexadecimal. Description of Code: This is an english description of the code received or sent by the CO. RCP: This column in the log file is: Repeated code, Collision detected and Parity incorrect. They are warning flags for easy interpretation of when the condition exists. These refect the state of the last 3 bits in the EBS code. Ack: This is "Yes" if the receiving end acknowledged the code. Since addresses 1, 2 and 3 are not connected they have "No" in the Ack column. HH:MM:SS:hh: This is the hour, minutes, seconds, hundreth of seconds time stamp for the code. This may be used as a reference for how fast codes are received.
Conditions at start:
Set is in idle condition - no LCD's on.
Appendix G – EBS Codes List
Code Direction Description 00 From CO Key 1 off 01 From CO Key 2 off 02 From CO Key 3 off 03 From CO Key 4 off 04 From CO Key 5 off 05 From CO Key 6 off 06 From CO Key 7 off 07 From CO Key 8 off 08 From CO Soft Reset 09 From CO Close Echo (End Loop Back) 0A From CO Internal Alert Tone-off 0B From CO Handsfree-off 0C From CO Voice-off 0D From CO Handset-off 0E From CO Internal Buzzer-off 0F From CO Alert-off 13 From CO Key 9 off 19 From CO Key 12 off 1A From CO Key 13 off 1B From CO Key 14 off 1E From CO Key 10 off 1F From CO Key 11 off 20 From CO Key 1 wink 21 From CO Key 2 wink 22 From CO Key 3 wink 23 From CO Key 4 wink 24 From CO Key 5 wink 25 From CO Key 6 wink 26 From CO Key 7 wink 27 From CO Key 8 wink 33 From CO Key 9 wink 39 From CO Key 12 wink 3A From CO Key 13 wink 3B From CO Key 14 wink 3E From CO Key 10 wink 3F From CO Key 11 wink 40 From CO Key 1 flash 41 From CO Key 2 flash 42 From CO Key 3 flash 43 From CO Key 4 flash 44 From CO Key 5 flash 45 From CO Key 6 flash 46 From CO Key 7 flash 47 From CO Key 8 flash 48 From CO Save Indicator Reset 53 From CO Key 9 flash 59 From CO Key 12 flash 5A From CO Key 13 flash 5B From CO Key 14 flash 5E From CO Key 10 flash 5F From CO Key 11 flash 60 From CO Key 1 on 61 From CO Key 2 on 62 From CO Key 3 on 63 From CO Key 4 on 64 From CO Key 5 on 65 From CO Key 6 on 66 From CO Key 7 on 67 From CO Key 8 on 68 From CO Hard Reset 69 From CO Open Echo (Start Loop Back) 6A From CO Internal Alert Tone-on 6B From CO Handsfree-on 6C From CO Voice-on 6D From CO Handset-on 6E From CO Internal Buzzer-on 6F From CO Alert-on (Audible Ringing) 73 From CO Key 9 on 79 From CO Key 12 on 7A From CO Key 13 on 7B From CO Key 14 on 7E From CO Key 10 on 7F From CO Key 11 on 88 From CO Display Reset 89 From CO Clear Working Buff_Line 0 8B From CO Disable Display Echoing 8C From CO Disable Display Cursor 8D From CO Disable Display 98 From CO Power Down Display 99 From CO Clear Working Buff_Line 1 9B From CO Enable Digit Echo-Type 1 9C From CO Enable Display Cursor 9D From CO Enable Display A5 From CO Working Buffer Cursor to P0 A9 From CO Clear Working Buffer AB From CO Enable Digit Echo-Type 2 AD From CO Clear Display B5 From CO Working Buff Csr to P16/24 B7 From CO Transmit Display Stat Rqst B9 From CO Clr Working Buff in 12 Sec. BB From CO Resume Digit Echoing C0 From CO Space (Blank) C1 From CO Exclamation Point C2 From CO Quotation Mark C3 From CO Number Sign Octothrope C4 From CO Dollar Sign C5 From CO Percent Sign C6 From CO Ampersand C7 From CO Apostrophe C8 From CO Opening Parenthesis C9 From CO Closing Parenthesis CA From CO Asterisk CB From CO Plus Sign CC From CO Comma CD From CO Hyphen (Minus) CE From CO Period (Decimal) CF From CO Slant (Slash) D0 From CO Zero (Caller ID) D1 From CO One (Caller ID) D2 From CO Two (Caller ID) D3 From CO Three (Caller ID) D4 From CO Four (Caller ID) D5 From CO Five (Caller ID) D6 From CO Six (Caller ID) D7 From CO Seven (Caller ID) D8 From CO Eight (Caller ID) D9 From CO Nine (Caller ID) DA From CO Colon DB From CO Semi-colon DC From CO Less Than DD From CO Equals DE From CO Greater Than DF From CO Question Mark E0 From CO Commerical Art E1 From CO Uppercase A E2 From CO Uppercase B E3 From CO Uppercase C E4 From CO Uppercase D E5 From CO Uppercase E E6 From CO Uppercase F E7 From CO Uppercase G E8 From CO Uppercase H E9 From CO Uppercase I EA From CO Uppercase J EB From CO Uppercase K EC From CO Uppercase L ED From CO Uppercase M EE From CO Uppercase N EF From CO Uppercase O F0 From CO Uppercase P F1 From CO Uppercase Q F2 From CO Uppercase R F3 From CO Uppercase S F4 From CO Uppercase T F5 From CO Uppercase U F6 From CO Uppercase V F7 From CO Uppercase W F8 From CO Uppercase X F9 From CO Uppercase Y FA From CO Uppercase Z FB From CO Left Square Bracket FC From CO Reverse Slant FD From CO Right Square Bracket FE From CO Circumflex FF From CO Underscore 00 To CO Feature Key 1 01 To CO Feature Key 2 02 To CO Feature Key 3 03 To CO Feature Key 4 04 To CO Feature Key 5 05 To CO Feature Key 6 06 To CO Feature Key 7 07 To CO Feature Key 8 08 To CO EBS Dial Pad Key '1' 09 To CO EBS Dial Pad Key '2' 0A To CO EBS Dial Pad Key '3' 0B To CO Hold Key 0C To CO EBS Dial Pad Key '4' 0D To CO EBS Dial Pad Key '5' 0E To CO EBS Dial Pad Key '6' 0F To CO Release Key 10 To CO EBS Dial Pad Key '7' 11 To CO EBS Dial Pad Key '8' 12 To CO EBS Dial Pad Key '9' 13 To CO Feature Key 9 14 To CO EBS Dial Pad Key '*' 15 To CO EBS Dial Pad Key '0' 16 To CO EBS Dial Pad Key '#' 17 To CO Feature Key 10 18 To CO Feature Key 11 19 To CO Feature Key 12 1A To CO Feature Key 13 1B To CO Feature Key 14 1C To CO EBS Off-Hook 1D To CO EBS On-Hook
Addresses 1,2,3,5,6,7 Code Direction Description
00 From CO Key 1 off 01 From CO Key 2 off 02 From CO Key 3 off 03 From CO Key 4 off 04 From CO Key 5 off 05 From CO Key 6 off 06 From CO Key 7 off 07 From CO Key 8 off 80 From CO Key 9 off 81 From CO Key 10 off 82 From CO Key 11 off 83 From CO Key 12 off 84 From CO Key 13 off 85 From CO Key 14 off 86 From CO Key 15 off 87 From CO Key 16 off 90 From CO Key 17 off 91 From CO Key 18 off 92 From CO Key 19 off 93 From CO Key 20 off 94 From CO Key 21 off 95 From CO Key 22 off 60 From CO Key 1 on 61 From CO Key 2 on 62 From CO Key 3 on 63 From CO Key 4 on 64 From CO Key 5 on 65 From CO Key 6 on 66 From CO Key 7 on 67 From CO Key 8 on E0 From CO Key 9 on E1 From CO Key 10 on E2 From CO Key 11 on E3 From CO Key 12 on E4 From CO Key 13 on E5 From CO Key 14 on E6 From CO Key 15 on E7 From CO Key 16 on F0 From CO Key 17 on F1 From CO Key 18 on F2 From CO Key 19 on F3 From CO Key 20 on F4 From CO Key 21 on F5 From CO Key 22 on 20 From CO Key 1 wink 21 From CO Key 2 wink 22 From CO Key 3 wink 23 From CO Key 4 wink 24 From CO Key 5 wink 25 From CO Key 6 wink 26 From CO Key 7 wink 27 From CO Key 8 wink A0 From CO Key 9 wink A1 From CO Key 10 wink A2 From CO Key 11 wink A3 From CO Key 12 wink A4 From CO Key 13 wink A5 From CO Key 14 wink A6 From CO Key 15 wink A7 From CO Key 16 wink B0 From CO Key 17 wink B1 From CO Key 18 wink B2 From CO Key 19 wink B3 From CO Key 20 wink B4 From CO Key 21 wink B5 From CO Key 22 wink 40 From CO Key 1 flash 41 From CO Key 2 flash 42 From CO Key 3 flash 43 From CO Key 4 flash 44 From CO Key 5 flash 45 From CO Key 6 flash 46 From CO Key 7 flash 47 From CO Key 8 flash C0 From CO Key 9 flash C1 From CO Key 10 flash C2 From CO Key 11 flash C3 From CO Key 12 flash C4 From CO Key 13 flash C5 From CO Key 14 flash C6 From CO Key 15 flash C7 From CO Key 16 flash D0 From CO Key 17 flash D1 From CO Key 18 flash D2 From CO Key 19 flash D3 From CO Key 20 flash D4 From CO Key 21 flash D5 From CO Key 22 flash 08 From CO Soft Reset 68 From CO Hard Reset 48 From CO Save Indicator Reset 69 From CO Open Echo 09 From CO Close Echo 0C From CO Voice off 0F From CO Alert Off 00 To CO Key 1 01 To CO Key 2 02 To CO Key 3 03 To CO Key 4 04 To CO Key 5 05 To CO Key 6 06 To CO Key 7 07 To CO Key 8 08 To CO Key 9 09 To CO Key 10 0A To CO Key 11 0B To CO Key 12 0C To CO Key 13 0D To CO Key 14 0E To CO Key 15 0F To CO Key 16 10 To CO Key 17 11 To CO Key 18 12 To CO Key 19 13 To CO Key 20 14 To CO Key 20 15 To CO Key 21 16 To CO Key 22
Appendix H – General Questions
Question:
How do I make the CPI-101 simulate that the handset is taken off hook and also placed on-hook?
Answer:
You need to send the "Handset on-hook" EBS command 1D to the CO and the "Handset off-hook" EBS command to the CO. If this is the case, read on!! First, let me include a scan of the first part of the ASCII character set to try and explain what must be sent as a character…
I will reference the above single control characters by their "Ctrl" name in the above ASCII Table. For example, <CR> is the single character 13 decimal; 0D hex as shown above. To make the CPI-101 send the 1C command to the CO you must issue: P01w<FS><CR> (<FS> is 1C hex, as a single character. The last <CR> is the termination <CR> which causes the CPI-101 to process the command.) To make the CPI-101 send the 1D command to the CO you must issue: P01w<GS><CR> (<GS> is 1D hex, as a single character.)
Question:
How do I send Add-on (M522) codes using the P01x, y or z commands?
Answer:
This is answered similarly to question 1. Refer to the ASCII Table in the previous question. The following is what should be sent, INCLUDING THE TERMINATING <CR>… To send the button presses for the first add-on, keys 13, 14 and 20, if you number the keys starting at >>> zero <<<, Key 13 P01x<CR><CR> Key 14 P01x<SO><CR> Key 20 P01x<DC4><CR> Note that for the first key on the set you must send a <NUL> character as follows: Key 0 P01x<NUL><CR> Since some programs will not send a <NUL> byte, you may compile the EBS command word (as described in Appendix B of the CPI-101 Manual) as follows: Start Direction Address Command Repeat Collision Parity 1 0 001 00000000 0 1 0, which is 8802 hex for a compiled address 1 key 0 press. Send this to the CPI-101 as follows: P01\88\02<CR> The command will be sent to the CO. This may be used for any EBS code to be sent to the CO. Remember to separate the bytes with the backslash character. >>>Most Central Office personnel call the first key by the number "1", not zero as described above. In which case you must send the character which is one less than the CO key.<<<
Question:
I don’t see all of the EBS codes as K packets even though I know they are on the EBS line. Why?
Answer:
The CPI-101 has an internal filter table which ignores certain codes which are not used by most users. This table can be disabled by sending a configuration character. Remember to EEP$ within the () brackets if you want this saved in the non-volatile memory of the CPI-101 for future power on’s. P01(F) is the default, which is filter table enabled so that the codes marked below as "0" will not be sent when full K packets are enabled. P01(G) will disable the following filter table so that all unprocessed codes will be sent when full K packets are enabled.
THIS TABLE DEFINES WHICH BYTES ARE ACCEPTED AND WHICH ARE FILTERED.
1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0 ;0-F 0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1 ;10-F 1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0 ;20-F 0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1 ;30-F 1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0 ;40-F 0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1 ;50-F 1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0 ;60-F 0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1 ;70-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;80-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;90-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;A0-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;B0-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;C0-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;D0-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;E0-F 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;F0-F
Question:
Does the CPI-101 have a local echo mode?
Answer:
No. If you need to find out if it is responding then send the P01Q<CR> command and wait for the A01<CR> response.
Note: The <CR> was used as the termination character for this document. In some cases the <STX> <ETX> mode is enabled and the terminations will be different.
Chapter 8
This chapter defines the terms used in this document. Acknowledgment (Ack) - In data communications, an Ack is a signal sent from the receiving device to the transmitting device which indicates that the data sent was received correctly. In the EBS protocol, an Ack is a 1 - 3 millisecond burst of 8 kHz signal. Add-ons - In an EBS telephone system, Add-on refers to a piece of equipment that exists on the same telephone line as the primary telephone set. Add-ons do not provide a voice path, but only provide the ability to monitor (by LCD display) or access other numbers configured to appear on the same line as the primary number. Add-ons may be 18, 20 or 36 line versions. Each add-on has its own address (as does the primary set). Address - The destination or origin of a data message. In the EBS protocol, addresses refer to the Customer Premises Equipment (CPE), not the Central Office (CO). The primary telephone set is, by definition, address 0. Add-on equipment is defined to be addresses 1 - 3. Address 4-7 are defined as Auxiliary Voice Terminals and are rarely used. Address data is embedded within a 16 bit EBS code. The address is represented by bits 11 - 13. See Appendix B for an explanation of EBS code structure. Call Progress Tones - Tones sent from the CO to the CPE to let the user know the progress of the current call. Common call progress tones are dial tone, busy and ring back. Central Office (CO) - Telephone company facility where subscriber's lines are joined to switching equipment for connecting subscribers to each other, locally or long distance. Customer Premises Equipment (CPE) - Terminal equipment supplied by the telephone company which is connected to the nationwide telephone network and resides on the customer's premises. Direction - In reference to the EBS protocol, direction refers to whether an EBS code is being sent to or from the CPE. A direction 0 code originates from the CPE and is sent to the CO. A direction 1 code originates at the CO and is sent to the CPE. The direction of a code is embedded within a 16 bit EBS code. See Appendix B. DMS-100 - The name of a type of digital Central Office switch made by Northern Telecom. DTMF (Dual Tone Multi-Frequency) - A term describing push button or Touchtone dialing. (Touchtone is a trade mark of AT&T.) DTMF signaling is used on analog or POTS telephone lines. When a key pad button pressed, the sound that is heard is a composite signal consisting of two single tones (one low and one high tone). Each key pad button has its own distinct tone pair. EBS (Electronic Business Set or Enhanced Business Service) - EBS is an analog Centrex service provided by Northern Telecom. It operates over a single-pair subscriber loop, providing normal full duplex voice operation and a secondary 8 kHz half-duplex amplitude shift keyed signaling channel. The signaling channel is used to transmit signaling information to and from the Northern Telecom equipped Central Office. EBS telephones are sometimes referred to as P-Phones or MDC Service. The Nortel M5xxx series phones connect to EBS lines. Parity - A process for detecting whether bits of data have been altered during transmission of that data. Data is transmitted as a stream of bits with values of one or zero. One of these bits is the parity bit. The value of this bit is chosen so that the total number of logic one bits is even or odd depending on whether even or odd parity is being used. In an EBS code, the least significant bit is the parity bit. EBS protocol uses odd parity. See Appendix B for a description of EBS code structure. Tip and Ring - These are the conductors in a telephone pair. The tip is the more positive of the two. Typically the DC voltage between the tip and ring is 48 - 52 volts.
Chapter 9 INDEX \c "2" \z "1033" address, 22, 23, 24, 28, 29, 30, 32, 36, 37, 51, 54, 56, 57, 58, 59, 61, 63, 64, 65, 73, 97, 103 ASCII, 14, 22, 23, 29, 54, 95, 96 call progress, 3, 21, 31, 60, 103 Caller ID, 28, 29, 67, 71, 73, 74, 76, 77, 80, 81, 84, 89 CLID, 3, 13, 28, 29, 40, 64 collision, 32, 58, 59 command, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 34, 35, 36, 37, 50, 53, 54, 56, 58, 59, 61, 64, 65, 95, 96, 97, 99 CONFERENCE, 23, 29 Copyright, i DMS-100, ii, 3, 104 DTMF, 1, 3, 10, 18, 19, 21, 27, 29, 35, 36, 38, 43, 60, 62, 63, 82, 104 EBS, ii, 1, 2, 3, 9, 13, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 30, 31, 35, 36, 37, 43, 51, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 85, 86, 90, 91, 95, 97, 103, 104, 105 FCC, ii, iii Feature Key, 32, 90, 91 hexadecimal, 22, 23, 30, 33, 36, 65 Key, 17, 26, 29, 32, 33, 38, 39, 40, 51, 52, 54, 55, 56, 57, 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 96, 97 LED, 4, 13, 16, 26, 37, 60 MDC, ii, iv, 105 Meridian Digital Centrex, ii packet, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 35, 36, 37, 39, 62 Part 15, iii Part 68, ii Phone, 2, 13, 28, 63 REN, ii, iv RS232C, 13 Save Indicator Reset, 26, 33, 36, 37, 52, 66, 67, 69, 70, 81, 86, 87, 94 Telco, 13, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85 Timed energy detection, 21
|
|
Questions or problems regarding this web site
should be directed to [Webmaster]. |