I'm running Asterisk without FreePBX or any of the other managers. I'm trying to figure out how to set the maximum number of channels allowed on a single line? I'd just rather not have Asterisk try the line when I know I'll recieve a CONGESTION back from the SIP phone provider (ViaTalk in this case). Is there a configuration option I can't find that sets the maximum number of connections a SIP channel can handle at a given moment? I expect the line to be something simple, but I can't find it detailed on the Wiki. -- /Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070727/7ede845f/attachment.htm
http://www.voip-info.org/wiki-Asterisk+config+sip.conf * call-limit<http://www.voip-info.org/wiki/edit.php?page=Asterisk+sip+call-limit> * = number : Number of simultaneous calls through this user/peer On 27/07/07, Nicholas Blasgen <nicholas at blasgen.com> wrote:> > I'm running Asterisk without FreePBX or any of the other managers. I'm > trying to figure out how to set the maximum number of channels allowed on a > single line? I'd just rather not have Asterisk try the line when I know > I'll recieve a CONGESTION back from the SIP phone provider (ViaTalk in this > case). Is there a configuration option I can't find that sets the maximum > number of connections a SIP channel can handle at a given moment? I expect > the line to be something simple, but I can't find it detailed on the Wiki. > > -- > /Nick > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.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/20070727/80cc2559/attachment.htm
On Fri, 2007-07-27 at 12:20 -0700, Jaswinder Singh wrote:> http://www.voip-info.org/wiki-Asterisk+config+sip.conf > > call-limit = number : Number of simultaneous calls through this > user/peerAnother option is to do this from the dialplan, using the GROUP and GROUP_COUNT dialplan functions. As calls go out to your SIP provider, assign them to a particular group, and check the group count. If the group count is higher than what your SIP provider allows, then play congestion (or some other message) back to the caller. -- Jared Smith Community Relations Manager Digium, Inc.