diff --git a/main/channel.c b/main/channel.c index b02178d392..94e21d0823 100644 --- a/main/channel.c +++ b/main/channel.c @@ -567,6 +567,8 @@ int ast_best_codec(int fmts) AST_FORMAT_ULAW, /*! Unless of course, you're a silly European, so then prefer ALAW */ AST_FORMAT_ALAW, + /*! G.722 is better then all below, but not as common as the above... so give ulaw and alaw priority */ + AST_FORMAT_G722, /*! Okay, well, signed linear is easy to translate into other stuff */ AST_FORMAT_SLINEAR, /*! G.726 is standard ADPCM, in RFC3551 packing order */