Skip to content
Snippets Groups Projects
Commit 141b2b7d authored by Mark Spencer's avatar Mark Spencer
Browse files

Don't use deprecated "2" location for G.726 (rfc3551)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 85cbfad3
No related branches found
No related tags found
No related merge requests found
......@@ -674,7 +674,9 @@ static struct {
table for transmission */
static struct rtpPayloadType static_RTP_PT[MAX_RTP_PT] = {
[0] = {1, AST_FORMAT_ULAW},
#ifdef USE_DEPRECATED_G726
[2] = {1, AST_FORMAT_G726}, /* Technically this is G.721, but if Cisco can do it, so can we... */
#endif
[3] = {1, AST_FORMAT_GSM},
[4] = {1, AST_FORMAT_G723_1},
[5] = {1, AST_FORMAT_ADPCM}, /* 8 kHz */
......@@ -695,6 +697,7 @@ static struct rtpPayloadType static_RTP_PT[MAX_RTP_PT] = {
[97] = {1, AST_FORMAT_ILBC},
[101] = {0, AST_RTP_DTMF},
[110] = {1, AST_FORMAT_SPEEX},
[111] = {1, AST_FORMAT_G726},
[121] = {0, AST_RTP_CISCO_DTMF}, /* Must be type 121 */
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment