mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
fixed failing test cases
This commit is contained in:
@@ -334,7 +334,7 @@ class CallSession extends Emitter {
|
|||||||
|
|
||||||
// passing gateway outbound auth that sbc-inbound can send RE-INVITE with authentication process on UAS side
|
// passing gateway outbound auth that sbc-inbound can send RE-INVITE with authentication process on UAS side
|
||||||
const {gateway} = this.req.locals;
|
const {gateway} = this.req.locals;
|
||||||
if (gateway.register_username && gateway.register_password) {
|
if (gateway && gateway.register_username && gateway.register_password) {
|
||||||
this.logger.debug('passing outbound gateway auth to CallSession for reinvite processing');
|
this.logger.debug('passing outbound gateway auth to CallSession for reinvite processing');
|
||||||
uas.auth = {
|
uas.auth = {
|
||||||
username: gateway.register_username,
|
username: gateway.register_username,
|
||||||
|
|||||||
Reference in New Issue
Block a user