Still trying to get DIMSE+WADO-URI working
This commit is contained in:
parent
ae0d6f3310
commit
7d42456f57
@ -23,11 +23,12 @@ Meteor.startup(function() {
|
||||
}
|
||||
}]
|
||||
},
|
||||
dimse: {
|
||||
dimse: [{
|
||||
host: 'localhost',
|
||||
port: 4242,
|
||||
hostAE: 'ORTHANC'
|
||||
},
|
||||
aeTitle: 'ORTHANC',
|
||||
default: true
|
||||
}],
|
||||
defaultServiceType: 'dicomWeb'
|
||||
//defaultServiceType: 'dimse'
|
||||
};
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user