Issue with DICOM Q/R when multiple same AE Titles in config

Hi all.

Got an intersting thing.
Deployed few Weasis viewers with same called AETitle “WEASIS”

when i enable all modalities - Q/R don’t working. When i change AETitle all works.

Hi,

I confirm I can reproduce your issue with the docker-compose file below.
If I perform a Q&R from orthanc-b, when asked for the AET of the destination, since I’m entering WEASIS, the Orthanc acting as a PACS has no way to differentiate the 2 destinations with the same AET and therefore, the images arrives on orthanc-a.

I think this is a limitation of the C-Move implementation in the DICOM protocol and the only way to circumvent this is indeed to use different AET for each modality.
If you configure WEASIS to use C-Get instead to retrieve the data, it should work (don’t know if it is possible though !).

Hope this helps,

Alain.

version: "2"
services:
  pacs:
    image: osimis/orthanc:23.3.5
    ports: ["8042:8042"]
    volumes: ["storage-pacs:/var/lib/orthanc/db/"]
    environment:
      ORTHANC__AUTHENTICATION_ENABLED: "false"
      ORTHANC__NAME: "Orthanc PACS"
      ORTHANC__DICOM_AET: "PACS"
      ORTHANC__DICOM_MODALITIES: |
        {
          "a": ["WEASIS", "orthanc-a", 4242],
          "b": ["WEASIS", "orthanc-b", 4242]
        }
      VERBOSE_ENABLED: "true"

  orthanc-a:
    image: osimis/orthanc:23.3.5
    ports: ["8052:8042"]
    volumes: ["storage-a:/var/lib/orthanc/db/"]
    environment:
      ORTHANC__AUTHENTICATION_ENABLED: "false"
      ORTHANC__NAME: "Orthanc WEASIS A"
      ORTHANC__DICOM_AET: "WEASIS"
      ORTHANC__DICOM_MODALITIES: |
        {
          "pacs": ["PACS", "pacs", 4242]
        }
      VERBOSE_ENABLED: "true"

  orthanc-b:
    image: osimis/orthanc:23.3.5
    ports: ["8053:8042"]
    volumes: ["storage-b:/var/lib/orthanc/db/"]
    environment:
      ORTHANC__AUTHENTICATION_ENABLED: "false"
      ORTHANC__NAME: "Orthanc WEASIS B"
      ORTHANC__DICOM_AET: "WEASIS"
      ORTHANC__DICOM_MODALITIES: |
        {
          "pacs": ["PACS", "pacs", 4242]
        }
      VERBOSE_ENABLED: "true"

volumes:
  storage-pacs:
  storage-a:
  storage-b: