Configuring distinct AETs for receiving and sending studies in Orthanc

Hi all,

I’m working on an autorouting Lua script in Orthanc that forwards studies using RestApiPost, and that part is working reliably.

Our updated use case now requires Orthanc to receive studies on one AE Title, and then forward them using a different AE Title. The goal is to consistently and predictably segregate studies downstream based on the sending AE Title.

From what I understand, the DicomAet value in the configuration file sets Orthanc’s AE Title globally — for both inbound and outbound DICOM associations.

Is there any way to configure Orthanc to use one AE Title for receiving and a different AE Title when initiating C-STORE requests?

Thanks in advance for any insights or workarounds!

Hi Liro,

This is definitely possible :slight_smile:

You could tune your configuration file according to the explanation here:
https://orthanc.uclouvain.be/hg/orthanc/file/Orthanc-1.12.7/OrthancServer/Resources/Configuration.json#l468

The LocalAet is the AET of Orthanc (seen by the distant DICOM node) when Orthanc acts as an SCU (e.g when it initiates a C-Store).

You could also set this in the body of the request, here is the explanation:

HTH,

Benoit

1 Like

Outstanding! Thank you for the direction and links!