add protocol for outbound call (#82)

* add protocol for outbound call

* add protocol for outbound call

* update db-helper version

* lcr fixes

* fix cancel test

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
This commit is contained in:
Hoan Luu Huu
2023-05-11 01:43:46 +07:00
committed by GitHub
parent d604440907
commit 76558cc5c9
9 changed files with 239 additions and 114 deletions

4
app.js
View File

@@ -37,7 +37,7 @@ const setNameRtp = `${(process.env.JAMBONES_CLUSTER_ID || 'default')}:active-rtp
const rtpServers = [];
const {
ping,
performLcr,
lookupOutboundCarrierForAccount,
lookupAllTeamsFQDNs,
lookupAccountBySipRealm,
lookupAccountBySid,
@@ -84,7 +84,7 @@ srf.locals = {...srf.locals,
idleEmitter,
dbHelpers: {
ping,
performLcr,
lookupOutboundCarrierForAccount,
lookupAllTeamsFQDNs,
lookupAccountBySipRealm,
lookupAccountBySid,