[OpenSIPS-Users] I need some understanding how does opensips do loadbalancing with SRV record .
Sasmita Panda
spanda at 3clogic.com
Wed Jan 22 14:10:42 UTC 2025
Hi ,
I have a domain mapped as SRV as below in route 53 .
_sip._udp.fs.sip.dev.xxx.com ttl : 60sec
1 10 6080 1.1.1.1
1 10 6080 2.2.2.2
Inside opensips config
if(is_from_gw())
{
sethost("fs.sip.dev.xxx.com");
setport("");
route(inbound);
*}*
*As for the SRV record , the explanation says , opensips must do round
robin while giving a call to the destination . I mean , when I am placing
multiple calls both servers must get a call one by one , but I can see 2/3
calls at a time going to the same server . Why is this happening ? *
*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250122/2d65f28e/attachment.html>
More information about the Users
mailing list