[asterisk-users] Incorrect voice mail format on transfer

Kyle Kienapfel doctor.whom at gmail.com
Wed Oct 21 16:02:39 CDT 2009


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091021/60878321/attachment.htm 


More information about the asterisk-users mailing list