System errors

The fax sample application attempts to trap all errors and relay these to the caller via the 'A system error occurred, code X' voice message.

Codes reported by the state table are as follows:

Table 1. Error codes reported by voice messages
Code Statement Table Edge
1 assign_overflow: "Assign Overflow"
2 assign_mismatch: "Assign Mismatch"
3 assign_failed: "Assign Failed"
4 eval_mismatch: "Eval Mismatch"
5 not_computed: "Eval Not computed"
6 bad_open_host: "Open Host Unsuccessful"
7 bad_close_host: "Close Host Unsuccessful"
8 host_send_not_open: "Host Send Not Open"
9 host_rcv_no_more_data: "Host Receive No More Data
10 host_rcv_data_not_found: "Host Receive Data Not found"
11 host_rcv_data_prob: "Host Receive Problem"
12 host_rcv_not_open: "Host Receive Not Open"
13 host_rcv_no_response: "Host Receive No Response"
14 pp_line_problem: "Play Prompt Line Problem"
15 pp_nothing_played: "Play Prompt Nothing Played"
16 pv_line_problem: "Play Voice Line Problem"
17 pv_not_found: "Play Voice Not found"
18 sv_unsuccessful: "Save Voice Unsuccessful"
19 dv_unsuccessful: "Delete Voice Unsuccessful"
20 dv_no_voice: "Delete Voice No Voice"
21 rv_line_problem: "Record Voice Line Problem"
22 rv_no_voice: "Record Voice No Voice"
23 rv_disk_full: "Record Voice Disk Full"
24 cvm_failed: "Check Voice Message Failed"
25 sendvm_failed: "Send Voice Messages Failed"
26 cma_failed: "Change Message Attributes Failed"
27 cma_inval_date: "Change Message Attributes Invalid Date"
28 bad_state_table: "Bad Invoke State Table"
29 sv_invalid_req: "Save Voice Invalid Request"
Note: You will get code 6 if you have not started the custom server.

Codes returned by the custom server are as follows:

Table 2. Error codes, types and descriptions
Code Error Type Error Description
101 Custom server error "List locked"
102 Custom server error "List not locked"
103 Custom server error "Internal error"
104 Custom server error "Custom Server not opened"
105 Custom server error "Bad query request"
106 Custom server error "List entry already saved"
107 Custom server error "List entry already deleted"
108 Custom server error "Bad delete request"
109 Custom server error "Bad save request"
110 Custom server error "Bad database number"
111 Custom server error "No database file"
Note:
  1. You will get code 101 if more than one caller at a time attempts to call in and use the inbound fax processing functions.
  2. The most likely cause of error 103 is in the file permissions of the Faxsave directory (which must have write permission for the AIX user account that is set up for Blueworx Voice Response (normally dtuser)).