In your logs, you should (at the debug level) see it trying to send or something. I have done this and am using: <email> <param name="template-file" value="voicemail.tpl"/> <param name="notify-template-file" value="notify-voicemail.tpl"/> <!-- this is the format voicemail_time will have --> <param name="date-fmt" value="%A, %B %d %Y, %I %M %p"/> <param name="email-from" value="${voicemail_account}@${voicemail_domain}"/> </email> and in switch.conf.xml I have <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/> You need to check those debug logs. Sean Devoy <sdevoy@bizfocused.com> wrote:
I tried <param name="mailer-app" value="/usr/sbin/sendmail" />
And then I changed args to: <param name="mailer-app-args" value=""/>
Then: service freeswitch restart
Still no errors, but no email gets sent.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Abaci Sent: Thursday, April 24, 2014 1:59 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
try with empty mail-app-args
On 4/24/2014 1:44 PM, Sean Devoy wrote: [cid:image001.gif@01CF5FC9.5B957360] Hi All,
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 https://wiki.freeswitch.org/wiki/Mod_voicemail. 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.
Here is what I have so far: In /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml I have: <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/> <param name="dump-cores" value="yes"/>
In the user directory entry I have: <param name="vm-mailto" value="sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>"/> <param name="vm-mailfrom" value="voicemail@bizfocused.com<mailto:voicemail@bizfocused.com>"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-attach-file" value="true" />
I can send emails from SSH when logged in as root. mail -s "Test mail from testuser1" sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com> Hello this is the test mail .
I can't find any errors in the console log, but no email gets sent.
Have I missed something about creating a freeswitch user in sendmail???
Thanks, Sean
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org<mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com