Codec failover?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Codec failover?

Postby Nortelguy » Sat Dec 13, 2008 10:52 am

Hey everyone, just wondering is there a way to have codec failover if I run out of G729 licenses ?? I am doing this between asterisk and my provider. Local lan traffic is Ulaw. I enabled G726 and G729 on the siptrunk config however, I am getting an error msg
"Dec 12 17:29:42 WARNING[19431]: codec_g729.c:173 g729tolin_framein: Out of G.729 Decoder Licenses!"

It doesn't seem to rollover to G726 when it runs out of licenses ?? I'm assuming since when the call is placed asterisk has no idea its out of licenses until the call is connected. Any help would be appreicated.
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Postby mflorell » Sun Dec 14, 2008 12:43 am

Which Asterisk version is this?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Nortelguy » Sun Dec 14, 2008 11:12 am

Asterisk 1.2.30.2
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Postby mflorell » Sun Dec 14, 2008 9:08 pm

I did some searching around and it doesn't look like there's much of a solution for you.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Mon Dec 15, 2008 1:26 am

it would require a solution similar to FreePBX which allows a specific number of channels per account. you could investigate how FreePBX does it ...

or put in an extra query at the moment of the call to determine if there are any licenses available in the preset amount, if so dial g729, if not dial ... other.

it adds a step to your dial plan no matter how you do it, so you can only afford to do it if your system is not "fully loaded" already. if you do it "right" it will also add some storage (so you can put in a qty limit per trunk or a license counter to automatically set the # of licenses)

not too terribly tough, but not a simple thing, either.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Nortelguy » Mon Dec 15, 2008 11:19 am

Thanks guys, good idea about the dial string. I found a much easier unorthodox approach to fixing the problem though .. 8)
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 267 guests