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 "FreeSWITCH Log" 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"><<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>></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"> <extension name="main_number_2" continue="true"><br> <condition field="destination_number" expression="^1112223333$"><u></u><u></u></p><p class="MsoNormal">
<!--<u></u><u></u></p><p class="MsoNormal"> <action application="set" bluebox="settingEndBridge" data="hangup_after_bridge=true"/><br> <action application="set" bluebox="settingFail" data="continue_on_fail=true"/><br>
<action application="set" bluebox="autoPlay" data="vm_auto_play=false"/><br> <action application="set" bluebox="settingTimeout" data="call_timeout=30"/><br>
<action application="set" bluebox="settingRing" data="ringback=${us-ring}"/><br> <action application="set" bluebox="settingRingXfer" data="transfer_ringback=${us-ring}"/><br>
<action application="export" bluebox="sipCalleeIdName" data="sip_callee_id_name=m1"/><br> <action application="export" bluebox="sipCalleeIdNumber" data="sip_callee_id_number=1112223333"/><br>
--><u></u><u></u></p><p class="MsoNormal"> <action application="answer"/><br> <action application="voicemail" data="default voicemail_2 91000"/><br> <action application="hangup"/><br>
</condition><br> </extension><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> load mod_voicemail<br>+OK Reloading XML<br>
-ERR [Module already loaded]<br>freeswitch@internal> 2011-08-15 14:32:10.666978 [WARNING] switch_loadable_module.c:998 Module mod_voicemail Already Loaded!<br><br>Here's the content of conf/autoload_configs/voicemail.conf.xml:<br>
<configuration name="voicemail.conf" description="Voicemail"><br> <settings><br> </settings><br> <profiles><br> <profile name="default"><br> <param name="file-extension" value="wav"/><br>
<param name="terminator-key" value="#"/><br> <param name="max-login-attempts" value="3"/><br> <param name="digit-timeout" value="10000"/><br>
<param name="min-record-len" value="3"/><br> <param name="max-record-len" value="300"/><br> <param name="max-retries" value="3"/><br>
<param name="tone-spec" value="%(1000, 0, 640)"/><br> <param name="callback-dialplan" value="XML"/><br> <param name="callback-context" value="default"/><br>
<param name="play-new-messages-key" value="1"/><br> <param name="play-saved-messages-key" value="2"/><br> <param name="login-keys" value="0"/><br>
<param name="main-menu-key" value="0"/><br> <param name="config-menu-key" value="5"/><br> <param name="record-greeting-key" value="1"/><br>
<param name="choose-greeting-key" value="2"/><br> <param name="change-pass-key" value="6"/><br> <param name="record-name-key" value="3"/><br>
<param name="record-file-key" value="3"/><br> <param name="listen-file-key" value="1"/><br> <param name="save-file-key" value="2"/><br>
<param name="delete-file-key" value="7"/><br> <param name="undelete-file-key" value="8"/><br> <param name="email-key" value="4"/><br>
<param name="pause-key" value="0"/><br> <param name="restart-key" value="1"/><br> <param name="ff-key" value="6"/><br> <param name="rew-key" value="4"/><br>
<param name="skip-greet-key" value="#"/><br> <param name="previous-message-key" value="1"/><br> <param name="next-message-key" value="3"/><br>
<param name="skip-info-key" value="*"/><br> <param name="repeat-message-key" value="0"/><br> <param name="record-silence-threshold" value="200"/><br>
<param name="record-silence-hits" value="2"/><br> <param name="web-template-file" value="web-vm.tpl"/><br> <!-- if you need to change the sample rate of the recorded files e.g. gmail voicemail player --><br>
<!--<param name="record-sample-rate" value="11025"/>--><br> <!-- the next two both must be set for this to be enabled<br> the extension is in the format of <dest> [<dialplan>] [<context>]<br>
--><br> <param name="operator-extension" value="operator XML default"/><br> <param name="operator-key" value="9"/><br> <param name="vmain-extension" value="vmain XML default"/><br>
<param name="vmain-key" value="*"/><br> <!-- playback created files as soon as they were recorded by default --><br> <!--<param name="auto-playback-recordings" value="true"/>--><br>
<email><br> <param name="template-file" value="voicemail.tpl"/><br> <param name="notify-template-file" value="notify-voicemail.tpl"/><br> <!-- this is the format voicemail_time will have --><br>
<param name="date-fmt" value="%A, %B %d %Y, %I %M %p"/><br> <param name="email-from" value="${voicemail_account}@${voicemail_domain}"/><br> </email><br>
<!--<param name="storage-dir" value="/tmp"/>--><br> <!--<param name="odbc-dsn" value="dsn:user:pass"/>--><br> <!--<param name="record-comment" value="Your Comment"/>--><br>
<!--<param name="record-title" value="Your Title"/>--><br> <!--<param name="record-copyright" value="Your Copyright"/>--><br> </profile><br>
</profiles><br></configuration><br><br>In conf/directory/default.xml, user 91000 is defined in domain voicemail_2.<br> <domain name="voicemail_2"><br> <groups><br> <group name="default"><br>
<users><br> <user bluebox_id="2" id="91000"><br> <params><br> <param name="sip-forbid-register" value="true"/><br> <param name="vm-password" value="xxxx"/><br>
<param name="vm-message-ext" value="wav"/><br> <param name="vm-mailto" value="<a href="mailto:xxx@xxx.com" target="_blank">xxx@xxx.com</a>"/><br>
<param name="email-addr" value="<a href="mailto:xxx@xxx.com" target="_blank">xxx@xxx.com</a>"/><br> <param name="vm-delete-file" value="false"/><br>
<param name="vm-attach-file" value="true"/><br> <param name="vm-email-all-messages" value="true"/><br> </params><br> <variables><br>
<variable name="timezone" value="America/Chicago"/><br> </variables><br> </user><br> </users><br> </group><br> </groups><br>
</domain><br><br>In my dialplan, calls to 1112223333 will be sent to user 91000's voicemail box if they are not answered.<br> <extension name="main_number_2" continue="true"><br> <condition field="destination_number" expression="^1112223333$"><br>
<action application="set" bluebox="settingEndBridge" data="hangup_after_bridge=true"/><br> <action application="set" bluebox="settingFail" data="continue_on_fail=true"/><br>
<action application="set" bluebox="autoPlay" data="vm_auto_play=false"/><br> <action application="set" bluebox="settingTimeout" data="call_timeout=30"/><br>
<action application="set" bluebox="settingRing" data="ringback=${us-ring}"/><br> <action application="set" bluebox="settingRingXfer" data="transfer_ringback=${us-ring}"/><br>
<action application="export" bluebox="sipCalleeIdName" data="sip_callee_id_name=m1"/><br> <action application="export" bluebox="sipCalleeIdNumber" data="sip_callee_id_number=1112223333"/><br>
<action application="bridge" data="user/91000@$${location_3}"/><br> <action application="answer"/><br> <action application="voicemail" data="default voicemail_2 91000"/><br>
<action application="hangup"/><br> </condition><br> </extension><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>