
NO.:
W62410 API
VERSION:
A
PAGE
33
1.0 The RecordMessage command.
Description:
This allows the Micro Controller Unit (MCU) to start a recording to be made by the CHIPSET.
Three different types of recordings can be made.
1) InComing Messages (ICM) recorded from the telephone line. If a maximum recording time
has been specified, then the CHIPSET will stop recording the ICM after the specified time.
2) Memo recordings. This is normally a recording made through the microphone present in
the digital answering machine. There is no limit on the recording time for a memo
recording. The host always has to stop the recording explicitly.
3) OutGoing Messages (OGM). This is normally recorded through the microphone present in
the digital answering machine. There is no limit on the recording time of an OGM. The host
has to stop the recording always explicitly.
One can choose to start the recording immediately after the CHIPSET has received the
RecordMessage
command. However, one can also choose to let the CHIPSET start the
recording when the VAD threshold has been exceeded (this can save some memory space and
optimize the use of the external storage space).
For each different type of message the following can happen:
1) In the case of an ICM or a memo. This message will be stored in the mailbox currently in
use. No ID has to be specified or will be returned. The CHIPSET takes care of the
chronological order. The message will automatically receive a timestamp (both for ICM
and memo recordings). In the case of a ICM recording: if there is CallerID info present then
it will automatically be put in front of the recorded message, which will be returned back by
the CHIPSET during playback of this message.
2) In the case of an OGM. There is the possibility of having up to 32 OGM’s (so each mailbox
could have e.g. four OGM’s). If there is already an OGM recorded with the specified ID,
then this OGM will automatically be overwritten with this newly recorded OGM.
While recording, the CHIPSET will continuously monitor the hostport for host commands,
which will be executed during the recording process. If there are no commands, the recording
continues if possible. E.g., if memory is full then recording will be stopped automatically.
1) If there is a
ContRecordMessage
command with a tailcut factor of 255 then the recording
continues but the status of the telephone line will be returned. Every 30 milliseconds the
line monitor register is updated with information concerning e.g. memory status, call
progress tone presence, CallerID and the code of the DTMF tone (if present) and can in this
way be returned to the MCU. See the
ContRecordMessage
command for more
information on this subject.
2) If there is a
ContRecordMessage
command with a tailcut factor other then 255 then the
CHIPSET stops recording cutting off the tail when specified but remains in the recording
state, monitoring the line. Again, an
idle
command has to be send explicitly to return the
chip into Idle state. See the
ContRecordMessage
command for more information on
this subject.
3) The CHIPSET stops recording when there is a time out (exceeding the maximum length of
allowed recording) or if there is no storage memory available anymore, but remains in the
recording state, monitoring the line. Again, an
Idle
command has to be send explicitly to
return the chip into Idle state.
Command (first)
High Byte
RecordMessage
0
0
0
1
type
Remark 1:
type
= 2 bits specifying which type of message will be recorded.
00 = a telephone call (ICM = InComing Message).
01 = Record a memo.
10 = An OGM. An ID is required (32 possible ID’s possible).
11 = Reserved for future use.
Remark 2:
OGM ID
= 5 bits specifying which ID number an OGM will have (32 possible ID’s).
Warning:
If there already exist a OGM recording with the same ID then this recording will be
overwritten.
Remark 3:
The
ID
field is only of importance for an OGM recording. For all other types of recording, fill this
field in with 00000.
The above information is the exclusive intellectual property of Winbond Electronics and shall not be
disclosed, or reproduced without permission from Winbond.
Low byte
A
OGM ID
0
0
0
0