fix prev checkin

This commit is contained in:
Dave Horton
2020-07-29 09:56:12 -04:00
parent a2c8abb632
commit bd0c8d2783

View File

@@ -71,7 +71,7 @@ function route(opts) {
}
else {
// if the sip domain is one of ours return 404
const account = lookupAccountBySipRealm(uri.host);
const account = await lookupAccountBySipRealm(uri.host);
if (account) {
logger.info(`returning 404 to unregistered user in valid domain: ${req.uri}`);
res.send(404);