Put siren7 and siren14 in ast_best_codec() just so they're in there somewhere.
authorRussell Bryant <russell@russellbryant.com>
Tue, 24 Mar 2009 22:00:58 +0000 (22:00 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 24 Mar 2009 22:00:58 +0000 (22:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184043 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 719e9f6..42ea4bf 100644 (file)
@@ -718,6 +718,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,
+               AST_FORMAT_SIREN14,
+               AST_FORMAT_SIREN7,
                /*! 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 */