summaryrefslogtreecommitdiff
path: root/apps/app_minivm.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_minivm.c')
-rw-r--r--apps/app_minivm.c5
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 */