If that works, let me know.  I just grepped the source for:<div><br></div><div><div> ack-grep max[-_]calls</div><div><br></div><div>and while setting that will set profile-&gt;max_calls, I don&#39;t see anything that actually acts on that.</div>
<div><br></div><div>My standard recommendation for setting limits is to use...  umm..  mod_limit :)</div><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 2:29 PM, FERNANDO VILLARROEL <span dir="ltr">&lt;<a href="mailto:fvillarroel@yahoo.com">fvillarroel@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear.<br>
<br>
How i can do for limits inbound calls from a gateway:<br>
<br>
<br>
My config is like this:<br>
<br>
~sip_profiles/external/<br>
<br>
gateway1.xml<br>
<br>
&lt;include&gt;<br>
    &lt;gateway name=&quot;foo&quot;&gt;<br>
      &lt;param name=&quot;username&quot; value=&quot;foo&quot;/&gt;<br>
      &lt;param name=&quot;password&quot; value=&quot;foo&quot;/&gt;<br>
      &lt;param name=&quot;realm&quot; value=&quot;xx.xxx.xxx.xx&quot;/&gt;<br>
      &lt;param name=&quot;proxy&quot; value=&quot;xx.xxx.xxx.xx/&gt;<br>
      &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
      &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>
      &lt;param name=&quot;max_calls&quot; value=&quot;30&quot;/&gt;--&gt;<br>
    &lt;/gateway&gt;<br>
&lt;/include&gt;<br>
<br>
It´s fine?<br>
<br>
Fernando<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>
</div>