diff --git a/lib/utils/install-srf-locals.js b/lib/utils/install-srf-locals.js index f9123fda..5ffb8e9c 100644 --- a/lib/utils/install-srf-locals.js +++ b/lib/utils/install-srf-locals.js @@ -50,7 +50,10 @@ function installSrfLocals(srf, logger) { assert.ok(arr, `Invalid syntax JAMBONES_FREESWITCH: ${process.env.JAMBONES_FREESWITCH}`); const opts = {address: arr[1], port: arr[2], secret: arr[3]}; if (arr.length > 4) opts.advertisedAddress = arr[4]; - if (process.env.NODE_ENV === 'test') opts.listenAddress = '0.0.0.0'; + /* NB: originally for testing only, but for now all jambonz deployments + have freeswitch installed locally alongside this app + */ + /*if (process.env.NODE_ENV === 'test') */opts.listenAddress = '0.0.0.0'; return opts; }); logger.info({fsInventory}, 'freeswitch inventory');