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