added dapnet support, finally working ;-)

master
cheetah 4 years ago
parent 6c2c8965e7
commit 90e2391a8f

@ -22,7 +22,7 @@
},
"dapnet": {
"enabled": true,
"endpoint": "dapnet.afu.rwth-aachen.de",
"endpoint": "http://hampager.de:8080/calls",
"username": "DAPNET_Username",
"password": "DAPNET_Passwort"
}

@ -31,7 +31,9 @@ class DAPNETConnector extends Connector {
.then(() => {
this.connectorRegistry.reportState(msg, UUID, 'routed')
return true
}).catch((err) => {
})
.catch((err) => {
console.error(err.response.data)
this.connectorRegistry.reportFail(msg, UUID)
return false
})

Loading…
Cancel
Save