[asterisk-users] Call limits and VoIP providers

Mike list at virtutel.ca
Mon Nov 20 13:42:40 MST 2006


That sounds like the most practical solution....Except its not clear to me
when the number of "group unit" is actually decreased.  Does it work
automagically when the call is hung up, or is there a command to decrease
it?
 
The wiki page doesnt seem to mention it (
http://www.voip-info.org/wiki-Asterisk+cmd+SetGroup ), its probably obvious
for most people but not to me.
 
Mike
 
 


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of tracinet
Sent: November 20, 2006 1:40 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Call limits and VoIP providers


I would use the Set(GROUP()=groupname) command followed by a GotoIf($[
${GROUP_COUNT() blah blah blah] statement that directs the caller to a
priority based on the number of channels in use.  Works very well...

Pedro 
http://www.TRACI.net
Offering SIP Origination and Termination Services



On 11/20/06, mail-lists < mail-lists at peachnet.com
<mailto:mail-lists at peachnet.com> > wrote: 

this is from freepbx  though coceptually should hold true.. 

can you not come up with a custom dial route (ie dialing 9 or whatever)
and then limit the channels on that route to 4
then have that extension send a prefix (9) whener it's being used to
access that route? 
> That doesn't work thought, because calls from extension to extension
> (i.e. 201 to 205) shouldn't be taken into account.  Only calls to/from
> my VoiP providers should.
>
> Mike
>
>
------------------------------------------------------------------------
>     *From:* asterisk-users-bounces at lists.digium.com
>     [mailto: asterisk-users-bounces at lists.digium.com] *On Behalf Of *Vicky
>     *Sent:* November 20, 2006 12:31 PM
>     *To:* Asterisk Users Mailing List - Non-Commercial Discussion 
>     *Subject:* Re: [asterisk-users] Call limits and VoIP providers
>
>     You can set maximum channels per extension in sip.conf like using
>     call-limit . From wiki
>     call-limit = number : Number of simultaneous calls through this 
>     user/peer.
>
>     On 20/11/06, *Mike* <list at virtutel.ca <mailto:list at virtutel.ca>>
>     wrote:
> 
>         Hi,
>
>         I have a few customers hosted on my Asterisk PBX.  All
>         incoming calls are coming from VoIP provider A and all
>         outgoing calls are going to termination provider B (they 
>         happen to be different for now).
>
>         On ONE of those customers I'd like to setup a channel limit,
>         meaning they can have 4 calls max, either outgoing, incoming,
>         or a combinaison of both.  After that, I want it to ring busy. 
>
>         How do I accomplish that? I don't want to setup a global call
>         limit for the provider, because other customers are on taking
>         calls and have no limits.  What is the best practice here? 
>
>         Mike
>
>
>
>
>         _______________________________________________
>         --Bandwidth and Colocation provided by Easynews.com
<http://Easynews.com> 
>         <http://Easynews.com> --
>
>         asterisk-users mailing list
>         To UNSUBSCRIBE or update options visit:
>           http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com  <http://Easynews.com>
--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061120/3bc18b68/attachment.htm


More information about the asterisk-users mailing list