If that works, let me know.  I just grepped the source for:

 ack-grep max[-_]calls

and while setting that will set profile->max_calls, I don't see anything that actually acts on that.

My standard recommendation for setting limits is to use...  umm..  mod_limit :)

On Wed, Feb 3, 2010 at 2:29 PM, FERNANDO VILLARROEL <fvillarroel@yahoo.com> wrote:
Dear.

How i can do for limits inbound calls from a gateway:


My config is like this:

~sip_profiles/external/

gateway1.xml

<include>
   <gateway name="foo">
     <param name="username" value="foo"/>
     <param name="password" value="foo"/>
     <param name="realm" value="xx.xxx.xxx.xx"/>
     <param name="proxy" value="xx.xxx.xxx.xx/>
     <param name="register" value="false"/>
     <param name="context" value="public"/>
     <param name="max_calls" value="30"/>-->
   </gateway>
</include>

It´s fine?

Fernando




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
-Rupa