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