[Asterisk-Users] How do you force Asterisk to use only specific codecs?

Jared Smith jsmith at drgutah.com
Thu Jul 3 10:51:27 MST 2003


If I understand correctly, each codec has a "cost" associated with
converting it to another codec.  I would think that Asterisk would
choose the lowest-cost codec first, but I'm not positive that's what
happens.

Jared Smith

On Thu, 2003-07-03 at 11:35, Eric Wieling wrote:
> Which codec will be tried first?
> 
> On Thu, 2003-07-03 at 11:02, WipeOut . wrote:
> > in sip.conf...
> > 
> > disallow=all
> > allow=g723
> > allow=g729
> > etc..
> > 
> > or 
> > allow=all
> > disallow=gsm
> > etc..
> > 
> > 
> > 
> > > Is there a way in Asterisk configuration to force the
> > > use of specific codecs only... for example:
> > > 
> > > Never use GSM
> > > Try G.723 if available with end point
> > > Try G.729 if available with end point
> > > Try G.711 if available with end point
> > > 
> > > Something like that?
> > > 
> > > Thanks!
> > > Chip
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > SBC Yahoo! DSL - Now only $29.95 per month!
> > > http://sbc.yahoo.com
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list