Use <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and put the console debug output there. Capture the traffic for both the working and non-working dialplans. Hopefully there will be an error or warning that gives a clue as to what is happening. Hint: use &quot;FreeSWITCH Log&quot; as the syntax highlighting and it will be much easier to read.<div>
<br></div><div>-MC<br><br><div class="gmail_quote">On Wed, Aug 17, 2011 at 8:55 AM, Yungwei Chen <span dir="ltr">&lt;<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">If I change my dialplan to the following, voicemail will work properly. What am I missing here? Thanks.<u></u><u></u></span></p>
<p class="MsoNormal">   &lt;extension name=&quot;main_number_2&quot; continue=&quot;true&quot;&gt;<br>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^1112223333$&quot;&gt;<u></u><u></u></p><p class="MsoNormal">
&lt;!--<u></u><u></u></p><p class="MsoNormal">       &lt;action application=&quot;set&quot; bluebox=&quot;settingEndBridge&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>       &lt;action application=&quot;set&quot; bluebox=&quot;settingFail&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
       &lt;action application=&quot;set&quot; bluebox=&quot;autoPlay&quot; data=&quot;vm_auto_play=false&quot;/&gt;<br>       &lt;action application=&quot;set&quot; bluebox=&quot;settingTimeout&quot; data=&quot;call_timeout=30&quot;/&gt;<br>
       &lt;action application=&quot;set&quot; bluebox=&quot;settingRing&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>       &lt;action application=&quot;set&quot; bluebox=&quot;settingRingXfer&quot; data=&quot;transfer_ringback=${us-ring}&quot;/&gt;<br>
       &lt;action application=&quot;export&quot; bluebox=&quot;sipCalleeIdName&quot; data=&quot;sip_callee_id_name=m1&quot;/&gt;<br>       &lt;action application=&quot;export&quot; bluebox=&quot;sipCalleeIdNumber&quot; data=&quot;sip_callee_id_number=1112223333&quot;/&gt;<br>
--&gt;<u></u><u></u></p><p class="MsoNormal">       &lt;action application=&quot;answer&quot;/&gt;<br>       &lt;action application=&quot;voicemail&quot; data=&quot;default voicemail_2 91000&quot;/&gt;<br>       &lt;action application=&quot;hangup&quot;/&gt;<br>
     &lt;/condition&gt;<br>   &lt;/extension&gt;<span style="font-size:11.0pt;color:#1F497D"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Nandy Dagondon<br>
