<div dir="ltr"><div>configure to execute a script like the following in switch.conf.xml</div><div>just have the script log the args it receives then make that script call sendmail</div><div>Then should help you debug the problem</div>
<div><br></div><div>&lt;param name=&quot;mailer-app&quot; value=&quot;/usr/local/freeswitch/scripts/sendemail.py&quot;/&gt;</div><div>&lt;param name=&quot;mailer-app-args&quot; value=&quot;-i -d -t&quot;/&gt;</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <span dir="ltr">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.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 dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:verdana,sans-serif">Did you reload the configuration. May be restart the freeswitch service?</div>


<div class="gmail_default" style="font-family:verdana,sans-serif"></div><div class="gmail_extra"><div class="gmail_default" style="font-family:verdana,sans-serif">OS ?</div></div><div><font face="verdana, sans-serif"><div>


<span style="font-family:arial"><div><font face="verdana, sans-serif" color="#cc6600" size="1"><b><br></b></font></div></span></div></font></div>
<br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <span dir="ltr">&lt;<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


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><br>
<div><div><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>
      &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;<br>
           value=&quot;${voicemail_account}@${voicemail_domain}&quot;/&gt;<br>
      &lt;/email&gt;<br>
and in<br>
switch.conf.xml I have<br>
    &lt;param name=&quot;mailer-app&quot; value=&quot;sendmail&quot;/&gt;<br>
    &lt;param name=&quot;mailer-app-args&quot; value=&quot;-t&quot;/&gt;<br>
<br>
You need to check those debug logs.<br>
<br>
Sean Devoy &lt;<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&gt; wrote:<br>
<br>
&gt; I tried<br>
&gt; &lt;param name=&quot;mailer-app&quot; value=&quot;/usr/sbin/sendmail&quot; /&gt;<br>
&gt;<br>
&gt; And then I changed args to:<br>
&gt; &lt;param name=&quot;mailer-app-args&quot; value=&quot;&quot;/&gt;<br>
&gt;<br>
&gt; Then: service freeswitch restart<br>
&gt;<br>
&gt; Still no errors, but no email gets sent.<br>
&gt;<br>
&gt;<br>
&gt; From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt; [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
&gt; Abaci<br>
&gt; Sent: Thursday, April 24, 2014 1:59 PM<br>
&gt; To: FreeSWITCH Users Help<br>
&gt; Subject: Re: [Freeswitch-users] Send users wav of voicemail via<br>
&gt; sendmail<br>
&gt;<br>
&gt; try with empty mail-app-args<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 4/24/2014 1:44 PM, Sean Devoy wrote:<br>
&gt; [cid:image001.gif@01CF5FC9.5B957360]<br>
&gt; Hi All,<br>
&gt;<br>
&gt; 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>



&gt;<br>
&gt; Here is what I have so far:<br>
&gt; In /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml I have:<br>
&gt; &lt;param name=&quot;mailer-app&quot; value=&quot;sendmail&quot;/&gt; &lt;param<br>
&gt; name=&quot;mailer-app-args&quot; value=&quot;-t&quot;/&gt; &lt;param name=&quot;dump-cores&quot;<br>
&gt; value=&quot;yes&quot;/&gt;<br>
&gt;<br>
&gt; In the user directory entry I have:<br>
&gt;         &lt;param name=&quot;vm-mailto&quot; value=&quot;<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&lt;mailto:<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&gt;&quot;/&gt;<br>



&gt;         &lt;param name=&quot;vm-mailfrom&quot; value=&quot;<a href="mailto:voicemail@bizfocused.com" target="_blank">voicemail@bizfocused.com</a>&lt;mailto:<a href="mailto:voicemail@bizfocused.com" target="_blank">voicemail@bizfocused.com</a>&gt;&quot;/&gt;<br>



&gt;         &lt;param name=&quot;vm-email-all-messages&quot; value=&quot;true&quot;/&gt;<br>
&gt;         &lt;param name=&quot;vm-attach-file&quot; value=&quot;true&quot; /&gt;<br>
&gt;<br>
&gt; I can send emails from SSH when logged in as root.<br>
&gt; mail -s &quot;Test mail from testuser1&quot; <a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&lt;mailto:<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&gt;<br>

&gt;    Hello this is the test mail<br>
&gt;         .<br>
&gt;<br>
&gt; I can&#39;t find any errors in the console log, but no email gets sent.<br>
&gt;<br>
&gt; Have I missed something about creating a freeswitch user in sendmail???<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Sean<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________<br>
&gt; ___<br>
&gt;<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<br>
&gt;<br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt;<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;<br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt;<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.fr" target="_blank">FreeSWITCH-users@lists.fr</a><br>

&gt; <a href="http://eeswitch.org" target="_blank">eeswitch.org</a>&gt;<br>
&gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;<br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-use</a><br>
&gt; rs<br>
&gt;<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------<br>
&gt; Alternatives:<br>
&gt;<br>
&gt; ----------------------------------------------------<br>
&gt; ______________________________________________________________________<br>
</div></div>&gt; ___ Professional FreeSWITCH Consulting Services:<br>
<div><div>&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-use</a><br>
&gt; rs<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
--<br>
Your life is like a penny.  You&#39;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><br>
</div></div></blockquote></div><br></div></div>
<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><br>
<br></blockquote></div><br></div>