did you use the application limit on the inbound call? You'll need to in order to account for it.
On Mon, Oct 5, 2009 at 15:39, Dmitry Bely <[email protected]> wrote: > On Tue, Oct 6, 2009 at 12:19 AM, SP <[email protected]> wrote: >> Direction doesn't matter, it uses realm's and a few other vars. Use >> the same vars for both directions. > > Unfortunately it does. > > <action application="limit" data="$${domain} my_provider 1"/> > > generates limit_exceeded for the second outbound call, but if an > incoming call is active FreeSWITCH still tries to use this gateway. > >> On Mon, Oct 5, 2009 at 14:57, Dmitry Bely <[email protected]> wrote: >>> On Mon, Oct 5, 2009 at 2:30 AM, Michael Jerris <[email protected]> wrote: >>>> http://wiki.freeswitch.org/wiki/Mod_limit >>> >>> Of course I've read that. But it only affects the number of outgoing >>> calls (at least for gateways - chapter "Using mod_limit with an >>> outbound gateway"). But I would like to limit the number of all calls >>> (incoming+outgoing) via specific gateway. Any idea? >>> >>> - Dmitry Bely >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> [email protected] >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Shannon >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> [email protected] >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > Dmitry Bely > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Shannon _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
