Get the calling AE Title of the modality in python

Hello!

is there a simple way to get the Calling AE of the modality which sent the Study/Series/Instance to the Orthanc server?

Im writing and external Python(routing-)script which uses rest REST-Api of orthanc, getting and sending studies works like a charm.

Just the assignment to different receiving nodes gives me a bit of an headache:

I have different DICOM Nodes as targets and need something to define as “trigger” like:

Instances as from CallingAE “CTMOD1” …send to Node1
Instances are from CallingAE “CTMOD2”…send to Node2

Are there any usefull values i can read via the REST-Api?

best regards,

Ben

Problem solved, found the solution in this thread:

https://groups.google.com/forum/#!msg/orthanc-users/4iQiEZo3XAs/CGDIWEvrAQAJ