mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
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:
@@ -392,6 +392,8 @@ static int sendmail(char *srcemail, char *email, char *name, int msgnum, char *m
|
|||||||
char dur[256];
|
char dur[256];
|
||||||
time_t t;
|
time_t t;
|
||||||
struct tm tm;
|
struct tm tm;
|
||||||
|
if (!strcmp(format, "wav49"))
|
||||||
|
format = "WAV";
|
||||||
p = popen(SENDMAIL, "w");
|
p = popen(SENDMAIL, "w");
|
||||||
if (p) {
|
if (p) {
|
||||||
gethostname(host, sizeof(host));
|
gethostname(host, sizeof(host));
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
[general]
|
[general]
|
||||||
; Default formats for writing Voicemail
|
; Default formats for writing Voicemail
|
||||||
;format=g723sf|wav49|wav
|
;format=g723sf|wav49|wav
|
||||||
format=gsm|wav49|wav
|
format=wav49|gsm|wav
|
||||||
; Who the e-mail notification should appear to come from
|
; Who the e-mail notification should appear to come from
|
||||||
serveremail=asterisk
|
serveremail=asterisk
|
||||||
;serveremail=asterisk@linux-support.net
|
;serveremail=asterisk@linux-support.net
|
||||||
|
|||||||
Reference in New Issue
Block a user