Newsgroup: it.tlc.telefonia
Titolo: ID

Salve!
      Qualcuno sa dirmi in che formato avviene la trasmissione dell'ID su
linee telefoniche normali da parte della Telecom ?


Ecco qua...
From: 
j...@ksr.com
 (John F. Woods)
Subject: Telephone Caller ID specs:
Every now and then, someone asks again about Caller ID and how to
decode it.  It turns out that Radio Electronics published most of the
answer in the Hardware Hacker column in their August 1991 issue.  A
quick summary follows:
First, the relevant documents are:
        1. NYNEX Catalog of Technical Information, #NIP-7400 (Free).
        2. SPCS Customer Premises Equipment Data Interface,
           #TR-TSY-0030, $25.
        3. CLASS Feature: Calling Number Delivery, #FSD-02-1051, $30.
        4. CLASS Feature: Calling Number Delivery Blocking,
            #TR-TSY-000391, $33.
        Document 2 is the most important, and can be ordered from
        Bellcore at (800) 521-CORE; they take VISA.
The caller ID is transmitted as 1200 baud tones (Mark/1 is one cycle
of 1200 Hz, Space/0 is nearly two cycles of 2200Hz), 8 bits
asynchronous, one stop bit.
The data transmitted is: 30 bytes of 0x55 as a "channel seizure"
signal (when demodulated, looks like a 1/4 second 600Hz square wave);
150 milliseconds of all marks; a message-type word (one byte, value
0x04
indicates caller ID); a message length word (one byte, how many digits
in the calling number, does not include itself or the checksum); the
_ASCII_ digits of the phone number, least significant first; finally,
a checksum byte, consisting of the two's-complement of the 8-bit sum
of the message-type word, the message-length word, and the data.
This is the simplest form that the information will be delivered in,
you need the Bellcore specs if you want to get it right in all cases.
Sierra Semiconductor has two IC's which handle most of the analog
portion of caller-ID, the SC11211N and the SC11210 (which needs an
external oscillator and deletes some of the features); these chips
output a digital stream ready for digestion by a uC.
####
From: 
sch...@phx.mcd.mot.com
 (John Schuch)
Subject: Re: Caller ID info?
Phone gets first ring, duration 2 seconds
Delay 0.5 seconds after first ring
Send 30 bytes of '01010101', duration 250ms (channel seizure signal)
Send 150ms of marks (carrier signal)
Send an 8 bit "parameter word type"
        00000100 = Caller ID
        00001010 = message waiting indicator
        10000001 = Test for caller ID
Send an 8 bit number representing the number of WORDS in the message
Now, the actual data:
The first two digits are the month with a leading zero for JAN to
SEPt.
The next two digits are the day of the month w/leading zero for 1 to
9.
The next two digits are the hour in local military time.
The next two digits are the minutes in local time.
The remaining digits (message length -8) are the telephone number
        of the calling party. The last field may include the 'P' or
'O'
        for blocked or out-of-area calls.
The last 8 bits of the message are the checksum. The check sum is the
two's complement of the modulo 256 sum of the other words in the data 
message. This sum does not include the channel seizure signal or the
carrier signal.
Total transmission duration = 718ms
The above description is as stated in the Motorola MC145447 Caller ID
Receiver data sheet, and in the Cermetek Application Note AN-107. I
have not yet seen the actual data but will have my CID > RS232 circuit
complete this weekend. I will then be able to shead a little more
light
on the topic.
John
(PS- I have MC145447 chips for sale)
####
From: Someone I can't remember
Subject: CID specs
   1. Caller Number Delivery (C.N.D)
	 s40 bit #2, 1: enable, 0:  disable (default)
	 Response message:
	 (1) Single message format
	     RING
	     MM-DD hh:mm Caller_ID
	     RING
	     example:
		 RING
		 04-28 12:30 035782439
		 RING
	 (1) Multiple message format
	     (a) Number and name are available
		 RING
		 TIME: MM-DD hh:mm
		 CALLER NUMBER: Caller_ID
		 CALLER NAME: Caller_Name
		 RING
		 example:
		    RING
		    TIME: 04-28 12:30
		    CALLER NUMBER: 035783942
		    CALLER NAME: ZyXEL
		    RING
	     (b) Number and name are not available
		 RING
		 TIME: MM-DD hh:mm
		 REASON FOR NO NUMBER: OUT-OF-AREA
		 REASON FOR NO NAME: PRIVACY
		 RING
		 example:
		    RING
		    TIME: 04-28 12:30
		    REASON FOR NO NUMBER: OUT-OF-AREA
		    REASON FOR NO NAME: PRIVACY
		    RING
	 MM: month
	 DD: date
	 hh: hour
	 mm: minute
	 Caller_ID: phone number of caller
	 Caller_Name: name of caller
   2. Distinctive Ring
	 s40 bit #3: 1, accept ring of type 1
	 s40 bit #4: 1, accept ring of type 2
	 s40 bit #5: 1, accept ring of type 3
	 s40 bit #6: 1, accept ring of type 4
	 If all these bits are cleared (default), any ring of
	 duration longer than 100 ms will be accpted.
	 Type 1: 1.2/2 s on, 4 s off.
	 Type 2: 0.8 s on, 0.4 s off, 0.8 s on, 4 s off.
	 Type 3: 0.4 s on, 0.2 s off, 0.4 s on, 0.2 s off, 0.8 s on, 4
s off.
	 Type 4: 0.3 s on, 0.2 s off, 1 s on, 0.2 s off,  0.3 s on, 4
s off.

C'e un bellissimo articolo sulla rivista  ELETTRONICA IN sett.1999 n.42 in
merito
ciao
giovanni
