Skip to content

Commit

Permalink
Add proxy fqdn from environment to /user/me (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stell0 authored Apr 18, 2024
1 parent 3062dae commit 50319a2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,14 @@ function setCompUtil(comp) {
} else {
logger.log.info(IDLOG, "LK not enabled");
}

// Add NS8 proxy fqdn
var proxy_fqdn = process.env.NETHVOICE_PROXY_FQDN;
if (proxy_fqdn) {
result.proxy_fqdn = proxy_fqdn;
} else {
logger.log.info(IDLOG, "Proxy fqdn missing");
}
} else {
var strerr = 'sending user info to user "' + username + '": wrong format';
logger.log.error(IDLOG, strerr);
Expand Down

0 comments on commit 50319a2

Please sign in to comment.