[OpenSIPS-Users] Registrant & LB with SRV

Antonios Psaras apsaras at microbase.gr
Fri Jun 20 09:24:28 UTC 2025


Hello Team

 

I have the following situation.

 

A telecom carrier requires SIP Registration prior to Dial out using SIP
Domain and SRV Lookup.

 

To achieve that I am using registrant module and load balancing module.

 

The problem I have, is that in some cases registrant registers on different
SBC of the Carrier than the one resolved by Load Balancer Module so my
outbound calls are failing with 407.

 

I have two thoughts but I do not know how to implement any of those.

 

1.	Instead of using LB Modules, I will some how get the registrar IP
from registrant module and statically route the calls through that. Is there
a way to get that information from registrant module?
2.	DNS lookup is done automatically only in case of 503 or timeout. Is
there a way to force DNS lookup with in OpenSIP Script? If yes I can handle
407, force DNS Lookup, create a new branch and re-send the call.

 

Any other thoughts are welcome

 

Best regards

 

Antonis Psaras

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250620/60e474a9/attachment.html>


More information about the Users mailing list