home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / phreak / sysinfo / cnd_spec.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  6.1 KB  |  169 lines

  1.  
  2. This is a copy of the data sheet picked up at the Rockwell
  3. booth at the COMDEX show.
  4.  
  5. INTRODUCTION
  6. Calling Number Delivery (CND), better known as Caller ID, is a
  7. telephone service intended for residential and small business
  8. customers.  It allows the called Customer Premises Equipment
  9. (CPE) to receive a calling party's directory number and the date
  10. and time of the call during the first 4 second silent interval in
  11. the ringing cycle.  The customer must contact a Bellcore Client
  12. Company to initiate CND service.
  13.  
  14. According to Pacific Bell representatives, the following states
  15. and district currently support CND service:  Delaware, District
  16. of Columbia, Florida, Georgia, Idaho, Kentucky, Louisiana, Maine,
  17. Maryland, Nebraska, Nevada, New Jersey, Oklahoma, Tennessee,
  18. Vermont, Virginia, and West Virginia.
  19.  
  20. The following states are scheduled to support CND service by
  21. April, 1992:  Alaska, Arizona, California, Colorado, Illinois,
  22. Indiana, Iowa, Massachusetts, Mississippi, New Hampshire, New
  23. York, North Carolina, North Dakota, Ohio, Oregon, Rhode Island,
  24. and South Carolina.
  25.  
  26. PARAMETERS
  27. The data signalling interface has the following characteristics:
  28.     Link Type:                2-wire, simplex
  29.     Transmission Scheme:        Analog, phase-coherent FSK
  30.     Logical 1 (mark)            1200 +/- 12 Hz
  31.     Logical 0 (space)            2200 +/- 22 Hz
  32.     Transmission Rate:            1200 bps
  33.     Transmission Level:            13.5 +/- dBm into 900 ohm load
  34.  
  35. (I have copied this data as presented.  I believe the
  36. transmission level is meant to be -13.5 dBm.)
  37.  
  38. PROTOCOL
  39. The protocol uses 8-bit data words (bytes), each bounded by a
  40. start bit and a stop bit.  The CND message uses the Single Data
  41. Message format shown below.
  42.  
  43. Channel    Carrier    Message    Message    Data        Checksum
  44. Seizure    Signal     Type     Length    Word(s)      Word
  45. Signal             Word      Word
  46.  
  47. CHANNEL SEIZURE SIGNAL
  48. The channel seizure is 30 continuous bytes of 55h (01010101)
  49. providing a detectable alternating function to the CPE (i.e. the
  50. modem data pump).
  51.  
  52. CARRIER SIGNAL
  53. The carrier signal consists of 130 +/- 25 mS of mark (1200 Hz) to
  54. condition the receiver for data.
  55.  
  56. MESSAGE TYPE WORD
  57. The message type word indicates the service and capability
  58. associated with the data message.  The message type word for CND
  59. is 04h (00000100).
  60.  
  61. MESSAGE LENGTH WORD
  62. The message length word specifies the total number of data words
  63. to follow.
  64.  
  65. DATA WORDS
  66. The data words are encoded in ASCII and represent the following
  67. information:
  68.  
  69. o  The first two words represent the month
  70. o  The next two words represent the day of the month
  71. o  The next two words represent the hour in local military time
  72. o  The next two words represent the minute after the hour
  73. o  The calling party's directory number is represented by the
  74.    remaining  words in the data word field
  75.  
  76. If the calling party's directory number is not available to the
  77. terminating central office, the data word field contains an ASCII
  78. "O".  If the calling party invokes the privacy capability, the
  79. data word field contains an ASCII "P".
  80.  
  81. CHECKSUM WORD
  82. The Checksum Word contains the twos complement of the modulo 256
  83. sum of the other words in the data message (i.e., message type,
  84. message length, and data words).  The receiving equipment may
  85. calculate the modulo 256 sum of the received words and add this
  86. sum to the reveived checksum word.  A result of zero generally
  87. indicates that the message was correctly received.  Message
  88. retransmission is not supported.
  89.  
  90. EXAMPLE CND SINGLE DATA MESSAGE
  91. An example of a received CND message, beginning with the message
  92. type word, follows:
  93.  
  94. 04 12 30 39 33 30 31 32 32 34 36 30 39 35 35 35 31 32 31 32 51
  95.  
  96. 04h=    Calling number delivery information code (message type word)
  97. 12h= 18 decimal; Number of data words (date,time, and directory
  98.     number words)
  99. ASCII 30,39= 09; September
  100. ASCII 33,30= 30; 30th day
  101. ASCII 31,32= 12; 12:00 PM
  102. ASCII 32,34= 24; 24 minutes (i.e., 12:24 PM)
  103. ASCII 36,30,39,35,35,35,31,32,31,32= (609) 555-1212; calling
  104.               party's directory number
  105. 51h=    Checksum Word
  106.  
  107. DATA ACCESS ARRANGEMENT (DAA) REQUIREMENTS
  108. To receive CND information, the modem monitors the phone line
  109. between the first and second ring bursts without causing the DAA
  110. to go off hook in the conventional sense, which would inhibit the
  111. transmission of CND by the local central office.  A simple
  112. modification to an existing DAA circuit easily accomplishes the
  113. task.
  114.  
  115. (I will mail the Rockwell data sheet, which includes the
  116. suggested schematic diagram.)
  117.  
  118. MODEM REQUIREMENTS
  119. Although the data signalling interface parameters match those of
  120. a Bell 202 modem, the receiving CPE need not be a Bell 202
  121. modem.  A V.23 1200 bps modem receiver may be used to demodulate
  122. the Bell 202 signal.  The ring indicate bit (RI) may be used on a
  123. modem to indicate when to monitor the phone line for CND
  124. information.  After the RI bit sets, indicating the first ring
  125. burst, the host waits for the RI bit to reset.  The host then
  126. configures the modem to monitor the phone line for CND
  127. information.
  128.  
  129. (I'm skipping some Rockwell-specific information here.)
  130.  
  131. According to Bellcore specifications, CND signalling starts as
  132. early as 300 mS after the first ring burst and ends at least 475
  133. mS before the second ring burst
  134.  
  135. APPLICATIONS
  136. Modem manufacturers will soon be implementing new modem features
  137. based on CND information as this service becomes widely
  138. available.
  139.  
  140. Once CND information is received the user may process the
  141. information in a number of ways.
  142.  
  143. 1.    The date, time, and calling party's directory number can be
  144.     displayed.
  145.  
  146. 2.    Using a look-up table, the calling party's directory number
  147.     can be correlated with his or her name and the name
  148.     displayed.
  149.  
  150. 3.    CND information can also be used in additional ways such as
  151.     for:
  152.  
  153.     a.  Bulletin board applications
  154.     b.  Black-listing applications
  155.     c.  Keeping logs of system user calls, or
  156.     d.  Implementing a telemarketing data base
  157.  
  158. REFERENCES
  159. For more information on Calling Number Delivery (CND), refer to
  160. Bellcore publications TR-TSY-000030 and TR-TSY-000031.
  161.  
  162. To obtain Bellcore documents contact:
  163.  
  164.     Bellcore Customer Service
  165.     60 New England Avenue, Room 1B252
  166.     Piscataway, NJ   08834-4196
  167.     (908) 699-5800
  168.  
  169.