<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Isn’t that a per profile limit rather than per gateway?<div><br></div><div>I was thinking to use limit app in execute_on_originate but don’t really like the idea.</div><div><br></div><div>I think there should be a simplier way to limit the number of calls going theough a gateway.<br><br><div id="AppleMailSignature">Sent from my iPhone</div><div><br>On 5 Nov 2017, at 14:34, Mirko Brankovic <<a href="mailto:mirkobrankovic@gmail.com">mirkobrankovic@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="auto">I guess you can use <h2 style="margin:1em 0px;padding:0px;border:0px;outline:0px;font-size:17px;font-family:arial,sans-serif;color:rgb(51,51,51);line-height:1.25;background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:17px;font-family:inherit">max-sessions</span></h2><div dir="auto"><span style="font-size:14.45px">you should be able to set it in vars.xml </span></div><div dir="auto"><span style="font-size:12.2825px"><a href="https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/9634306">https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/9634306</a></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 4, 2017 20:50, "Tihomir Culjaga" <<a href="mailto:tculjaga@gmail.com">tculjaga@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi, is there any way to limit the number of channels going through a gateway ?<div><br></div><div>i have a scenario like this:</div><div><br></div><div>bgapi originate [origination_uuid=uuid1]user/<wbr>1001 &park()</div><div>bgapi originate [origination_uuid=uuid2]sofia/<wbr>gateway/gw1/1234</div><div><br></div><div>uuid_bridge uuid1 uuid2</div><div><br></div><div>since im not hitting the dialplan here, i cannot use mod_limit .. or can i ?</div><div><br></div><div>how to set limits on a specific gateway in this scenario ?</div><div><br></div><div>thanks,</div><div>Tihomir.</div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></div></body></html>