Minor tweaks to make wav49 default format, and put nice extension
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
d593a70bbf
commit
425ab889d6
|
@ -392,6 +392,8 @@ static int sendmail(char *srcemail, char *email, char *name, int msgnum, char *m
|
|||
char dur[256];
|
||||
time_t t;
|
||||
struct tm tm;
|
||||
if (!strcmp(format, "wav49"))
|
||||
format = "WAV";
|
||||
p = popen(SENDMAIL, "w");
|
||||
if (p) {
|
||||
gethostname(host, sizeof(host));
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
[general]
|
||||
; Default formats for writing Voicemail
|
||||
;format=g723sf|wav49|wav
|
||||
format=gsm|wav49|wav
|
||||
format=wav49|gsm|wav
|
||||
; Who the e-mail notification should appear to come from
|
||||
serveremail=asterisk
|
||||
;serveremail=asterisk@linux-support.net
|
||||
|
|
Loading…
Reference in New Issue