[asterisk-users] Asterisk G722

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Thu Feb 7 12:55:46 CST 2008


rachid wrote:
> Hello,
>
> I have some problems to use G722, when my client sent an invite request 
> to asterisk using G722/16000 codec
> asterisk respond with G722/8000 codec.
>
> I dont know exactly if Asterisk supports G722/16000 codec??
> If yes how can I activate It??
>
> Thanks.
>
> Rachid.
>   
It's known as 'wideband' audio, to provide you with a keyword you can 
use to track asterisk's implementation of it.

 From voip-info[1]:  "...  Speex - which supports 8, 16 and 32 kHz 
sample rates and is open source freeware. So if you are looking for 
wideband VoIP, look at /Speex/. "  and  "A caveat for Asterisk hacks: 
The internal guts of Asterisk are still substantially geared for 8 kHz 
sampling, so arriving wideband signals will end up downsampled. I 
understand this is pervasive enough in the core code that it is not 
likely to evolve past 8 kHz for some time to come. "

So just tell your client to not /ask/ for 8kHz audio.

I wonder, in a SIP reinvite situation, the UAs would re-choose codecs, 
wouldn't they?  So even if asterisk didn't support 16kHz for, say, IVRs, 
two UAs, once REINVTEd, probably *would* choose 16kHz if they agreed on 
it.    Am I right on REINVITEs providing opportunity for UAs to battle 
out codecs again?

Moj

[1] http://www.voip-info.org/wiki/view/Wideband+VoIP



More information about the asterisk-users mailing list