..

Dialogic Brooktrout, moving card and code from old server to new server and getting a status 28 error

..

Developer Group

Developer Group
Connect with thousands of other developers to brainstorm ideas, share best practices and tips - or just chat about the latest emerging technologies making noise in the field. And of course, get the most up-to-date service and support news from Dialogic.
Dialogic Brooktrout Fax

Dialogic Brooktrout, moving card and code from old server to new server and getting a status 28 error

  • We installed the card and the new SDK's in the new server. We run the configuration wizard and have the settings the same as the old server, the Boston Host service is running. When I run the code I get an error on BfvLineReset. I'm not sure if the card is not configured correct or if the code can't find the btcall.cfg file. The error is "BfvLineReset: Misc error: File open/read/write error.: status 28". The server logs don't show the OS is blocking the code from accessing any files. I don't get an error on BfvLineAttach,, I put the section of code below. I run the "tones" code and get the same error. what would be the cause, or what should I check and test to see what needs fixed? Thanks Shane

    "
    BT_ZERO(args);
    args.unit = 0; /*Set Line to 1*/

    lp = BfvLineAttach(&args); /* Grab a line */

    if (lp == NULL)
    {
    BfvErrorMessage(lp, &args.res, &bterr);
    printf("BfvLineAttach: %s\n", bterr.long_msg);
    exit(1);
    }
    BT_ZERO(args);

    args.config_file_name = "btcall.cfg";
    if (BfvLineReset(lp, &args) < 0) /* Must always init lines */
    {
    BfvErrorMessage(lp, &args.res, &bterr);
    fprintf(stderr, "BfvLineReset: %s: status %lX.\n",
    bterr.long_msg, args.reset_status);
    exit(1);
    }

    "

  • Hello Shane.  All the reset_status values are located in mill_api.h and are OR'd together.  What you're seeing means that BfvLineReset is unable to find your btcall.cfg file.  You want to make sure to point to btcall.cfg correctly.

  • Thanks, I put the complete path for 'btcall.cfg" in the code.  I thought the default path would have been handled somewhere in the include header files.  It's working now.

  • You're welcome.