mirror of
https://github.com/jambonz/sbc-sip-sidecar.git
synced 2026-01-24 22:27:52 +00:00
wip
This commit is contained in:
@@ -228,7 +228,7 @@ const updateCarrierRegbots = async(logger, srf) => {
|
|||||||
let batch_count = 0;
|
let batch_count = 0;
|
||||||
for (const gw of getUniqueGateways(gateways, logger)) {
|
for (const gw of getUniqueGateways(gateways, logger)) {
|
||||||
// find gateway account sip realm.
|
// find gateway account sip realm.
|
||||||
if (gw.carrier.account_sid) {
|
if (!gw.carrier.register_public_ip_in_contact && gw.carrier.account_sid) {
|
||||||
const account = await lookupAccountBySid(gw.carrier.account_sid);
|
const account = await lookupAccountBySid(gw.carrier.account_sid);
|
||||||
if (account && account.sip_realm) {
|
if (account && account.sip_realm) {
|
||||||
gw.account_sip_realm = account.sip_realm;
|
gw.account_sip_realm = account.sip_realm;
|
||||||
|
|||||||
Reference in New Issue
Block a user