<b>Sent:</b> Monday, August 15, 2011 6:52 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] voicemail is not saved<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">
check the directory/file permissions<br>-nandy<u></u><u></u></p><div><p class="MsoNormal">On Tue, Aug 16, 2011 at 3:33 AM, Yungwei Chen wrote:<u></u><u></u></p><p class="MsoNormal">Hi,<br><br>I left several voicemails (Each is longer than 3 sec) to a user account, but none is available when I check the mailbox.<br>
Relevant settings are listed below. What am I missing here? Thanks.<br><br>In conf/autoload_configs/modules.conf.xml, mod_voicemail is already loaded.<br>freeswitch@internal&gt; load mod_voicemail<br>+OK Reloading XML<br>
-ERR [Module already loaded]<br>freeswitch@internal&gt; 2011-08-15 14:32:10.666978 [WARNING] switch_loadable_module.c:998 Module mod_voicemail Already Loaded!<br><br>Here&#39;s the content of conf/autoload_configs/voicemail.conf.xml:<br>
&lt;configuration name=&quot;voicemail.conf&quot; description=&quot;Voicemail&quot;&gt;<br> &lt;settings&gt;<br> &lt;/settings&gt;<br> &lt;profiles&gt;<br>   &lt;profile name=&quot;default&quot;&gt;<br>     &lt;param name=&quot;file-extension&quot; value=&quot;wav&quot;/&gt;<br>
     &lt;param name=&quot;terminator-key&quot; value=&quot;#&quot;/&gt;<br>     &lt;param name=&quot;max-login-attempts&quot; value=&quot;3&quot;/&gt;<br>     &lt;param name=&quot;digit-timeout&quot; value=&quot;10000&quot;/&gt;<br>
     &lt;param name=&quot;min-record-len&quot; value=&quot;3&quot;/&gt;<br>     &lt;param name=&quot;max-record-len&quot; value=&quot;300&quot;/&gt;<br>     &lt;param name=&quot;max-retries&quot; value=&quot;3&quot;/&gt;<br>
     &lt;param name=&quot;tone-spec&quot; value=&quot;%(1000, 0, 640)&quot;/&gt;<br>     &lt;param name=&quot;callback-dialplan&quot; value=&quot;XML&quot;/&gt;<br>     &lt;param name=&quot;callback-context&quot; value=&quot;default&quot;/&gt;<br>
     &lt;param name=&quot;play-new-messages-key&quot; value=&quot;1&quot;/&gt;<br>     &lt;param name=&quot;play-saved-messages-key&quot; value=&quot;2&quot;/&gt;<br>     &lt;param name=&quot;login-keys&quot; value=&quot;0&quot;/&gt;<br>
     &lt;param name=&quot;main-menu-key&quot; value=&quot;0&quot;/&gt;<br>     &lt;param name=&quot;config-menu-key&quot; value=&quot;5&quot;/&gt;<br>     &lt;param name=&quot;record-greeting-key&quot; value=&quot;1&quot;/&gt;<br>
     &lt;param name=&quot;choose-greeting-key&quot; value=&quot;2&quot;/&gt;<br>     &lt;param name=&quot;change-pass-key&quot; value=&quot;6&quot;/&gt;<br>     &lt;param name=&quot;record-name-key&quot; value=&quot;3&quot;/&gt;<br>
     &lt;param name=&quot;record-file-key&quot; value=&quot;3&quot;/&gt;<br>     &lt;param name=&quot;listen-file-key&quot; value=&quot;1&quot;/&gt;<br>     &lt;param name=&quot;save-file-key&quot; value=&quot;2&quot;/&gt;<br>
     &lt;param name=&quot;delete-file-key&quot; value=&quot;7&quot;/&gt;<br>     &lt;param name=&quot;undelete-file-key&quot; value=&quot;8&quot;/&gt;<br>     &lt;param name=&quot;email-key&quot; value=&quot;4&quot;/&gt;<br>
     &lt;param name=&quot;pause-key&quot; value=&quot;0&quot;/&gt;<br>     &lt;param name=&quot;restart-key&quot; value=&quot;1&quot;/&gt;<br>     &lt;param name=&quot;ff-key&quot; value=&quot;6&quot;/&gt;<br>     &lt;param name=&quot;rew-key&quot; value=&quot;4&quot;/&gt;<br>
     &lt;param name=&quot;skip-greet-key&quot; value=&quot;#&quot;/&gt;<br>     &lt;param name=&quot;previous-message-key&quot; value=&quot;1&quot;/&gt;<br>     &lt;param name=&quot;next-message-key&quot; value=&quot;3&quot;/&gt;<br>
     &lt;param name=&quot;skip-info-key&quot; value=&quot;*&quot;/&gt;<br>     &lt;param name=&quot;repeat-message-key&quot; value=&quot;0&quot;/&gt;<br>     &lt;param name=&quot;record-silence-threshold&quot; value=&quot;200&quot;/&gt;<br>
     &lt;param name=&quot;record-silence-hits&quot; value=&quot;2&quot;/&gt;<br>     &lt;param name=&quot;web-template-file&quot; value=&quot;web-vm.tpl&quot;/&gt;<br>     &lt;!-- if you need to change the sample rate of the recorded files e.g. gmail voicemail player --&gt;<br>
     &lt;!--&lt;param name=&quot;record-sample-rate&quot; value=&quot;11025&quot;/&gt;--&gt;<br>     &lt;!-- the next two both must be set for this to be enabled<br>          the extension is in the format of &lt;dest&gt; [&lt;dialplan&gt;] [&lt;context&gt;]<br>
      --&gt;<br>     &lt;param name=&quot;operator-extension&quot; value=&quot;operator XML default&quot;/&gt;<br>     &lt;param name=&quot;operator-key&quot; value=&quot;9&quot;/&gt;<br>     &lt;param name=&quot;vmain-extension&quot; value=&quot;vmain XML default&quot;/&gt;<br>
     &lt;param name=&quot;vmain-key&quot; value=&quot;*&quot;/&gt;<br>     &lt;!-- playback created files as soon as they were recorded by default --&gt;<br>     &lt;!--&lt;param name=&quot;auto-playback-recordings&quot; value=&quot;true&quot;/&gt;--&gt;<br>
     &lt;email&gt;<br>       &lt;param name=&quot;template-file&quot; value=&quot;voicemail.tpl&quot;/&gt;<br>       &lt;param name=&quot;notify-template-file&quot; value=&quot;notify-voicemail.tpl&quot;/&gt;<br>       &lt;!-- this is the format voicemail_time will have --&gt;<br>
       &lt;param name=&quot;date-fmt&quot; value=&quot;%A, %B %d %Y, %I %M %p&quot;/&gt;<br>       &lt;param name=&quot;email-from&quot; value=&quot;${voicemail_account}@${voicemail_domain}&quot;/&gt;<br>     &lt;/email&gt;<br>
     &lt;!--&lt;param name=&quot;storage-dir&quot; value=&quot;/tmp&quot;/&gt;--&gt;<br>     &lt;!--&lt;param name=&quot;odbc-dsn&quot; value=&quot;dsn:user:pass&quot;/&gt;--&gt;<br>     &lt;!--&lt;param name=&quot;record-comment&quot; value=&quot;Your Comment&quot;/&gt;--&gt;<br>
     &lt;!--&lt;param name=&quot;record-title&quot; value=&quot;Your Title&quot;/&gt;--&gt;<br>     &lt;!--&lt;param name=&quot;record-copyright&quot; value=&quot;Your Copyright&quot;/&gt;--&gt;<br>   &lt;/profile&gt;<br>
 &lt;/profiles&gt;<br>&lt;/configuration&gt;<br><br>In conf/directory/default.xml, user 91000 is defined in domain voicemail_2.<br> &lt;domain name=&quot;voicemail_2&quot;&gt;<br>   &lt;groups&gt;<br>     &lt;group name=&quot;default&quot;&gt;<br>
       &lt;users&gt;<br>         &lt;user bluebox_id=&quot;2&quot; id=&quot;91000&quot;&gt;<br>           &lt;params&gt;<br>             &lt;param name=&quot;sip-forbid-register&quot; value=&quot;true&quot;/&gt;<br>             &lt;param name=&quot;vm-password&quot; value=&quot;xxxx&quot;/&gt;<br>
             &lt;param name=&quot;vm-message-ext&quot; value=&quot;wav&quot;/&gt;<br>             &lt;param name=&quot;vm-mailto&quot; value=&quot;<a href="mailto:xxx@xxx.com" target="_blank">xxx@xxx.com</a>&quot;/&gt;<br>
             &lt;param name=&quot;email-addr&quot; value=&quot;<a href="mailto:xxx@xxx.com" target="_blank">xxx@xxx.com</a>&quot;/&gt;<br>             &lt;param name=&quot;vm-delete-file&quot; value=&quot;false&quot;/&gt;<br>
             &lt;param name=&quot;vm-attach-file&quot; value=&quot;true&quot;/&gt;<br>             &lt;param name=&quot;vm-email-all-messages&quot; value=&quot;true&quot;/&gt;<br>           &lt;/params&gt;<br>           &lt;variables&gt;<br>
             &lt;variable name=&quot;timezone&quot; value=&quot;America/Chicago&quot;/&gt;<br>           &lt;/variables&gt;<br>         &lt;/user&gt;<br>       &lt;/users&gt;<br>     &lt;/group&gt;<br>   &lt;/groups&gt;<br>
 &lt;/domain&gt;<br><br>In my dialplan, calls to 1112223333 will be sent to user 91000&#39;s voicemail box if they are not answered.<br>   &lt;extension name=&quot;main_number_2&quot; continue=&quot;true&quot;&gt;<br>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^1112223333$&quot;&gt;<br>
       &lt;action application=&quot;set&quot; bluebox=&quot;settingEndBridge&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>       &lt;action application=&quot;set&quot; bluebox=&quot;settingFail&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
       &lt;action application=&quot;set&quot; bluebox=&quot;autoPlay&quot; data=&quot;vm_auto_play=false&quot;/&gt;<br>       &lt;action application=&quot;set&quot; bluebox=&quot;settingTimeout&quot; data=&quot;call_timeout=30&quot;/&gt;<br>
       &lt;action application=&quot;set&quot; bluebox=&quot;settingRing&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>       &lt;action application=&quot;set&quot; bluebox=&quot;settingRingXfer&quot; data=&quot;transfer_ringback=${us-ring}&quot;/&gt;<br>
       &lt;action application=&quot;export&quot; bluebox=&quot;sipCalleeIdName&quot; data=&quot;sip_callee_id_name=m1&quot;/&gt;<br>       &lt;action application=&quot;export&quot; bluebox=&quot;sipCalleeIdNumber&quot; data=&quot;sip_callee_id_number=1112223333&quot;/&gt;<br>
       &lt;action application=&quot;bridge&quot; data=&quot;user/91000@$${location_3}&quot;/&gt;<br>       &lt;action application=&quot;answer&quot;/&gt;<br>       &lt;action application=&quot;voicemail&quot; data=&quot;default voicemail_2 91000&quot;/&gt;<br>
       &lt;action application=&quot;hangup&quot;/&gt;<br>     &lt;/condition&gt;<br>   &lt;/extension&gt;<br><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div><br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>