fix cannot get register username/password

This commit is contained in:
Hoan HL
2025-11-20 13:13:50 +07:00
parent 0862416eba
commit e9101f733c

View File

@@ -335,7 +335,7 @@ class CallSession extends Emitter {
// passing gateway outbound auth that sbc-inbound can send RE-INVITE with authentication process on UAS side
const {gateway} = this.req.locals;
if (gateway.register_username && gateway.register_password) {
this.logger.info('passing outbound gateway auth to CallSession for reinvite processing');
this.logger.debug('passing outbound gateway auth to CallSession for reinvite processing');
uas.auth = {
username: gateway.register_username,
password: gateway.register_password