<div dir="ltr">hi <span style="color:rgb(80,0,80);font-size:12.8000001907349px">Alexandru </span><div><span style="color:rgb(80,0,80);font-size:12.8000001907349px">          </span></div><div><span style="color:rgb(80,0,80);font-size:12.8000001907349px">           so we have </span><span style="color:rgb(80,0,80);font-size:12.8000001907349px">manually</span><span style="color:rgb(80,0,80);font-size:12.8000001907349px"> </span><span style="color:rgb(80,0,80);font-size:12.8000001907349px"> set prefix , weight and priority depanding upon rates  ?  is there any avaliable way to automate or we have to rewrite/modify  the lcr/drouting module for rate selection  , </span></div><div><span style="color:rgb(80,0,80);font-size:12.8000001907349px"><br></span></div><div><span style="color:rgb(80,0,80);font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 9, 2015 at 9:22 PM, Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">however you can try building LCR based on prefix and weight, why not?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-08-09 18:52 GMT+03:00 Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I know CGRateS allow cost-based LCR for Kamailio. Maybe there are some internal Kamailio modules, but I don't know about them</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-09 17:10 GMT+03:00 Arun Kumar <span dir="ltr"><<a href="mailto:mi2arun@gmail.com" target="_blank">mi2arun@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">but above guide is only prefix priority and weight based   , but we should involve rate as well. <div> , </div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 9, 2015 at 3:09 PM, Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Or, well, see that guide <a href="http://dopensource.com/least-cost-routing-with-kamailio-v4-1/" target="_blank">http://dopensource.com/least-cost-routing-with-kamailio-v4-1/</a> - we have priority and weight on LCR module</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-09 12:37 GMT+03:00 Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">try using CGRateS</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-08-09 12:06 GMT+03:00 Arun Kumar <span dir="ltr"><<a href="mailto:mi2arun@gmail.com" target="_blank">mi2arun@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi <div> </div><div>     is there any way to achive following usecase using carrier route / LCR / droude module </div><div><br></div><div><div style="font-size:12.8000001907349px">i have 10 different termination gateways, each gateways will have more than 10000 destinations and each gateways will have different rate, for example</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">91 Destination ( there will be 10000 entries like 91 )</div><div style="font-size:12.8000001907349px">gw1 <span style="white-space:pre-wrap">      </span>          gw2 <span style="white-space:pre-wrap">    </span> gw3 <span style="white-space:pre-wrap"> </span>         gw4   <span style="white-space:pre-wrap">  </span>gw5 </div><div style="font-size:12.8000001907349px">0.001<span style="white-space:pre-wrap">        </span>0.007<span style="white-space:pre-wrap">   </span>0.003<span style="white-space:pre-wrap">   </span>0.002<span style="white-space:pre-wrap">   </span>0.003</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">now need to logic to load the these destination with cost and sort gateways in order of longest match of dialled number,cost, priority for the dialled destination, which will not use too much CPU and memory</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Regards</div><span><font color="#888888"><div style="font-size:12.8000001907349px">Arun</div></font></span></div>
<br></div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: <a href="tel:%2B37367398493" value="+37367398493" target="_blank">+37367398493</a><br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: <a href="tel:%2B37367398493" value="+37367398493" target="_blank">+37367398493</a><br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: <a href="tel:%2B37367398493" value="+37367398493" target="_blank">+37367398493</a><br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>