Hello, I’m am trying to figure out how to dynamically specify the Called AE title when auto forwarding a study. This is to have Orthanc function as a “passthru” or “proxy” as I sometimes see it called. Below is the high level scenario:
- Modality sends a study to Orthanc. Calling AE: MOD1 Called AE: DEST1
- Orthanc should then forward the study to a modality but set the Called AE to whatever AE the source study was sent to (DEST1 in this case).
I am able to get the source Called and Calling AE titles from the origin. I just can’t figure out how to overwrite the Called AE title. I am able to set the Calling AE by using the “LocalAET” option.
Is this scenario, I would always route to the IP/port specified in the modality, but just needing to dynamically specify the AE titles of the outbound association.
Is this possible within either a Lua or Python script?
Thanks in advance for the help.