mirror of
https://github.com/jambonz/sbc-sip-sidecar.git
synced 2025-12-19 04:27:46 +00:00
wip
This commit is contained in:
@@ -228,7 +228,7 @@ const updateCarrierRegbots = async(logger, srf) => {
|
||||
let batch_count = 0;
|
||||
for (const gw of getUniqueGateways(gateways, logger)) {
|
||||
// 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);
|
||||
if (account && account.sip_realm) {
|
||||
gw.account_sip_realm = account.sip_realm;
|
||||
|
||||
Reference in New Issue
Block a user