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->max_calls, I don'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"><<a href="mailto:fvillarroel@yahoo.com">fvillarroel@yahoo.com</a>></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>
<include><br>
<gateway name="foo"><br>
<param name="username" value="foo"/><br>
<param name="password" value="foo"/><br>
<param name="realm" value="xx.xxx.xxx.xx"/><br>
<param name="proxy" value="xx.xxx.xxx.xx/><br>
<param name="register" value="false"/><br>
<param name="context" value="public"/><br>
<param name="max_calls" value="30"/>--><br>
</gateway><br>
</include><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>