<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:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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=us-ascii">
<meta name="Microsoft Theme 2.00" content="Ice 011">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#1F86FF;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#005DC9;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#44546A;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:#003572;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#44546A;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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 bgcolor="white" lang="EN-US" link="#1F86FF" vlink="#005DC9">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#44546A">I tried <o:p></o:p></span></p>
<p class="MsoNormal"><param name="mailer-app" value="/usr/sbin/sendmail" /><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">And then I changed args to:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><param name="mailer-app-args" value=""/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">Then: service freeswitch restart<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">Still no errors, but no email gets sent.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>On Behalf Of </b>Abaci<br>
<b>Sent:</b> Thursday, April 24, 2014 1:59 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Send users wav of voicemail via sendmail<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">try with empty mail-app-args<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:9.5pt;font-family:Consolas;color:blue"><br>
</span><o:p></o:p></p>
<p class="MsoNormal"><br>
On 4/24/2014 1:44 PM, Sean Devoy wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif";color:black"><img width="31" height="31" id="_x0000_i1025" src="cid:image001.gif@01CF5FC9.5B957360"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">Hi All,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Can someone explain (or point to documentation) to get voice mail messages emailed to the end user. I have been over and over the mod_voicemail wiki page at
<a href="https://wiki.freeswitch.org/wiki/Mod_voicemail">https://wiki.freeswitch.org/wiki/Mod_voicemail</a>. It is a nice reference page as it lists lots and lots of voicemail variables and parameters. However, I cannot determine what the minimum rwquirements
are.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Here is what I have so far:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">In /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml I have:</span><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="color:#44546A"><param name="mailer-app" value="sendmail"/></span><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="color:#44546A"><param name="mailer-app-args" value="-t"/></span><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="color:#44546A"><param name="dump-cores" value="yes"/></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">In the user directory entry I have:</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">param</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">vm-mailto</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">value</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue"><a href="mailto:sdevoy@bizfocused.com">sdevoy@bizfocused.com</a></span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">param</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">vm-mailfrom</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">value</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue"><a href="mailto:voicemail@bizfocused.com">voicemail@bizfocused.com</a></span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">param</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">vm-email-all-messages</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">value</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">true</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">param</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">vm-attach-file</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">value</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">true</span><span style="font-size:9.5pt;font-family:Consolas;color:windowtext">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
/></span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">I can send emails from SSH when logged in as root.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#44546A">mail -s "Test mail from testuser1"
<a href="mailto:sdevoy@bizfocused.com">sdevoy@bizfocused.com</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#44546A"> Hello this is the test mail</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> .</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">I can’t find any errors in the console log, but no email gets sent.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Have I missed something about creating a freeswitch user in sendmail???</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Sean</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif";color:black"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_________________________________________________________________________<o:p></o:p></pre>
<pre>Professional FreeSWITCH Consulting Services:<o:p></o:p></pre>
<pre><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><o:p></o:p></pre>
<pre><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<o:p></o:p></pre>
<pre><a href="http://www.cudatel.com">http://www.cudatel.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Official FreeSWITCH Sites<o:p></o:p></pre>
<pre><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
<pre><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><o:p></o:p></pre>
<pre><a href="http://www.cluecon.com">http://www.cluecon.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>FreeSWITCH-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><o:p></o:p></pre>
<pre><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><o:p></o:p></pre>
<pre>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><o:p></o:p></pre>
<pre><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif";color:black"><o:p> </o:p></span></p>
</div>
</body>
</html>