Message237

Author admin
Recipients
Date 2017-07-18.16:35:59
Content
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-07-18.14:35:59]

To forbid connections where the `-aec` (Application Entity Title of the remote DICOM server) does not correspond to the AET of Orthanc, the [configuration option](http://book.orthanc-server.com/users/configuration.html) `DicomCheckCalledAet` has to be set to `true`. Here is a sample session with this option enabled:

```
$ echoscu -v localhost 4242 -aec ORTHANC
I: Requesting Association
I: Association Accepted (Max Send PDV: 16372)
I: Sending Echo Request (MsgID 1)
I: Received Echo Response (Success)
I: Releasing Association

$ echoscu -v localhost 4242 -aec WRONG_ORTHANC
I: Requesting Association
F: Association Rejected:
F: Result: Rejected Permanent, Source: Service User
F: Reason: Called AE Title Not Recognized

$ findscu -P -k QueryRetrieveLevel=STUDY localhost 4242 -aec WRONG_ORTHANC
E: Association Rejected:
E: Result: Rejected Permanent, Source: Service User
E: Reason: Called AE Title Not Recognized

$ storescu localhost 4242 xr_hands.dcm -aec WRONG_ORTHANC
F: Association Rejected:
F: Result: Rejected Permanent, Source: Service User
F: Reason: Called AE Title Not Recognized
```

The `DicomCheckCalledAet` configuration option has been around since the very first releases of Orthanc. I will discuss the `-aet` (AET of the local DICOM client) part together with the IP addresses below.
History
Date User Action Args
2026-07-29 15:51:20adminlinkissue52 messages
2026-07-29 15:51:20admincreate