Type: New Feature
Affects Version/s: None
Target Release Version/s: None
added functionality to channels/channel_zap.c and callerid.c
to retrieve Japanese caller id from analog lines with using TDM400p.
the way to retrieve caller id is different from US and Japan.
in US,telco sends caller id as soon as they change polarity of the line,
in the other hand, Japanese telco waits until we pick up a phone
to indicate that we are ready to retrieve a caller id,
after we retrieve the caller id, we need to on-hook the line,
this will indicate that we are ready to get an actual call,
telco catched our on-hooking, it again rings the line so that we can
pick up the line and start talking to the caller.
in this release of patch, it does not perform CRC error code
cheking, I will put that functionality in the future.