<div>Thanks to all. I have doubt again, what is the use of timer_interval and how we can utilize it with the CPS limit for pipes. </div>
<div> </div>
<div>Regards</div>
<div>Rajib<br><br></div>
<div class="gmail_quote">On Mon, Feb 15, 2010 at 10:45 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Yes, you can use the ratelimit module to control the cps.<br>You will need to assign a pipe for each outbound destination.<br>
<br>Regards,<br>Ovidiu Sas<br>
<div>
<div></div>
<div class="h5"><br>On Mon, Feb 15, 2010 at 11:50 AM, rajib deka <<a href="mailto:rajibdk@gmail.com">rajibdk@gmail.com</a>> wrote:<br>> Hi Bogdan,<br>><br>> I agree with you. But I have seen that RATELIMIT module is doing something<br>
> like that. Can we use that module for each gateway by identifying the<br>> gateway at run-time, like<br>><br>> after LB selected the destination, we can have something like<br>> if($du == <sip:some gateway>) {<br>
><br>><br>> if (!rl_check_pipe("1") {<br>> rl_drop();<br>> exit;<br>> };<br>><br>> }<br>><br>> where the pipe is with some cps value and INVITE queue. Is this will be<br>
> efficient.<br>><br>> Regards<br>> Rajib<br>><br>> On Mon, Feb 15, 2010 at 6:58 PM, Bogdan-Andrei Iancu<br>> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>> wrote:<br>>><br>
>> Hi Rajib,<br>>><br>>> LB module is doing routing based on the load as current ongoing calls per<br>>> destination.<br>>><br>>> To compute the CPS for a destination can be a bit tricky - there is no<br>
>> module for doing it, Probably you can try to count the call using some<br>>> shared mem variable (directly in script) and to try to calculate on the fly<br>>> the CPS, but as said, does not seams an easy one (from mathematical<br>
>> perspective).<br>>><br>>> Regards,<br>>> Bogdan<br>>><br>>> rajib deka wrote:<br>>>><br>>>> Hello all,<br>>>> Is it possible to route calls based on cps rate using OpenSIPS load<br>
>>> balancer module. We have an enterprise implementation here using OpsnSIPS<br>>>> load_balancer, which is handling 100 cps using our different trunks. So we<br>>>> want to place calls according to trunks cps capacity. Is there any other<br>
>>> module to handle this situation. your suggestion will be much appreciable.<br>>>> --<br>>>> Rajib Deka<br>>>> Software Engineer<br>>>> Servion Global Solution<br>>>> Chennai, India<br>
>>><br>>>> Mobile No: + 91 80157 09130<br>>><br>>><br>>> --<br>>> Bogdan-Andrei Iancu<br>>> <a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a><br>
>><br>><br>><br>><br>> --<br>> Rajib Deka<br>> Software Engineer<br>> Servion Global Solution<br>> Chennai, India<br>><br>> Mobile No: + 91 80157 09130<br>><br></div></div>> _______________________________________________<br>
> Users mailing list<br>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Rajib Deka<br>Software Engineer<br>Servion Global Solution<br>Chennai, India<br><br>Mobile No: + 91 80157 09130<br>