mirror of
https://github.com/jambonz/sbc-outbound.git
synced 2026-07-04 19:32:04 +00:00
logging
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ function route(opts) {
|
||||
// user is registered..find out which sbc is handling it
|
||||
// us => we can put the call through
|
||||
// other sbc => proxy the call there
|
||||
logger.info({details: req.locals.registration}, `sending call to registered user ${aor}`);
|
||||
logger.info({details: reg}, `sending call to registered user ${aor}`);
|
||||
if (req.server.hostport !== reg.sbcAddress) {
|
||||
//proxy
|
||||
const proxyAddress = selectHostPort(reg.sbcAddress, 'udp');
|
||||
|
||||
Reference in New Issue
Block a user