Fudges for wav16, just like wav49

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-10-09 21:37:23 +00:00
parent 9a56bae67a
commit f5d5eb5e19
5 changed files with 28 additions and 8 deletions

View File

@@ -917,8 +917,11 @@ static int sendmail(struct minivm_template *template, struct minivm_account *vmu
ast_debug(3, "-_-_- Sending mail to %s@%s - Using template %s\n", vmu->username, vmu->domain, template->name);
if (!strcmp(format, "wav49"))
if (!strcmp(format, "wav49")) {
format = "WAV";
} else if (!strcmp(format, "wav16")) {
format = "Wav";
}
/* If we have a gain option, process it now with sox */