Wildcard config for DICOM clients

273 views
Skip to first unread message

kacey...@gmail.com

unread,
Apr 12, 2016, 2:10:24 PM4/12/16
to Orthanc Users
Is there a way to use wildcards in the LIST OF DICOM CLIENTS portion of the config? I have several Osirix users and would like to use a single entry to encompass all of them..something like this:

"Osirix" : [ "OsiriX-%", "172.17.000.%", 11112]

If possible, this would keep me from having to add an entry for each one.

Sébastien Jodogne

unread,
Apr 12, 2016, 2:38:58 PM4/12/16
to Orthanc Users, kacey...@gmail.com
Hello,

No, there is no such a feature in Orthanc.

I would suggest you to create a simple script that would automatically generate your configuration file, given the number of OsiriX clients.

This could for instance be done in a few lines of Python.

Bert

unread,
Apr 14, 2016, 3:46:57 AM4/14/16
to Orthanc Users, kacey...@gmail.com
To piggyback off of this, because I have the same issue, is there a way to change the configuration file through the Orthanc interface then, without having to restart Orthanc?

In my use-case, Orthanc runs on a restricted device, yet the data that the Orthanc serves is not private or is restricted, only the device hardware is. This means the end-user can not change configuration scripts or even restart Orthanc. It is then impossible to use a new DICOM viewer which was not added to the configuration file from the start.

Sébastien Jodogne

unread,
Apr 14, 2016, 4:37:17 AM4/14/16
to Orthanc Users, kacey...@gmail.com, bert.van...@gmail.com
Yes, you can remotely reboot Orthanc by POST-ing an empty HTTP query on URI "/tools/reset". For instance using curl:


HTH,
Sébastien-

Peter Parker

unread,
May 26, 2016, 3:08:01 AM5/26/16
to Orthanc Users, kacey...@gmail.com, bert.van...@gmail.com
Hi Sébastien,


But it is so simple, 

Do you have any detail document for these APIs?

Thanks,

Sébastien Jodogne

unread,
May 26, 2016, 3:22:17 AM5/26/16
to Orthanc Users, kacey...@gmail.com, bert.van...@gmail.com
Besides this quick reference of the REST API, you can refer to the Orthanc Book (https://orthanc.chu.ulg.ac.be/book/users/rest.html) and to the integration tests to have full working examples (https://bitbucket.org/sjodogne/orthanc-tests/src/default/Tests/Tests.py).

Sébastien-
Reply all
Reply to author
Forward
0 new messages