Klaus-Peter Junghanns
2003-Jun-02 07:12 UTC
[Asterisk-Users] Limit Concurrent IAX Channels
hi surajee, some time ago martin pycko posted an example to the list how to make use of global variables and gotoif to limit the number of channels. the ML archive is your friend :) regards kapejod -- Klaus-Peter Junghanns CEO,CTO Junghanns.NET GmbH Breite Strasse 13 - 12167 Berlin - Germany fon: +49 30 79705392 fax: +49 30 79705391 iaxtel: 1-700-157-8753 email: kpj@junghanns.net http://www.junghanns.net/asterisk Am Mon, 2003-06-02 um 17.01 schrieb Surajee Ratnayake:> hi All, > > Since the quality drops with the increased usage of IAX channels, between 2 Asterisk servers, > I want to limit the number of simultaneously used IAX channels. > ie basically to limit the calls between the 2 Asterisk servers, > can anybody pls tell me a method/hint to achieve this, i am helpless :-( > > Thanx in advance, > Surajee
hi All, Since the quality drops with the increased usage of IAX channels, between 2 Asterisk servers, I want to limit the number of simultaneously used IAX channels. ie basically to limit the calls between the 2 Asterisk servers, can anybody pls tell me a method/hint to achieve this, i am helpless :-( Thanx in advance, Surajee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030602/174134a7/attachment.htm
Line 20 of channels/iax.h it has: #define AST_IAX_MAX_CALLS 32768 This defines the total number of active calls. You should be able to change it to whatever you like. This would be a nice option to include in iax.conf. -wade -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Surajee Ratnayake Sent: Monday, June 02, 2003 11:01 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Limit Concurrent IAX Channels hi All, Since the quality drops with the increased usage of IAX channels, between 2 Asterisk servers, I want to limit the number of simultaneously used IAX channels. ie basically to limit the calls between the 2 Asterisk servers, can anybody pls tell me a method/hint to achieve this, i am helpless :-( Thanx in advance, Surajee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030602/fdb02a30/attachment.htm