]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Allow for "G.729" if offered in an SDP even though
authorMark Michelson <mmichelson@digium.com>
Wed, 17 Sep 2008 18:24:15 +0000 (18:24 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 17 Sep 2008 18:24:15 +0000 (18:24 +0000)
it is not RFC 3551 compliant. Some Cisco switches
will send this in an SDP, and it doesn't hurt to
be able to accept this.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@143337 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index bbdb9d6496fca043462abc18d4d25fc469493d0a..2fd470741f5ddd282db178d014504c356ddca68f 100644 (file)
@@ -1348,6 +1348,7 @@ static struct {
        {{1, AST_FORMAT_LPC10}, "audio", "LPC"},
        {{1, AST_FORMAT_G729A}, "audio", "G729"},
        {{1, AST_FORMAT_G729A}, "audio", "G729A"},
+       {{1, AST_FORMAT_G729A}, "audio", "G.729"},
        {{1, AST_FORMAT_SPEEX}, "audio", "speex"},
        {{1, AST_FORMAT_ILBC}, "audio", "iLBC"},
        {{1, AST_FORMAT_G722}, "audio", "G722"},