]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail.c: Support multiple file formats for forwarded messages.
authorcmaj <chris@penguinpbx.com>
Fri, 27 Sep 2019 00:24:12 +0000 (18:24 -0600)
committercmaj <chris@penguinpbx.com>
Mon, 14 Oct 2019 22:19:45 +0000 (17:19 -0500)
commitb41a8fd0f30888fae7b5fdf2bd6bd7cacf16a302
treec04914b34d132382118311aedcf83a8e35f7a29d
parenta339c3fdc524251adcef78360530fa08b4fcb6c1
app_voicemail.c: Support multiple file formats for forwarded messages.

If you specify multiple formats in voicemail.conf, eg. "format = gsm|wav"
and are using realtime ODBC backend, only the first format gets stored
in the database. So when you forward a message later on, there is a bug
generating the email, related to the stored format (GSM) being different
than the desired email format (WAV) specified for the user. Sox can
handle this, but Asterisk needs to tell sox exactly what to do.

ASTERISK-22192

Change-Id: I7321e7f7e7c58adbf41dd4fd7191c887b9b2eafd
apps/app_voicemail.c