Merged revisions 143337 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 17 Sep 2008 18:26:35 +0000 (18:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 17 Sep 2008 18:26:35 +0000 (18:26 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r143337 | mmichelson | 2008-09-17 13:24:15 -0500 (Wed, 17 Sep 2008) | 6 lines

Allow for "G.729" if offered in an SDP even though
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/trunk@143340 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index 2f4bca4..a05603f 100644 (file)
@@ -1865,6 +1865,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"},