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