<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If I change my dialplan to the following, voicemail will work properly. What am I missing here? Thanks.<o:p></o:p></span></p><p class=MsoNormal> <extension name="main_number_2" continue="true"><br> <condition field="destination_number" expression="^1112223333$"><o:p></o:p></p><p class=MsoNormal><!--<o:p></o:p></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>--><o:p></o:p></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;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <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<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>check the directory/file permissions<br>-nandy<o:p></o:p></p><div><p class=MsoNormal>On Tue, Aug 16, 2011 at 3:33 AM, Yungwei Chen wrote:<o:p></o:p></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">xxx@xxx.com</a>"/><br> <param name="email-addr" value="<a href="mailto:xxx@xxx.com">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">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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>