If you're using file storage and specify three formats, app_voicemail will save to those formats.<div><br></div><div>The dire warning is because when renaming (for example listening to new/msg0000 and it gets moved to old messages) and deleting files, app_voicemail only touches the formats in the configuration file. </div>
<div><br></div><div>set format=wav49|gsm, reload config</div><div>Record a message</div><div>set format=wav49, reload config</div><div>delete the message, doesn't delete msg0000.gsm</div><div>Record a message</div><div>
set format=wav49|gsm, reload config</div><div>Connect to app_voicemail with gsm codec and hear that old message again just like its the first time.</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 2:37 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;">I'm sorry - by the lab I meant the end points - it is the same server.<br>
<br>
I was not aware that IMAP only stored one format. If I change the<br>
setting in voicemail.conf, do I still have to worry about the grievous<br>
warning message about being sure to delete all messages not using that<br>
format? I would think not but it's a dire enough message that I thought<br>
I had better ask - John<br>
<div><div></div><div class="h5"><br>
On Wed, 2009-10-21 at 14:02 -0700, Kyle Kienapfel wrote:<br>
> It should be reproducible in some way, how was asterisk installed on<br>
> the server its having a problem? If its from source compare the<br>
> apps/app_voicemail.c from whats in production with whats getting<br>
> compiled in the lab.<br>
><br>
><br>
> when imap is used only one format is stored<br>
> you could specify just one format:<br>
> format=wav49<br>
><br>
> On Wed, Oct 21, 2009 at 1:19 PM, John A. Sullivan III<br>
> <<a href="mailto:jsullivan@opensourcedevel.com">jsullivan@opensourcedevel.com</a>> wrote:<br>
> 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<br>
> Zimbra. One of<br>
> our clients is having a problem when transferring voice mails<br>
> from one<br>
> mailbox to another (option 8 in the standard voice application<br>
> menu)<br>
> using their Snom 320 and 360 phones.<br>
><br>
> The end results is the final recipient cannot listen to the<br>
> voicemail.<br>
> We also email the voicemails in this case (this client is not<br>
> using the<br>
> Zimbra email system yet) and they receive an attachment with a<br>
> name such<br>
> as "msg0000.wav49_gsm_wav".<br>
><br>
> As strange as it sounds, it almost appears like Asterisk is<br>
> trying to<br>
> create a file with an extension of wav49|gsm|wav which is<br>
> confusing not<br>
> only the email attachment but also sox which cannot find such<br>
> 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<br>
> Warning: SECURITY PROBLEM: insecure server advertised<br>
> AUTH=PLAIN<br>
> [Oct 21 12:27:13] WARNING[13303] app_voicemail.c: IMAP<br>
> Warning: SECURITY PROBLEM: insecure server advertised<br>
> AUTH=PLAIN<br>
> [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Sox failed<br>
> to<br>
> 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<br>
> attachment will have no volume gain.<br>
> [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Failed to<br>
> open<br>
> file: /var/spool/asterisk/voicemail/a10/613/INBOX/msg0000.WAV:<br>
> No such file or directory<br>
> [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Sox failed<br>
> to<br>
> 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<br>
> attachment will have no volume gain.<br>
> [Oct 21 12:28:44] WARNING[13303] app_voicemail.c: Failed to<br>
> open<br>
> 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<br>
> to<br>
> 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<br>
> attachment will have no volume gain.<br>
> [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Failed to<br>
> open<br>
> file: /var/spool/asterisk/voicemail/a10/613/INBOX/msg0000.WAV:<br>
> No such file or directory<br>
> [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Sox failed<br>
> to<br>
> 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<br>
> attachment will have no volume gain.<br>
> [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Failed to<br>
> open<br>
> 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<br>
> to<br>
> 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<br>
> attachment will have no volume gain.<br>
> [Oct 21 12:29:44] WARNING[13303] app_voicemail.c: Failed to<br>
> open<br>
> 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:<br>
> File /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000 does<br>
> not exist in any format<br>
> [Oct 21 13:27:25] WARNING[13565] file.c: Unable to<br>
> open /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000<br>
> (format 0x4 (ulaw)): No such file or directory<br>
> [Oct 21 13:27:25] WARNING[13565] app_voicemail.c: Playback of<br>
> message /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000<br>
> failed<br>
> [Oct 21 13:27:37] WARNING[1678] app_voicemail.c: IMAP Warning:<br>
> Unknown message data: 63 FETCH<br>
> [Oct 21 13:27:40] WARNING[13565] file.c:<br>
> File /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000 does<br>
> not exist in any format<br>
> [Oct 21 13:27:40] WARNING[13565] file.c: Unable to<br>
> open /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000<br>
> (format 0x4 (ulaw)): No such file or directory<br>
> [Oct 21 13:27:40] WARNING[13565] app_voicemail.c: Playback of<br>
> message /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000<br>
> failed<br>
> [Oct 21 13:28:20] WARNING[13565] channel.c: Unexpected control<br>
> subclass '17'<br>
> [Oct 21 13:28:50] WARNING[13572] app_voicemail.c: IMAP<br>
> Warning: SECURITY PROBLEM: insecure server advertised<br>
> AUTH=PLAIN<br>
> [Oct 21 13:29:03] WARNING[13572] file.c:<br>
> File /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000 does<br>
> not exist in any format<br>
> [Oct 21 13:29:03] WARNING[13572] file.c: Unable to<br>
> open /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000<br>
> (format 0x4 (ulaw)): No such file or directory<br>
> [Oct 21 13:29:03] WARNING[13572] app_voicemail.c: Playback of<br>
> message /var/spool/asterisk/voicemail/a10/612/INBOX/msg0000<br>
> failed<br>
><br>
> I've not been able to reproduce it in our lab but I can see<br>
> and hear it<br>
> plainly happening for our client. Has anyone else seen this?<br>
> Is it a<br>
> bug or a misconfiguration? voicemail.conf has format=wav49|<br>
> 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<br>
> <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>
><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>
</div></div>--<br>
<div><div></div><div class="h5">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>
</div></div></blockquote></div><br></div>