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: https://origsvn.digium.com/svn/asterisk/branches/1.4@47897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 19 years ago
parent 5c0be47e69
commit 8c0f4c8711

@ -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;
}

Loading…
Cancel
Save