<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: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="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
/* 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:"Verdana","sans-serif";
        color:#44546A;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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-family:"Verdana","sans-serif";color:#44546A">OK, what are those args?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif";color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>On Behalf Of </b>Russell Treleaven<br>
<b>Sent:</b> Thursday, April 24, 2014 4:57 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>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">configure to execute a script like the following in switch.conf.xml<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">just have the script log the args it receives then make that script call sendmail<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Then should help you debug the problem<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><param name="mailer-app" value="/usr/local/freeswitch/scripts/sendemail.py"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><param name="mailer-app-args" value="-i -d -t"/><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Did you reload the configuration. May be restart the freeswitch service?<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">OS ?<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Thanks for the replies.<br>
@Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test.<br>
@Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.<br>
<br>
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.<br>
<br>
Here is the log from my latest test:<br>
<a href="http://pastebin.freeswitch.org/22446" target="_blank">http://pastebin.freeswitch.org/22446</a><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
-----Original Message-----<br>
From: <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>] On Behalf Of
<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a><br>
Sent: Thursday, April 24, 2014 3:20 PM<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail<br>
<br>
In your logs, you should (at the debug level) see it trying to send or something. I have done this and am using:<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"<br>
value="${voicemail_account}@${voicemail_domain}"/><br>
</email><br>
and in<br>
switch.conf.xml I have<br>
<param name="mailer-app" value="sendmail"/><br>
<param name="mailer-app-args" value="-t"/><br>
<br>
You need to check those debug logs.<br>
<br>
Sean Devoy <<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>> wrote:<br>
<br>
> I tried<br>
> <param name="mailer-app" value="/usr/sbin/sendmail" /><br>
><br>
> And then I changed args to:<br>
> <param name="mailer-app-args" value=""/><br>
><br>
> Then: service freeswitch restart<br>
><br>
> Still no errors, but no email gets sent.<br>
><br>
><br>
> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">
freeswitch-users-bounces@lists.freeswitch.org</a><br>
> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
> Abaci<br>
> Sent: Thursday, April 24, 2014 1:59 PM<br>
> To: FreeSWITCH Users Help<br>
> Subject: Re: [Freeswitch-users] Send users wav of voicemail via<br>
> sendmail<br>
><br>
> try with empty mail-app-args<br>
><br>
><br>
><br>
> On 4/24/2014 1:44 PM, Sean Devoy wrote:<br>
> [<a href="cid:image001.gif@01CF5FC9.5B957360">cid:image001.gif@01CF5FC9.5B957360</a>]<br>
> Hi All,<br>
><br>
> 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" target="_blank">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.<br>
><br>
> Here is what I have so far:<br>
> In /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml I have:<br>
> <param name="mailer-app" value="sendmail"/> <param<br>
> name="mailer-app-args" value="-t"/> <param name="dump-cores"<br>
> value="yes"/><br>
><br>
> In the user directory entry I have:<br>
> <param name="vm-mailto" value="<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a><mailto:<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>>"/><br>
> <param name="vm-mailfrom" value="<a href="mailto:voicemail@bizfocused.com" target="_blank">voicemail@bizfocused.com</a><mailto:<a href="mailto:voicemail@bizfocused.com" target="_blank">voicemail@bizfocused.com</a>>"/><br>
> <param name="vm-email-all-messages" value="true"/><br>
> <param name="vm-attach-file" value="true" /><br>
><br>
> I can send emails from SSH when logged in as root.<br>
> mail -s "Test mail from testuser1" <a href="mailto:sdevoy@bizfocused.com" target="_blank">
sdevoy@bizfocused.com</a><mailto:<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>><br>
> Hello this is the test mail<br>
> .<br>
><br>
> I can't find any errors in the console log, but no email gets sent.<br>
><br>
> Have I missed something about creating a freeswitch user in sendmail???<br>
><br>
> Thanks,<br>
> Sean<br>
><br>
><br>
><br>
><br>
> ______________________________________________________________________<br>
> ___<br>
><br>
> Professional FreeSWITCH Consulting Services:<br>
><br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>><br>
><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
><br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
><br>
><br>
> Official FreeSWITCH Sites<br>
><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
><br>
><br>
> FreeSWITCH-users mailing list<br>
><br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><mailto:<a href="mailto:FreeSWITCH-users@lists.fr" target="_blank">FreeSWITCH-users@lists.fr</a><br>
> <a href="http://eeswitch.org" target="_blank">eeswitch.org</a>><br>
><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-use</a><br>
> rs<br>
><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> ----------------------------------------------------<br>
> Alternatives:<br>
><br>
> ----------------------------------------------------<br>
> ______________________________________________________________________<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">> ___ Professional FreeSWITCH Consulting Services:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">> <a href="mailto:consulting@freeswitch.org" target="_blank">
consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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-use" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-use</a><br>
> rs<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
--<br>
Your life is like a penny. You're going to lose it. The question is:<br>
How do<br>
you spend it?<br>
<br>
John Covici<br>
<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server <a href="http://www.cudatel.com" target="_blank">
http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>