Hi,
If you want to loadbalance the stuff dynamic to a group of target servers
you can use the dispatcher module.
They are many HowTos for that and the module documentation is also the best
way to get it working.
Cheers
Karsten
Narayan P <narayana88(a)outlook.com> schrieb am Fr., 18. Okt. 2019, 14:02:
Hello,
We are using kamailio for load balancing as stateless proxy as mentioned
below.
{$du = "sip:192.168.130.XXX;transport=udp";
forward();}
We have set $du to the correct media server value in the dispatcher
module.Can you please tell me how to
get the correct dispatcher value(Media server IP) and print this into log
file.
I am using $ru and $du to print,but it is not giving the correct one.
for example: Suppose for the first call ;
$du = "sip:192.168.130.XXX:5060;transport=udp";
$du = "sip:192.168.130.XXX:5062;transport=udp";
and so on.
How to fetch the correct dispatcher value dynamically.
Any response will be highly appreciated.
Thanks,
Rudra
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users