home *** CD-ROM | disk | FTP | other *** search
/ TAP YIPL / TAP_and_YIPL_Collection_CD.iso / PHREAK / CALLERID / RUSSCID.TXT < prev    next >
Text File  |  1999-10-24  |  5KB  |  168 lines

  1.  
  2. Russian Caller ID specifications (in Russian language):
  3. http://www.cnt.ru/users/radio/phone/doc/index.htm
  4.  
  5. Really, we do not have Caller ID here. There is ANI (Automatic Number
  6. Identification) instead. It is not a service - it's a bug in telephone
  7. exchange hardware. There are several versions of Russian ANI history. First
  8. one (official) is that it was developed for telephone operators to make it
  9. easier to charge for long-distance calls. Second one (unofficial) says that
  10. there was no need for such a service for that purpose (there was another
  11. method to determine calling party, using exchange electrical protocols),
  12. and ANI was developed for KGB (it was a Soviet analog of U.S. CIA; "KGB" =
  13. "Committee of State Security" or like that). It sounds realistic.
  14. Anyway,the "service" was never aimed to be public... and some newer
  15. exchanges do not provide this feature. So some numbers can be detected here
  16. while some can not be. It's all Russia...
  17.  
  18. Below is a part of Advanced Call Center documentation:
  19.  
  20. ---------doc begin----------
  21. Russian Caller ID (RCID), available in Russia and some European countries.
  22. Detecting RCID is much more complicated, because most of existing modems do
  23. not provide hardware support for RCID.
  24.  
  25. RCID signal is being sent after modem takes the call. So we have the
  26. following procedure:
  27.  
  28. 1 - take the call (ANSWER)
  29. 2 - 200-250 milliseconds delay before requesting RCID
  30. 3 - RCID request (100-200 milliseconds, 500Hz tone)
  31. 4  - receive and decode RCID packet, if any
  32. 5 - if error, goto 2 (up to 3 requests)
  33. 6 - emulate 'ring back' tones to the line, so that caller won't know we already took the call
  34.  
  35. There are some problems. First, modem hardware is rather slow, and delay
  36. between answering and sending request tone can exceed the time ATE will
  37. wait for RCID request. In this case it is recommended to set up TWO request
  38. tones in the 'Caller ID Detection' section of 'Properties' dialog.
  39.  
  40. Then, some ATEs send RCID packet without request. This means that when we
  41. send RCID request, some time will pass and part of the signal will already
  42. be transmitted. Solution is to set 'Pre-detect time' parameter in the
  43. 'Caller ID Detection' section of 'Properties' dialog to non-zero value
  44. (numbers around 100-200 milliseconds suspected). It is recommended to set
  45. 100 ms when using TWO request tones and 200 ms when issuing only ONE
  46. request tone. Generally pre-detect time should be ZERO.
  47.  
  48. RCID reception and decoding is performed inside of the program, not the
  49. modem hardware (if not using 'Hardware XXX' Caller ID type). This process
  50. can be controlled from within 'Actions' section of 'Properties' dialog, but
  51. generally there is no need to adjust this stage.
  52.  
  53. Number of 'ring back' tones emulated to line can be set from within
  54. 'Action' section of 'Properties' dialog. You can also change default action
  55. that will be performed after going online and/or emulating N 'ring back'
  56. signals to the line. You may choose from options like 'drop immediately' or
  57. 'after N 'ring back' tones'; or it can 'answer', 'set caller on hold' and
  58. even switch on 'answering machine'.
  59.  
  60. ---------doc end----------
  61.  
  62. Russian Caller ID consists of a packets like that:
  63.  
  64. 1 - ID, calling category;
  65. 2 - 7-th digit
  66. 3 - 6-th digit
  67. 4 - 5-th digit
  68. 5 - 4-th digit
  69. 6 - 3-rd digit  \
  70. 7 - 2-nd digit  - phone station (exchange) index, 3 digits
  71. 8 - 1-st digit   /
  72. 9 - begin/end mark,
  73. 10 - ID, calling category.
  74.  
  75. Packets are cyclic; an exchange can transmit 2 or 3 packets in cycle,
  76. beginning from the middle of the packet. The number can be requested up to
  77. 3 times. Every digit in the packet consists of CCITT R1 standard, 2
  78. frequencies (a kind of DTMF tone):
  79.  
  80. digit
  81.   freq1, freq2
  82.  
  83. 1
  84.  700, 900
  85.  
  86. 2
  87.  700, 1100
  88.  
  89. 3
  90.  900,1100
  91.  
  92. 4
  93.  700, 1300
  94.  
  95. 5
  96.  900, 1300
  97.  
  98. 6
  99.  1100, 1300
  100.  
  101. 7
  102.  700, 1500
  103.  
  104. 8
  105.  900, 1500
  106.  
  107. 9
  108.  1100, 1500
  109.  
  110. 0
  111.  1300, 1500
  112.  
  113. "Begin/end mark"
  114.  1100, 1700
  115.  
  116. "Repeat last digit"
  117.  1300, 1700
  118.  
  119. Or, which is just the same:
  120.  
  121. 1  f0 f1    6    f2 f4    11  f0 f11
  122. 2  f0 f2    7    f0 f7    12  f1 f11
  123. 3  f1 f2    8    f1 f7    13  f2 f11
  124. 4  f0 f4    9    f2 f7    14  f4 f11
  125. 5  f1 f4    10  f4 f7    15  f7 f11
  126.  
  127. f0=700 Hz
  128. f1=900 Hz
  129. f2=1100 Hz
  130. f4=1300 Hz
  131. f7=1500 Hz
  132. f11=1700 Hz
  133.  
  134. 13 = "Begin/end mark"
  135. 14 = "Repeat last digit"
  136.  
  137. ID, or calling category, is one of that:
  138.  
  139. 1 - Standard subscriber. Long-distance calls permitted.
  140. 2 - Hotel subscriber.Long-distance calls permitted with immediate payment.
  141. 3 - Subscriber for local service only.
  142. 4 - Priority subscriber.
  143. 5 - Toll-free phone. Calls are not paid but being registered.
  144. 6 - Long-distance pay-phone.
  145. 7 - Subscriber with additional service. Long-distance calls permitted.
  146. 8 - Priority subscriber with additional service.
  147. 9 - Local pay-phone.
  148. 0 or 10 - Reserved.
  149.  
  150. For example, my category is 1. Some of my friends with newer exchanges have
  151. category = 7. Organisations usually have 3.
  152.  
  153.  
  154. <B = begin/end mark (digit '13')
  155. <R = repeat (digit '14')
  156.  
  157. Sample number:
  158.  
  159. 221-45-47 (category 1)
  160.  
  161. Will be transmitted as:
  162.  
  163. 1_7_4_5_4_1_14_2_1_13
  164.  
  165. Number: 1234556, category: 3
  166.  
  167. "...54321<B336<R54321<B336<R54321<B336..."
  168.