/* informative values (corresponding message was processed) */
case0x0001:
return"NCPI not supported by current protocol, NCPI ignored";
case0x0002:
return"Flags not supported by current protocol, flags ignored";
case0x0003:
return"Alert already sent by another application";
/* error information concerning CAPI_REGISTER */
case0x1001:
return"Too many applications";
case0x1002:
return"Logical block size to small, must be at least 128 Bytes";
case0x1003:
return"Buffer exceeds 64 kByte";
case0x1004:
return"Message buffer size too small, must be at least 1024 Bytes";
case0x1005:
return"Max. number of logical connections not supported";
case0x1006:
return"Reserved";
case0x1007:
return"The message could not be accepted because of an internal busy condition";
case0x1008:
return"OS resource error (no memory ?)";
case0x1009:
return"CAPI not installed";
case0x100A:
return"Controller does not support external equipment";
case0x100B:
return"Controller does only support external equipment";
/* error information concerning message exchange functions */
case0x1101:
return"Illegal application number";
case0x1102:
return"Illegal command or subcommand or message length less than 12 bytes";
case0x1103:
return"The message could not be accepted because of a queue full condition !! The error code does not imply that CAPI cannot receive messages directed to another controller, PLCI or NCCI";
case0x1104:
return"Queue is empty";
case0x1105:
return"Queue overflow, a message was lost !! This indicates a configuration error. The only recovery from this error is to perform a CAPI_RELEASE";
case0x1106:
return"Unknown notification parameter";
case0x1107:
return"The Message could not be accepted because of an internal busy condition";
case0x1108:
return"OS Resource error (no memory ?)";
case0x1109:
return"CAPI not installed";
case0x110A:
return"Controller does not support external equipment";
case0x110B:
return"Controller does only support external equipment";
/* error information concerning resource / coding problems */
case0x2001:
return"Message not supported in current state";
case0x2002:
return"Illegal Controller / PLCI / NCCI";
case0x2003:
return"Out of PLCIs";
case0x2004:
return"Out of NCCIs";
case0x2005:
return"Out of LISTEN requests";
case0x2006:
return"Out of FAX resources (protocol T.30)";
case0x2007:
return"Illegal message parameter coding";
/* error information concerning requested services */
case0x3001:
return"B1 protocol not supported";
case0x3002:
return"B2 protocol not supported";
case0x3003:
return"B3 protocol not supported";
case0x3004:
return"B1 protocol parameter not supported";
case0x3005:
return"B2 protocol parameter not supported";
case0x3006:
return"B3 protocol parameter not supported";
case0x3007:
return"B protocol combination not supported";
case0x3008:
return"NCPI not supported";
case0x3009:
return"CIP Value unknown";
case0x300A:
return"Flags not supported (reserved bits)";
case0x300B:
return"Facility not supported";
case0x300C:
return"Data length not supported by current protocol";
case0x300D:
return"Reset procedure not supported by current protocol";
case0x300E:
return"TEI assignment failed or supplementary service not supported";
case0x3010:
return"Request not allowed in this state";
/* informations about the clearing of a physical connection */
case0x3301:
return"Protocol error layer 1 (broken line or B-channel removed by signalling protocol)";
case0x3302:
return"Protocol error layer 2";
case0x3303:
return"Protocol error layer 3";
case0x3304:
return"Another application got that call";
/* T.30 specific reasons */
case0x3311:
return"Connecting not successful (remote station is no FAX G3 machine)";
case0x3312:
return"Connecting not successful (training error)";
case0x3313:
return"Disconnected before transfer (remote station does not support transfer mode, e.g. resolution)";
case0x3314:
return"Disconnected during transfer (remote abort)";
case0x3315:
return"Disconnected during transfer (remote procedure error, e.g. unsuccessful repetition of T.30 commands)";
case0x3316:
return"Disconnected during transfer (local tx data underrun)";
case0x3317:
return"Disconnected during transfer (local rx data overflow)";
case0x3318:
return"Disconnected during transfer (local abort)";