*** multiplex: connection terminated

  • Hi,


    I would like to limit access by registering the AETITLES in the file dgtesop.lst with RemoteAE, my question is, it may appear in the log which is the AETITLE that is blocking?


    Example: *** multiplex: connection terminated [CONQUESTSVR1]


    In this case CONQUESTSVR1 would not be registered in the dgtesop.lst file with Remote AE.


    I have examined the code, and I still can not put that record.


    Currently it is like this:


    Code
    OperatorConsole.printf ("*** multiplex: connection terminated\n");


    Could there be anything like this?


    Code
    OperatorConsole.printf ("*** multiplex: connection terminated [%s]\n", CallingApTitle);


    Regards,


    James.

  • Marcel,


    Find a way for the blocked AETITLE to appear. I do not know if it is the most appropriate, but, it serves me for now.


    deivr.cxx file


    Function


    BOOL DicomError(int error, const char *message, int info)


    Before


    Code
    printf("DICOM ERROR "); printf(message, info); return FALSE;


    Now


    Code
    printf("DICOM ERROR "); printf(message, info); char msgerror[500]; sprintf(msgerror, "DICOM ERROR %s\n", message); OperatorConsole.printf(msgerror); return FALSE;


    With this change the message appears, and others that did not appear.


    I also managed to locate where the message "Calling AE title not accepted" came from and also did some tests, and also worked.


    pdu.cxx file.


    Function


    BOOL PDU_Service :: InterogateAAssociateRQ()


    Before


    Code
    char *msg = "Calling AE title not accepted: "; char *aet = (char*)AAssociateRQ :: CallingApTitle; char msgshow[100]; sprintf(msgshow, "%s%s", msg, aet); DicomError(DCM_ERROR_ASSOCIATION, msgshow, 0); return ( FALSE );


    With added code


    Code
    char *msg = "Calling AE title not accepted: ";
    char *aet = (char*)AAssociateRQ :: CallingApTitle;
    char msgshow[100];
    sprintf(msgshow, "%s%s", msg, aet);
    DicomError(DCM_ERROR_ASSOCIATION, msgshow, 0);
    OperatorConsole.printf(msgshow);
    return ( FALSE );


    And worked well too.


    For now I'll keep changing the file deivr.cxx.


    Of course, I'm awaiting me what you suggest it, to make it more optimal.


    Regards,


    James.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!