Modify calling AETitle

Dear all,

I am new to Orthanc, used to working with dcm4chee.

We have a scenario, where we want to use Orthanc as a DICOM router. We have made a lua script, that forwards studies based on the AETitle that they are received on.

But because of some legacy integrations with old systems, there are some cases, where we need Orthanc to present itself with another AETitle when forwarding a study.

Example:
We have a VPN to a clinic, where we can send studies. We have to send them as PACS_1

We have another clinic, where we can only send as PACS_002 or they will reject what we are sending.

We already have a script, that will check what AEtitle was used, when Orthanc receives a study and we use that to determine where to forward the study.

Is it possible to configure Orthanc, so it will use different calling AETitles when it forwards the studies?
Or do we need to install separate instances of Orthanc for this?
Or can it be done with Python?

Hello,

You could have a look on that page:
https://book.orthanc-server.com/users/rest.html?highlight=localaet#rest-store-scu
In the curl command, the value “LocalAet” should allow you to reach your goal.

HTH,

Hello,

I have just added a new field “LocalAet” in the definition of the DICOM modalities (configuration option “DicomModalities”).

This allows to overwrite the global AET of Orthanc (as specified in global configuration option “DicomAet”) on a per-modality basis.

Here is the relevant changeset:
https://hg.orthanc-server.com/orthanc/rev/522e13a60cfc

This new feature will be part of forthcoming Orthanc 1.9.0.

Kind Regards,
Sébastien-