aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-25 21:01:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-25 21:01:11 +0000
commitb3eeafdc29ee9e4d56a6c07a2305f1380f57467f (patch)
tree8acf99dd9af5f214853f871884a83e9bdf2011f6 /rtp.c
parent2eef0a61e7e3200685298f7bab94df406d2aa4eb (diff)
Don't use deprecated "2" location for G.726 (rfc3551)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5260 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtp.c b/rtp.c
index a132928d5..80484fc41 100755
--- a/rtp.c
+++ b/rtp.c
@@ -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 */
};