Prosody API: list of error codes

These are the errors which can be returned by any of the Prosody API functions.

NNameCause
-115ERR_SM_BAD_DATA_LENGTH invalid length parameter
-135ERR_SM_BAD_DATAFEED_CONNECT an attempt to connect a datafeed has been rejected by the firmware
-101ERR_SM_BAD_PARAMETER a parameter value is bad
-121ERR_SM_CHANNEL_ALLOCATED a channel is allocated when attempting an operation that requires no channels be allocated
-1ERR_SM_DEVERR problem accessing the device or other error not covered by a more specific code
-160ERR_SM_DISCONNECTED a connection to the DSP is disconnected - typically because of an incorrect security key or network problem
-106ERR_SM_DOWNLOAD problem trying to download firmware
-104ERR_SM_FILE_ACCESS could not access a file (i.e. open/read/write etc failed)
-105ERR_SM_FILE_FORMAT file is not in the expected format
-108ERR_SM_FIRMWARE_NOT_RUNNING no firmware is running on a module
-130ERR_SM_FIRMWARE_PROBLEM Obsolete
-125ERR_SM_INCOMPATIBLE_APP Obsolete
-124ERR_SM_INCOMPATIBLE_DRIVER Obsolete
-103ERR_SM_MODULE_ACCESS Obsolete
-109ERR_SM_MODULE_ALREADY_RUNNING Obsolete
-100ERR_SM_NOT_IMPLEMENTED function or option not implemented
-127ERR_SM_NOT_SAME_GROUP Obsolete
-123ERR_SM_NOT_SAME_MODULE alt_data_source channel not located on same module
-133ERR_SM_NO_ASSOCIATED_SWITCH the card is a type which does not have an associated switch driver
-113ERR_SM_NO_CAPACITY module does not currently have capacity to buffer this data
-111ERR_SM_NO_DATA_AVAILABLE not enough data recorded yet to give to application
-128ERR_SM_NO_LICENCE software requires a licence but none is available
-112ERR_SM_NO_RECORD_IN_PROGRESS no recording current on timeslot.
-114ERR_SM_NO_REPLAY_IN_PROGRESS current replay complete or aborted
-107ERR_SM_NO_RESOURCES a lack of resources prevents the operation from completing
-110ERR_SM_NO_SUCH_CHANNEL no suitable channel exists
-120ERR_SM_NO_SUCH_DIGIT Obsolete
-119ERR_SM_NO_SUCH_FIRMWARE no suitable firmware is available
-118ERR_SM_NO_SUCH_GROUP the specified group does not exist
-102ERR_SM_NO_SUCH_MODULE the specified module does not exist
-170ERR_SM_NO_SUCH_STREAM the specified stream does not exist
-131ERR_SM_OS_RESOURCE_PROBLEM problem trying to allocate resources (e.g. malloc())
-134ERR_SM_OS_OTHER_PROBLEM problem occurred calling native operating system
-2ERR_SM_PENDING no error but operation has not yet finished
-116ERR_SM_WRONG_CHANNEL_STATE replay or other non-interruptible job still in progress
-117ERR_SM_WRONG_CHANNEL_TYPE operation is inappropriate for this type of channel
-129ERR_SM_WRONG_FIRMWARE_TYPE firmware does not support algorithm.
-126ERR_SM_WRONG_MODULE_TYPE operation is inappropriate for this type of module
-150ERR_SM_IWR_NO_NOISE The Isolated Word Recogniser has been started with no noise model
-151ERR_SM_IWR_EXCESS_NOISE The Isolated Word Recogniser has been started with more than one noise model
-152ERR_SM_IWR_NO_MODEL The Isolated Word Recogniser has been started with no models
-153ERR_SM_IWR_EXCESS_MODELS The Isolated Word Recogniser has been started with more models than it can handle
-154ERR_SM_IWR_EXCESS_STATES The Isolated Word Recogniser has been started with a defective model
-155ERR_SM_IWR_MODEL_CHANGED The Isolated Word Recogniser has detected that a model being used was replaced
-156ERR_SM_IWR_MISSING The Isolated Word Recogniser has detected that a model being used has been deleted