diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-09 21:37:23 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-09 21:37:23 +0000 |
commit | 5e8a0a0fb0956e54b67c563eb5c233cd44234c1b (patch) | |
tree | f543e9e0621f0f91851b3a80186986917cb10651 /apps/app_minivm.c | |
parent | 6c6f5ca2e41d45c515995ff4b9fd78fb5e0c3127 (diff) |
Fudges for wav16, just like wav49
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_minivm.c')
-rw-r--r-- | apps/app_minivm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c index c151068df..b900f2f1b 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -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 */ |