comparison OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp @ 4143:1ec3e1e18f50

Add missing tag "Retrieve AE Title (0008,0054)" in C-FIND SCP responses
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Aug 2020 08:19:02 +0200
parents 05b8fd21089c
children 0034f855c023
comparison
equal deleted inserted replaced
4142:0ea450e1f0ea 4143:1ec3e1e18f50
67 result["DatabaseVersion"] = OrthancRestApi::GetIndex(call).GetDatabaseVersion(); 67 result["DatabaseVersion"] = OrthancRestApi::GetIndex(call).GetDatabaseVersion();
68 result["IsHttpServerSecure"] = context.IsHttpServerSecure(); // New in Orthanc 1.5.8 68 result["IsHttpServerSecure"] = context.IsHttpServerSecure(); // New in Orthanc 1.5.8
69 69
70 { 70 {
71 OrthancConfiguration::ReaderLock lock; 71 OrthancConfiguration::ReaderLock lock;
72 result["DicomAet"] = lock.GetConfiguration().GetStringParameter("DicomAet", "ORTHANC"); 72 result["DicomAet"] = lock.GetConfiguration().GetOrthancAET();
73 result["DicomPort"] = lock.GetConfiguration().GetUnsignedIntegerParameter("DicomPort", 4242); 73 result["DicomPort"] = lock.GetConfiguration().GetUnsignedIntegerParameter("DicomPort", 4242);
74 result["HttpPort"] = lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042); 74 result["HttpPort"] = lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042);
75 result["Name"] = lock.GetConfiguration().GetStringParameter("Name", ""); 75 result["Name"] = lock.GetConfiguration().GetStringParameter("Name", "");
76 } 76 }
77 77