Reason codes

The following table lists the Voice Message service reason codes:

Reason code name

Hex

Decimal

Description

CTA_REASON_DIGIT

0x1004

4100

A touch-tone digit was received and the corresponding bit in the DTMF abort parameter was set.

CTA_REASON_FINISHED

0x1001

4097

During play, the end of the current message or current list was reached.

During record, no more space was available in the message, or recording in overwrite mode reached the end of the existing message.

For other functions, this reason code indicates successful completion.

CTA_REASON_NO_VOICE

0x1005

4101

Recording stopped because no voice was detected at the beginning of recording. You can specify the maximum length of time that silence can occur before recording is stopped.

CTA_REASON_RECOGNITION

0x1008

4104

Play or record stopped because of a speech recognition event.

CTA_REASON_RELEASED

0x1007

4103

Function stopped because the call was disconnected.

CTA_REASON_STOPPED

0x1002

4098

Play or record was stopped by vceStop, or the current message was invalidated because one of the referenced voice objects was closed.

CTA_REASON_TIMEOUT

0x1003

4099

maxtime time limit specified in vcePlay, vceRecord, or vceRecordMessage was reached.

CTA_REASON_VOICE_END

0x1006

4102

Recording stopped because the maximum length of silence after voice (audio energy) was detected.


For more information on any of these reason codes, refer to the following functions: vcePlay, vcePlayList, vcePlayMessage, vceRecord, or vceRecordMessage.