mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
add support for using ws to connect to rtpengine
This commit is contained in:
3
app.js
3
app.js
@@ -55,7 +55,8 @@ const {createSet, retrieveSet, addToSet, removeFromSet, incrKey, decrKey} = requ
|
||||
|
||||
const {getRtpEngine, setRtpEngines} = require('@jambonz/rtpengine-utils')([], logger, {
|
||||
emitter: stats,
|
||||
dtmfListenPort: process.env.DTMF_LISTEN_PORT || 22224
|
||||
dtmfListenPort: process.env.DTMF_LISTEN_PORT || 22224,
|
||||
useWS: process.env.RTPENGINE_USE_WS
|
||||
});
|
||||
srf.locals = {...srf.locals,
|
||||
stats,
|
||||
|
||||
Reference in New Issue
Block a user