<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Hello,</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>We are using kamailio for load balancing  as stateless proxy as mentioned below.<br>
</span>
<div><br>
</div>
<div>{$du = "sip:192.168.130.XXX;transport=udp";<br>
</div>
<div>forward();}<br>
</div>
<div><br>
</div>
<div>We have set $du to the correct media server value in the dispatcher module.Can you please tell me how to
<br>
</div>
<div>get the correct dispatcher value(Media server IP) and print this into log file.<br>
</div>
<div><br>
</div>
<div>I am using $ru and $du to print,but it is not giving the correct one.</div>
<div>for example: Suppose for the first call ;<br>
</div>
<div><br>
</div>
<div>$du = "sip:192.168.130.XXX:5060;transport=udp";<br>
</div>
<div>$du = "sip:192.168.130.XXX:5062;transport=udp";<br>
</div>
<span>and so on.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>How to fetch the correct dispatcher value dynamically.</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Any response will be highly appreciated.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Thanks,</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Rudra</span></div>
</body>
</html>