mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
Fix/env vars rest dial (#1225)
* rest dial needs to support env vars * wip
This commit is contained in:
@@ -424,8 +424,8 @@ module.exports = function(srf, logger) {
|
||||
logger.info(`Setting env_vars: ${Object.keys(d_env_vars)}`); // Only log the keys not the values
|
||||
env_vars = d_env_vars;
|
||||
}
|
||||
} catch (error) {
|
||||
logger.info('Unable to set env_vars', error);
|
||||
} catch (err) {
|
||||
logger.info({err}, 'Unable to set env_vars');
|
||||
}
|
||||
const params = Object.assign(['POST', 'WS'].includes(app.call_hook.method) ? { sip: req.msg } : {},
|
||||
req.locals.callInfo,
|
||||
|
||||
Reference in New Issue
Block a user