[Home]

Summary:ASTERISK-08786: ast_best_codec knows nothing about G722
Reporter:John Laur (gork)Labels:
Date Opened:2007-02-12 14:08:43.000-0600Date Closed:2007-06-30 09:19:59
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/CodecInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using a device configured for g722 (ie allow=g722) asterisk will frequently give the error:

ast_best_codec: Don't know any of 0x1000 formats

Obviously fixing this is very simple.. AST_FORMAT_G722 needs to be included in the prefs[] of ast_best_codec in main/channel.c, but someone more in tune with the purpose and reasoning behind the order of that list ought to be the one to decide where to locate it.

****** ADDITIONAL INFORMATION ******

Are any other codecs missing here?
Comments:By: Clod Patry (junky) 2007-02-12 22:00:57.000-0600

good catch.

By: Joshua C. Colp (jcolp) 2007-02-13 19:12:41.000-0600

Fixed in 1.4 as of revision 54290 and trunk as of revision 54291. Thanks!