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

  1.  
  2. I receved the following documment from a friend who was then a TSPS
  3. operator, one year ago -- just before LA cut over to the ACTS/SSAS
  4. system.  In light of some recent discussion over automated coin
  5. telephone service, and automatic calling card service as well, I am
  6. submitting it to the list.
  7.  
  8. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  9.  
  10.                HANDLING COIN TOLL CALLS  --AUTOMATICALLY
  11.     -    -    -    -    -    -    -    -
  12.                   Automated Coin Toll Service handles
  13.      the routine aspects of coin-paid toll calls, freeing operators
  14.             to deal with more complex customer interactions.
  15.  
  16.    By James O. Hardy, Dattatraya G. Raj-karne, and Kenneth A. Raschke
  17.  
  18.  
  19.   "Sixty cents, please. Please  deposit 60 cents  for the first  three
  20. minutes".  The message is familiar,  the voice is invariably  pleasant
  21. and cheerful.  What you may not know, however, is that the  "operator"
  22. at the other end is  not human-- it's a  machine.  By taking over  the
  23. routine tasks associated with handling  coin toll calls, this  machine
  24. frees operators to concentrate on more complex calls, such as  collect
  25. or third party  billing, and  to help  any customers  who may  require
  26. assistance.
  27.  
  28.   Automated Coin Toll Service (ACTS) is the feature that makes it  all
  29. possible.  ACTS  automatically computes  charges on  coin toll  calls,
  30. announces charges to the customer,  counts coin deposits, and sets  up
  31. coin calls--all without the need for an operator.
  32.  
  33.   ACTS was  developed  for  use  with  the  Traffic  Service  Position
  34. System--an "electronic switchboard" that, since 1969, has been helping
  35. operators handle toll and other calls requiring assistance. Today, The
  36. Traffic  Service  Position  System--known  as  TSPS--serves  about  90
  37. percent of  the  Bell System's  coin-paid  toll calls  on  an  average
  38. business  day.   Automated  Coin  Toll  Service  works  with  TSPS  to
  39. eliminate or reduce operator tasks on many of the coin-paid calls.
  40.  
  41.   ACTS can also make announcements for some non-coin operator-assisted
  42. calls.  For  instance,  when  a  customer  requests  time  and  charge
  43. quotations, the operator indicates this to the TSPS processor; then at
  44. the end  of the  call, TSPS  instructs ACTS  to make  the  appropriate
  45. announcement--for example, "The charges are three dollars and 30 cents
  46. plus tax for seven minutes". Also,  if a customer asks to be  notified
  47. after a specified amount  of time, the  operator inputs the  specified
  48. time to the TSPS processor. Then, at the correct time, TSPS  instructs
  49. ACTS to make an announcement, such as "Six minutes has ended".
  50.  
  51.   When a customer  makes a  station-to-station toll call  from a  coin
  52. telephone, the local central office routes the call to its  associated
  53. TSPS. In areas served by Automated Coin Toll Service, the TSPS central
  54. processor connects the call to the Station Signaling and  Announcement
  55. Subsystem (SSAS) hardware that  provides Automated Coin Toll  Service.
  56. SSAS is an "intelligent peripheral" subsystem, receiving  instructions
  57. from and sending data to the TSPS central processor.
  58.  
  59.                             SSAS TAKES OVER
  60.  
  61.   TSPS provides information to SSAS about call charges and the  length
  62. of the  initial period  for  the call.  Using this  information,  SSAS
  63. constructs and sends a  series of announcements  to the customer.  The
  64. first gives The initial charge for the call.  The customer might hear,
  65. for example, "One dollar and 20 cents please [two second pause] please
  66. deposit one dollar and 20 cents for the first three minutes".
  67.  
  68.   If the  customer deposits  a coin  during the  initial request,  the
  69. announcement is  truncated immediately.   This announcement  allows  a
  70. customer to  deposit  the required  amount  without listening  to  the
  71. entire deposit request.  As the customer deposits money, SSAS  detects
  72. each coin signal, and totals  the amount deposited.  When the  correct
  73. amount has  been  deposited,  SSAS  returns  control  to  TSPS,  which
  74. completes the call  connection.  If  the customer  deposits too  much,
  75. SSAS tells the customer that  the additional money is credited  toward
  76. overtime.  Should the customer fail  to deposit enough money within  a
  77. reasonable time, SSAS generates a prompting announcement.  If no money
  78. is deposited after the prompting  announcement, TSPS adds an  operator
  79. to the connection.  A customer can also reach an operator by  flashing
  80. the switchhook.
  81.  
  82.   If the customer is still using the  phone at the end of the  initial
  83. period-- usually three minutes--TSPS again connects SSAS to the  call,
  84. and orders it to tell the customer that the initial period has  ended.
  85. If the customer  talks beyond the  initial period and  then hangs  up,
  86. TSPS rings back. When  the customer picks up,  TSPS instructs SSAS  to
  87. request overtime  charges,  and  to  monitor  coin  deposits.  If  the
  88. customer talks  for  a  long  time  after  the  initial  period,  TSPS
  89. periodically instructs SSAS to request and collect interim deposits as
  90. well.
  91.  
  92.   In short, with Automated Coin Toll Service, SSAS performs two  major
  93. functions previously requiring operators: It provides announcements to
  94. the  customer,  and  it  monitors  coin  deposits.  To  provide  these
  95. functions, SSAS relies on three principal components: a number of Coin
  96. Detection and Announcement  circuits to connect  customers to SSAS;  a
  97. control unit to  coordinate the  sending of voice  signals over  those
  98. circuits and to interface with  the TSPS processor; and a  solid-state
  99. announcement store to hold digitized voice signals.
  100.  
  101.                              Sample dialog
  102.  
  103.         Customer                                ACTS/TSPS
  104. Picks up handset                        Dial-tone (from local office)
  105.  
  106. Dials number                            "One dollar and 20 cents
  107.                                         please. [pause] Please
  108.                                         deposit one dollar and
  109.                                         20 cents for the first
  110.                                         three minutes".
  111.  
  112. Deposits $1.10. Drops dime              "Please deposit 10 cents
  113. on floor and searches for               more".
  114. six seconds.
  115.  
  116. Gives up search and                     "Thank you. You have 15
  117. deposits quarter.                       cents credit toward
  118.                                         overtime".
  119.  
  120. Talks for three minutes.                "Three minutes has ended.
  121.                                         Please signal when
  122.                                         through".
  123.  
  124. Talks for two more                      Ringback of calling phone.
  125. minutes and hangs up.
  126.  
  127. Picks up handset.                       "Twenty-five cents please.
  128.                                         [pause] You have 15 cents
  129.                                         credit. Please deposit
  130.                                         25 cents more for the
  131.                                         past two minutes".
  132.  
  133. Deposits 25 cents.                      "Thank you".
  134.  
  135. Hangs up.
  136.  
  137.  
  138.                               CONNECTIONS
  139.  
  140.   Coin Detection  and Announcement  (CDA)  circuits provide  the  link
  141. between the customer at the coin station, and the control unit of  the
  142. Station Signalling and Announcement  Subsystem.  Each CDA circuit  can
  143. convert digitized speech from the announcement store into analog voice
  144. announcements. In addition, each CDA circuit contains a data  receiver
  145. to  detect  coin-deposit  signals  generated  by  the  coin   station;
  146. different signals distinguish nickel, dime and quarter deposits.
  147.  
  148.   An individual  CDA circuit  handles just  one call  at a  time.  The
  149. number of CDA  circuits needed to  handle coin toll  calls for a  TSPS
  150. office can  therefore  vary  widely  from  one  location  to  another.
  151. Presently,  each  SSAS  can  handle  a  maximum  of  239  announcement
  152. circuits. Normally, though, only 30 to 100 CDA circuits are needed  to
  153. handle coin toll  traffic, even  in large  metropolitan offices.   The
  154. additional circuit  capacity is  available for  use in  the future  to
  155. provide new automated TSPS services.
  156.  
  157.                          MICROPROCESSOR CONTROL
  158.  
  159.   The  SSAS  control   unit  contains  its   own  microprocessor,   or
  160. programmable  controller--the   "intelligent"  part   of  SSAS.    The
  161. programmable controller handles  the internal control-unit  operations
  162. and, together with other circuitry, transfers voice data bits from the
  163. announcement store to the CDA circuits, and communicates with the TSPS
  164. processor.  Because  of its  central  role in  the control  unit,  the
  165. programmable controller has several self-checking capabilities.   Some
  166. functions within the controller are duplicated, so that errors can  be
  167. detected by comparing the controller  outputs.  The control unit  also
  168. checks for errors  in the  program instructions  by examining  special
  169. binary digits  called "parity  bits"  at the  end  of each  "word"  of
  170. instruction. Wherever  a programmable  controller error  is  detected,
  171. TSPS is notified so that the appropriate fault recovery actions can be
  172. taken.
  173.  
  174.   When a customer starts to  make a coin-station call, TSPS  instructs
  175. the control unit to make an initial announcement to the customer  over
  176. a  specified  CDA  circuit.  TSPS  provides  the  control  unit   with
  177. information about the required deposit  and the length of the  initial
  178. call period.  Using this information, the control unit determines  the
  179. appropriate announcement, and  begins to  retrieve, sequentially,  the
  180. required data  from the  announcement store.   The announcement  store
  181. data are converted into a digital serial bit stream and transmitted to
  182. the specified CDA circuit.  Here, the serial  bit stream is  converted
  183. into an analog signal,  and the resulting  announcement routed to  the
  184. customer.
  185.  
  186.   As the customer  deposits coins  in response  to announcements,  the
  187. control  unit   interrogates   the  CDA   circuit   for   coin-deposit
  188. information.  The control  unit totals the  coins deposited and,  when
  189. the amount paid matches the amount required, acknowledges the  correct
  190. deposit with  a  "Thank  you".  When  appropriate,  the  control  unit
  191. initiates an announcement requesting additional money or  acknowledges
  192. credit for overdeposits.  Finally, the control unit notifies TSPS when
  193. the deposit is satisfactory--or, if the customer has not deposited the
  194. coins quickly  enough, that  TSPS should  connect the  customer to  an
  195. operator.
  196.  
  197.   To ensure that ACTS  will serve customers  most effectively, and  to
  198. encourage customers to deposit coins  promptly and accurately, a  good
  199. deal of  attention  has  been  directed  toward  the  customer-machine
  200. interaction.  Announcements  must be  intelligible, carefully  worded,
  201. and appropriately timed.  So a  human factors study  was conducted  in
  202. 1975 with  the cooperation  of Illinois  Bell in  Chicago, to  aid  in
  203. determining  an  efficient  set  of  phrases,  sentences,  and  timing
  204. parameters for the machine-generated ACTS announcements.
  205.  
  206.                             SPEECH SEGMENTS
  207.  
  208.   ACTS announcements  are constructed  from a  set of  512-millisecond
  209. "speech segments". Each segment is equivalent to about one word of the
  210. ACTS vocabulary.  Under the direction of the control unit,  individual
  211. words or word segments are  retrieved from the announcement store  and
  212. strung together  to  form  announcement phrases  and  sentences.  Most
  213. words, such as "cents" or  "minutes" require a single speech  segment;
  214. some words,  such as  "fifteen"  and common  phrases such  as  "Please
  215. deposit" require two speech  segments. A few  phrases such as  "Please
  216. signal when  through"  require  three speech  segments.   Each  phrase
  217. involving two  or three  speech  segments could  have been  formed  by
  218. stringing together the appropriate individual words, each encoded as a
  219. separate 512-millisecond speech segment. More natural sounding  speech
  220. results, however,  if  the  phrase  is  treated  as  a  complete  unit
  221. requiring one or one-and-a-half seconds of encoded speech--that is two
  222. or three contiguous speech segments.
  223.  
  224.   The vocabulary  of  about  80  words  presently  required  for  ACTS
  225. announcements was initially recorded by a professional announcer.  The
  226. words were  then digitally  encoded using  a process  called  Adaptive
  227. Delta Modulation and organized  into eighty 512-millisecond  segments.
  228. Each segment (word)  or group of  segments (long word  or phrase)  was
  229. adjusted to a consistent level and pitch with silent periods  inserted
  230. where needed.   This  results  in  natural-sounding  speech  when  the
  231. segments  are  joined  together   in  various  combinations  to   form
  232. sentences.
  233.  
  234.   To store announcement speech  segments, SSAS uses  the same type  of
  235. semiconductors memory  that  is currently  used  by the  TSPS  central
  236. processor.  Each 512 millisecond  speech segment requires that  16,000
  237. bits of  information  be stored,  grouped  into 400  individual  "data
  238. words".  A data word  contains 47 binary digits  or bits; 40 of  these
  239. are for announcement data, and seven for error checks.
  240.  
  241.   The announcement  store must  serve a  maximum of  239 CDA  circuits
  242. simultaneously- even releasing the same speech segment to all circuits
  243. at the same time if necessary. But the store is equal to the task:  It
  244. can  release  the  data  at  the  rate  of  eight  million  bits   per
  245. second--equivalent to 40 bits of  data every five microseconds.   This
  246. rate ie 256  times the speed  at which digitized  speech segments  are
  247. decoded  by  each  CDA  circuit   and  converted  to  analog   speech.
  248. Consequently,  designers  devised  a  "time  multiplexed"  arrangement
  249. whereby the announcement  store retrieves one  40-bit data word  every
  250. five microseconds, and distributes  that data word to  any one of  256
  251. circuits.  Of these, 239 are for CDA service to customers, and 17  are
  252. for diagnostic and fault testing.
  253.  
  254.   It takes 1.28 milliseconds to distribute a data word to each of  the
  255. 256 circuits in sequence. Four hundred repetitions of the distribution
  256. sequence release  400 40  bit data  words to  each circuit  every  512
  257. milliseconds.   This  is  precisely  the  rate  required  to   produce
  258. simultaneous, uninterrupted announcements, each consisting of  several
  259. 512-millisecond segments joined together.
  260.  
  261.   Although the vocabulary required for coin traffic might appear to be
  262. constant, it  can  in  fact change.   This  is  because  call-handling
  263. practices sometimes change,  and because any  future developments  for
  264. Automated  Coin  Toll  Service  may  require  vocabulary  changes   or
  265. additions.  Also a significant number of  words will be needed as  new
  266. automated features are  added to  TSPS. The capabilities  of the  SSAS
  267. random access  memory permit  vocabulary  changes to  be  incorporated
  268. readily, and permit expansion of the  vocabulary to include up to  480
  269. speech segments.
  270.  
  271.                               RELIABILITY
  272.  
  273.   Because Automated Coin Toll Service  must be highly reliable,  parts
  274. of the SSAS hardware are duplicated.  Several sophisticated techniques
  275. detect faulty operation, evaluate its seriousness, and then bypass  or
  276. remove the faulty part from service at the most appropriate time.
  277.  
  278.   For backup in case of failure, SSAS has two identical control  units
  279. and  announcement  stores.   One   control  unit  and  its   dedicated
  280. announcement store constitute the "active" side and handle all  calls;
  281. the other control unit and announcement store are called the "standby"
  282. side.  The standby side is made active when the other side fails.
  283.  
  284.   Extensive self-checking and fault-detecting capabilities within each
  285. side  allow  many  operations   to  occur  independently,   minimizing
  286. interaction and common circuitry between the two sides.  Consequently,
  287. there are very few single hardware faults that can cause both sides of
  288. SSAS to fail simultaneously.  If such  a fault does occur, only  those
  289. calls currently  being  handled  by  ACTS  are  lost  or  interrupted;
  290. subsequent coin calls are routed to operators until ACTS is  restored.
  291.  
  292.   Although only the  active side  of SSAS handles  calls, the  standby
  293. side must keep an  up-to-date copy of data  associated with each  Coin
  294. Detection and Announcement  circuit. Should a  problem develop on  the
  295. active side, the standby side will need this information to take  over
  296. call processing.   The  active  side,  therefore,  continuously  sends
  297. updated call-related information to the standby side.
  298.  
  299.   TSPS's basic fault-recovery  mechanism is  a switch  to the  standby
  300. side when a fault is detected. There are three ways to do this: with a
  301. smooth switch, an immediate switch, and a rough switch.
  302.  
  303.   A smooth switch is used when the  active side has a fault that  does
  304. not seriously  affect  call  processing. For  example,  a  single  bit
  305. failure in the announcement store can be tolerated until the switch to
  306. standby is convenient,  since its  impact on  announcement quality  is
  307. insignificant.  Before switching, TSPS first brings the two sides into
  308. approximate synchronization, with the standby side running just behind
  309. the active side.  The switch is then imperceptible to customers.
  310.  
  311.   An immediate  switch is  made whenever  the active  side develops  a
  312. serious fault, such as control-unit  failure, while the other side  is
  313. on standby.   Since  the  standby memory  is  up-to-date,  only  minor
  314. disruptions in call handling can result.  For example, an announcement
  315. might be interrupted and, after approximately half a second,  repeated
  316. in full.
  317.  
  318.   A rough  switch is  necessary whenever  the active  side develops  a
  319. fault  while  the  other  side,   normally  on  standby,  is   running
  320. diagnostics.  When TSPS detects a serious fault with the active  side,
  321. it immediately takes that side out of service, halts the  diagnostics,
  322. and forces the standby side to become active.  Since the memory of the
  323. newly active  side is  not up-to-date,  any calls  being handled  when
  324. switching occurred are lost or interrupted. The chance that this might
  325. happen, though is very small.
  326.  
  327.                                 BENEFITS
  328.  
  329.   Automated Coin  Toll  Service is  helping  to reduce  the  Operating
  330. Company cost of  handling routine  toll calls. It  also monitors  coin
  331. deposits with  greater  accuracy  than  before,  and  helps  Operating
  332. Companies detect trouble at coin stations.
  333.  
  334.   Automated Coin Toll Service was first installed in Phoenix  Arizona,
  335. in 1977.  Since then,  a rapidly growing number  of the Bell  System's
  336. 146 TSPS sites have introduced ACTS.  By the mid-1980s, Automated Coin
  337. Toll Service is expected to be  available for more than 95 percent  of
  338. all Bell System coin statios. At that time, freed from handling  more
  339. than two million  routine coin  toll calls  a day,  operators will  be
  340. better able to help  those customers with  more demanding and  complex
  341. problems--problems that truly require human skills..
  342.