Conquest and AET association

  • Hello everybody
    i'm developing a dicom interface for a device.
    I try to send a verification message to conquest, but there is something not clear.
    My questions:
    - does conquest accept association request from any AE, even if it's not on the list (ACRNEME.MAP)?
    - why conquest doesn't use the port that I wrote on the list? it uses another port (a random port?!)
    - Calling and called AET must be exactly 16 bytes? If i pad with zero (H20), i have to change the AET in the list too?


    Conquest log:

    Code
    [CONQUESTSRV1] Connected by address: 0100007f[CONQUESTSRV1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'[CONQUESTSRV1] [CONQUESTSRV1] UPACS THREAD 0: STARTED AT: Sat Mar 12 16:08:58 2011[CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump[CONQUESTSRV1] Calling Application Title : "PIPPO "[CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "[CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384[CONQUESTSRV1] Number of Proposed Presentation Contexts: 1[CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.1.1" 1[CONQUESTSRV1] Server Command := 0030[CONQUESTSRV1] Message ID := 0100[CONQUESTSRV1] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1" [CONQUESTSRV1] 0000,0100 2 US CommandField 48 [CONQUESTSRV1] 0000,0110 2 US MessageID 256 [CONQUESTSRV1] 0000,0800 2 US DataSetType 257 [CONQUESTSRV1] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" [CONQUESTSRV1] C-Echo[CONQUESTSRV1] UPACS THREAD 0: ENDED AT: Sat Mar 12 16:09:01 2011[CONQUESTSRV1] UPACS THREAD 0: TOTAL RUNNING TIME: 3 SECONDS


    ACRNEMA:

    Code
    CONQUESTSRV1 192.168.1.160 5678 un
    V* * 1234 un
    S* * 5678 un


    AET= PIPPO is not present on the list, but with a sniffer i can see that conquest reply with a A-ASSOCIATE-AC pdu (it accepts the association).


    I hope you can solve my problems, thank you.


    f.

  • Hi,


    by default conquest accepts all requests. You can limit this in dgatesop.lst if required. I believe any IP connection uses another port for the return connection, this happens even if you use telnet or so. The AE should be padded with spaces I believe, although conquest accepts either spaces or zeros, the file does not need the spaces.


    Marcel

  • thank you Marcel,
    but i need to set a port for the return connection,because i need to read the server reply.
    Can you show me how to modify the dgatesop file to set the "PIPPO" AE for the verification sop?


    f.

  • Hi,


    that list is for a c-move command: you then ask to send images to an AE. That AE is looked up in acrnema.map to get the address and port. This is required as the c-move destination is a third party. Verification and query only use two parties, the client and the server (DICOM is not so easy).


    Marcel

  • your answers are very helpful for me!
    I know that dicom is not easy...i spent six months to study all the standard and now I've the first version of my application that constructs dicom pdu, sop (verification, worklist and storage), command and objects.
    I would test it using conquest, but now i know that acrnema file isn't the right way to intercept the server response.
    From your experience, all the dicom server responds on a unknwon port? how can I read the stream if I have no access to the server source code?
    f.

Participate now!

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