summaryrefslogtreecommitdiff
path: root/main/rtp_engine.c
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2010-06-16 19:03:24 +0000
committerDavid Vossel <dvossel@digium.com>2010-06-16 19:03:24 +0000
commitfcb055fb4ec3fb5918c03948dee3f1c7b65b31df (patch)
treeeb89a0c0e7202e0334ef137f72ccc24c3f646432 /main/rtp_engine.c
parent0bf94685fdc87543fe2f894928ee48245e527875 (diff)
addition of G.719 pass-through support
(closes issue #16293) Reported by: malcolmd Patches: g719.passthrough.patch.7 uploaded by malcolmd (license 924) format_g719.c uploaded by malcolmd (license 924) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/rtp_engine.c')
-rw-r--r--main/rtp_engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/rtp_engine.c b/main/rtp_engine.c
index 2d23958ae..c42d3f6fb 100644
--- a/main/rtp_engine.c
+++ b/main/rtp_engine.c
@@ -122,6 +122,7 @@ static const struct ast_rtp_mime_type {
{{1, AST_FORMAT_T140}, "text", "T140", 1000},
{{1, AST_FORMAT_SIREN7}, "audio", "G7221", 16000},
{{1, AST_FORMAT_SIREN14}, "audio", "G7221", 32000},
+ {{1, AST_FORMAT_G719}, "audio", "G719", 48000},
};
/*!
@@ -169,6 +170,7 @@ static const struct ast_rtp_payload_type static_RTP_PT[AST_RTP_MAX_PT] = {
[111] = {1, AST_FORMAT_G726},
[112] = {1, AST_FORMAT_G726_AAL2},
[115] = {1, AST_FORMAT_SIREN14},
+ [116] = {1, AST_FORMAT_G719},
[121] = {0, AST_RTP_CISCO_DTMF}, /* Must be type 121 */
};