On Tue, 2006-07-04 at 23:49 -0500, voiplist wrote: > Any way to monitor this? Send an email to admins? Something? > > On 7/4/06, Thomas Kenyon <[EMAIL PROTECTED]> wrote: > > voiplist wrote: > > > What happens when/if your Asterisk server is asked to handled more > > > g729 calls than it has licenses? > > > > > > Does it fall back to an alternate codec or does the call get rejected? > > Well IME you get around 15 notices a second in the console stating that > > you have run out of licenses and there is no sound in either direction > > for the caller/callee. > > I believe with the digium codec you can do asterisk -rx 'show g729' and get data back that tells you how many are in use and how many are available. You could write a script that will look and send a report, however there are problems with this:
1. it cuases higher system load to run this often 2. calls can be bursty, a bunch of short lived calls can consume all your licenses, and your script didnt run in time and you didnt know until its too late. The real fix would be to hook into the SDP negotiation for sip (and whatever codec negotiations are used for any other protocols you use) to check if g729 loaded, if so check avialable licenses, if enough are available then allow that coded, otherwise dont list it as available. If that is done this becomes less of an issue since you wont have dead calls and warnings spewed to the screen. -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast IE +44 28 9099 6461 DE +49 801 777 555 3402 Utrecht NL +31 306 553058 US WA +1 360 207 0479 US NY +1 516 687 5200 FreeWorldDialup: 635378 http://www.trxtel.com the VoIP provider that pays you!
signature.asc
Description: This is a digitally signed message part
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
