Still trying to get DIMSE+WADO-URI working

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

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'
};

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) {

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"
}