[asterisk-users] Incorrect voice mail format on transfer

Robert Grignon rgrignon at fleetone.com
Thu Oct 22 10:29:53 CDT 2009


I did run into some issues with this as well. I ended up setting
format=wav and left it at that... It wasn't so much a problem with
someone leaving a message rather when someone was forwarding messages. I
would have used wav49 but people were having problems getting wav49 to
open on their PDA's

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of John A.
Sullivan III
Sent: Wednesday, October 21, 2009 4:37 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Incorrect voice mail format on transfer

I'm sorry - by the lab I meant the end points - it is the same server.

I was not aware that IMAP only stored one format.  If I change the
setting in voicemail.conf, do I still have to worry about the grievous
warning message about being sure to delete all messages not using that
format? I would think not but it's a dire enough message that I thought
I had better ask - John

On Wed, 2009-10-21 at 14:02 -0700, Kyle Kienapfel wrote:
> It should be reproducible in some way, how was asterisk installed on 
> the server its having a problem? If its from source compare the 
> apps/app_voicemail.c from whats in production with whats getting 
> compiled in the lab.
> 
> 
> when imap is used only one format is stored you could specify just one

> format:
> format=wav49
> 
> On Wed, Oct 21, 2009 at 1:19 PM, John A. Sullivan III 
> <jsullivan at opensourcedevel.com> wrote:
>         Hello, all.  I'm running Asterisk 1.6.1.6 on CentOS 5.3 in a
>         multi-tenant environment with IMAP voice mail storage on
>         Zimbra.  One of
>         our clients is having a problem when transferring voice mails
>         from one
>         mailbox to another (option 8 in the standard voice application
>         menu)
>         using their Snom 320 and 360 phones.
>         
>         The end results is the final recipient cannot listen to the
>         voicemail.
>         We also email the voicemails in this case (this client is not
>         using the
>         Zimbra email system yet) and they receive an attachment with a
>         name such
>         as "msg0000.wav49_gsm_wav".
>         
>         As strange as it sounds, it almost appears like Asterisk is
>         trying to
>         create a file with an extension of wav49|gsm|wav which is
>         confusing not
>         only the email attachment but also sox which cannot find such
>         a format
>         based upon file extension.  Here is what I see
>         in /var/log/asterisk/messages.
>         
>         First, the user doing the transfer:
>         [Oct 21 12:23:17] WARNING[13297] app_voicemail.c: IMAP
>         Warning: SECURITY PROBLEM: insecure server advertised
>         AUTH=PLAIN
>         [Oct 21 12:27:13] WARNING[13303] app_voicemail.c: IMAP
>         Warning: SECURITY PROBLEM: insecure server advertised
>         AUTH=PLAIN
>         [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Sox failed
>         to
>         reencode
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0000.WAV: An error
occurred during file processing (have you installed support for all sox
file formats?)
>         [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Voicemail
>         attachment will have no volume gain.
>         [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Failed to
>         open
>         file: /var/spool/asterisk/voicemail/a10/613/INBOX/msg0000.WAV:
>         No such file or directory
>         [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Sox failed
>         to
>         reencode
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0001.wav49|gsm|wav: An
error occurred during file processing (have you installed support for
all sox file formats?)
>         [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Voicemail
>         attachment will have no volume gain.
>         [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Failed to
>         open
>         file:
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0001.wav49|gsm|wav: No
such file or directory
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Sox failed
>         to
>         reencode
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0000.WAV: An error
occurred during file processing (have you installed support for all sox
file formats?)
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Voicemail
>         attachment will have no volume gain.
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Failed to
>         open
>         file: /var/spool/asterisk/voicemail/a10/613/INBOX/msg0000.WAV:
>         No such file or directory
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Sox failed
>         to
>         reencode
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0001.wav49|gsm|wav: An
error occurred during file processing (have you installed support for
all sox file formats?)
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Voicemail
>         attachment will have no volume gain.
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Failed to
>         open
>         file:
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0001.wav49|gsm|wav: No
such file or directory
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Sox failed
>         to
>         reencode
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0001intro.wav49|gsm|wav:
An error occurred during file processing (have you installed support for
all sox file formats?)
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Voicemail
>         attachment will have no volume gain.
>         [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Failed to
>         open
>         file:
/var/spool/asterisk/voicemail/a10/613/INBOX/msg0001intro.wav49|gsm|wav:
No such file or directory
>         [Oct 21 12:29:44] WARNING[13303] file.c: Failed to write frame
>         
>         Then the recipient trying to open the transferred voicemail:
>         [Oct 21 13:27:25] WARNING[13565] file.c:
>         File /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000 does
>         not exist in any format
>         [Oct 21 13:27:25] WARNING[13565] file.c: Unable to
>         open /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000
>         (format 0x4 (ulaw)): No such file or directory
>         [Oct 21 13:27:25] WARNING[13565] app_voicemail.c: Playback of
>         message /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000
>         failed
>         [Oct 21 13:27:37] WARNING[1678] app_voicemail.c: IMAP Warning:
>         Unknown message data: 63 FETCH
>         [Oct 21 13:27:40] WARNING[13565] file.c:
>         File /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000 does
>         not exist in any format
>         [Oct 21 13:27:40] WARNING[13565] file.c: Unable to
>         open /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000
>         (format 0x4 (ulaw)): No such file or directory
>         [Oct 21 13:27:40] WARNING[13565] app_voicemail.c: Playback of
>         message /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000
>         failed
>         [Oct 21 13:28:20] WARNING[13565] channel.c: Unexpected control
>         subclass '17'
>         [Oct 21 13:28:50] WARNING[13572] app_voicemail.c: IMAP
>         Warning: SECURITY PROBLEM: insecure server advertised
>         AUTH=PLAIN
>         [Oct 21 13:29:03] WARNING[13572] file.c:
>         File /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000 does
>         not exist in any format
>         [Oct 21 13:29:03] WARNING[13572] file.c: Unable to
>         open /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000
>         (format 0x4 (ulaw)): No such file or directory
>         [Oct 21 13:29:03] WARNING[13572] app_voicemail.c: Playback of
>         message /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000
>         failed
>         
>         I've not been able to reproduce it in our lab but I can see
>         and hear it
>         plainly happening for our client.  Has anyone else seen this?
>         Is it a
>         bug or a misconfiguration? voicemail.conf has format=wav49|
>         gsm|wav
>         
>         Thanks - John
>         --
>         John A. Sullivan III
>         Open Source Development Corporation
>         +1 207-985-7880
>         jsullivan at opensourcedevel.com
>         
>         http://www.spiritualoutreach.com
>         Making Christianity intelligible to secular society
>         
>         
>         _______________________________________________
>         -- Bandwidth and Colocation Provided by
>         http://www.api-digital.com --
>         
>         asterisk-users mailing list
>         To UNSUBSCRIBE or update options visit:
>           http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan at opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list