Still trying to get DIMSE+WADO-URI working

This commit is contained in:
Erik Ziegler committed 2016-02-10 10:50:20 +01:00
1 parent ae0d6f3310
commit 7d42456f57
3 files changed
+18 -7

No files matched your search

+4 -3
View File
@@ -23,11 +23,12 @@ Meteor.startup(function() {
}
}]
},
dimse: {
dimse: [{
host: 'localhost',
port: 4242,
hostAE: 'ORTHANC'
},
aeTitle: 'ORTHANC',
default: true
}],
defaultServiceType: 'dicomWeb'
//defaultServiceType: 'dimse'
};
+6 -3
View File
@@ -10,9 +10,12 @@ var conn = new Connection({
Meteor.startup(function(){
var peers = Meteor.settings.dimse;
peers.forEach(function(peer){
conn.addPeer(peer);
});
console.log('Adding DIMSE peers');
if (peers && peers.length) {
peers.forEach(function(peer){
conn.addPeer(peer);
});
}
});
DIMSE.associate = function(contexts, callback) {
+8 -1
View File
@@ -21,7 +21,14 @@
"dimse" : [{
"host" : "localhost",
"port" : 4242,
"aeTitle" : "ORTHANCLOCAL"
"aeTitle" : "ORTHANC",
"default": true
},{
"host" : "0.0.0.0",
"port" : 11112,
"aeTitle" : "OHIFDCM",
"default" : true,
"server" : true
}],
"defaultServiceType": "dimse"
}