A.2. Exit Codes

Much like any other executable binary, Promptar HTTPBX Connector will return different exit codes depending on its exit condition. To determine it, use the $? environment variable in a Linux shell and the %ERRORLEVEL% one on a Windows command line shell.

The table below summarizes them.

exit code motive

0

Normal exit.

1

Normal exit - printed out version.

2

Normal exit - printed out usage syntax.

255

Invalid command line syntax.

254

Too many command line syntax.

253

Invalid command line [[address:]port] format.

252

Configuration file error.

Check the printed out message for details.

251

Invalid configuration.

Check the printed out message for details.

250

Bad logging configuration.

Check the printed out message for details.

249

Failed setting up the network or core windows handlers.

Check the log file and/or the printed out message for details

Other exit codes may be used: under those conditions, check the log file.