aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-21 17:32:27 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-21 17:32:27 +0000
commitc74e9dc57b3fb57de09d501f50101c56854e8f3c (patch)
treee457f3c0f317d98c2224464bbbba558d89ac7331 /main/rtp.c
parent8fa5bd7fc694312cb82be2df0e5d2079b8fc687f (diff)
If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47897 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index cb73e745d..ec1c47605 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -1640,7 +1640,7 @@ const char *ast_rtp_lookup_mime_subtype(const int isAstFormat, const int code,
if (isAstFormat &&
(code == AST_FORMAT_G726_AAL2) &&
(options & AST_RTP_OPT_G726_NONSTANDARD))
- return "AAL2-G726-32";
+ return "G726-32";
else
return mimeTypes[i].subtype;
}