Error: abnormal termination (code 23)

  • Federico

    Federico - 2008-08-28

    I have a problem:
    I received a lot of fax correctely, but when I received one error transmission the fax don't remain in "waiting for activity" status.
    Usually the error is:

    efax-0.9a: 09:57:24 Warning: reception errors
    efax-0.9a: 09:57:27 Error: abnormal termination (code 23)
    efax-0.9a: 09:57:27 Error: Transmit Phase B Hangup Codes:
    efax-0.9a: 09:57:27 Error:   COMREC invalid command received

    and with this error I can print and see the fax received correctely.
    So I would like fax remain in  "waiting for activity." status even if it receives an error.

    thank you in advance for your help.


    • Chris Vine

      Chris Vine - 2008-08-28

      The code assumes that if the modem has reached an irrecoverable error state on a particular transmission then it is likely to be pointless staying in receive standby mode.

      I will have a think about that, but if you want to deal with it yourself then you can amend line 811 of file efax_controller.cpp:

              if ((!exit_code || exit_code == 3)

      so that it reads:

              if ((!exit_code || exit_code == 2 || exit_code == 3)

      and then recompile the program.


    • Federico

      Federico - 2008-08-29

      Ok thank you very much for your help


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks