<div dir="ltr">+1<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2019 at 4:51 PM Karsten Horsmann <<a href="mailto:khorsmann@gmail.com">khorsmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">If you want to loadbalance the stuff dynamic to a group of target servers you can use the dispatcher module. </div><div dir="auto"><br></div><div dir="auto">They are many HowTos for that and the module documentation is also the best way to get it working. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten </div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Narayan P <<a href="mailto:narayana88@outlook.com" target="_blank">narayana88@outlook.com</a>> schrieb am Fr., 18. Okt. 2019, 14:02:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div 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>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>