mirror of
https://github.com/jambonz/sbc-outbound.git
synced 2025-12-19 04:27:45 +00:00
fix prev checkin
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user