Hi all, i have an asterisk box running just fine using iax2. The licence that im using is a 10 channel limit G729. The problem is when i have more than 10 concurrent calls i have the following WARNING: Oct 6 17:21:27 WARNING[1294987584]: codec_g729.c:259 lintog729_framein: Out of G.729 Encoder Licenses! Thats fine because of my licence restriction. What I want is to limit the concurrent calls to 10 and avoid the warning listed before, anybody know how can i do that? The problem with the WARNING is after all the calls hung up they appear in asterisk still as actives. When i list them (iax2 show channels) appears all the hungup calls. Thanks for your help. Carlos Andres Medina --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041006/23554abd/attachment.htm
Hi there anybody how can i limit concurrent calls using my dialplan or environment G729 variables ? Im using IAX2 and i have a 10 channels limit licence G729. Thanks a lot. Carlos Medina <carlosandres_23@yahoo.com> wrote:Hi all, i have an asterisk box running just fine using iax2. The licence that im using is a 10 channel limit G729. The problem is when i have more than 10 concurrent calls i have the following WARNING: Oct 6 17:21:27 WARNING[1294987584]: codec_g729.c:259 lintog729_framein: Out of G.729 Encoder Licenses! Thats fine because of my licence restriction. What I want is to limit the concurrent calls to 10 and avoid the warning listed before, anybody know how can i do that? The problem with the WARNING is after all the calls hung up they appear in asterisk still as actives. When i list them (iax2 show channels) appears all the hungup calls. Thanks for your help. Carlos Andres Medina --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today!_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041007/ebf5ead5/attachment.htm
You could use dialplan logic to test a stored variable of how many calls are active before answering any more. If no channels available answer and play congestion and hangup. -- William
On Thu, 2004-10-07 at 18:28, Carlos Medina wrote:> Hi there anybody how can i limit concurrent calls using my dialplan or > environment G729 variables ? Im using IAX2 and i have a 10 channels > limit licence G729. > > Thanks a lot. >Hi Carlos, Maybe the SetGroup variables can help you. Have a look on the wiki here: http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20SetGroup Regards, Patrick