Send users wav of voicemail via sendmail
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"/> <param name="vm-mailfrom" value="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 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
change the following <param name="mailer-app" value="sendmail"/> to <param name="mailer-app" value="*/usr/bin/sendmai*l"/> Then reload the configurations. Lloyd 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"/>
<param name="vm-mailfrom" value="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
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 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
Like below and reload <param name="mailer-app" value="/usr/sbin/sendmail" /> On Thu, Apr 24, 2014 at 1:55 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com>wrote:
change the following
<param name="mailer-app" value="sendmail"/>
to
<param name="mailer-app" value="*/usr/bin/sendmai*l"/>
Then reload the configurations.
Lloyd
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"/>
<param name="vm-mailfrom" value="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
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 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
try with empty mail-app-args <paramname="mailer-app-args"value=""/> On 4/24/2014 1:44 PM, Sean Devoy wrote:
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:
<paramname="vm-mailto"value="sdevoy@bizfocused.com"/>
<paramname="vm-mailfrom"value="voicemail@bizfocused.com"/>
<paramname="vm-email-all-messages"value="true"/>
<paramname="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
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 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
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 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<mailto: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
Does sendmail exist on your system? Open a terminal window and type "which sendmail". You may need to be root. On Thu, Apr 24, 2014 at 12:27 PM, 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:
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"/>
<param name="vm-mailfrom" value="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
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
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
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
_________________________________________________________________________ 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
Then it is not a freeswitch and sendmail issue. It is your Email server( bizfocused.com <voicemail@bizfocused.com>) issue. Try with a gmail or yahoo email address and see if it is working. In the past I saw this issue and finally it is destination mail server issue. On Thu, Apr 24, 2014 at 2:27 PM, 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:
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"/>
<param name="vm-mailfrom" value="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
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
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
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
_________________________________________________________________________ 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
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
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server. There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured. Here is the log from my latest test: http://pastebin.freeswitch.org/22446 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail 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.fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- 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-use rs 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 _________________________________________________________________________ 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
Did you reload the configuration. May be restart the freeswitch service? OS ? On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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.fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- 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-use rs 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
configure to execute a script like the following in switch.conf.xml just have the script log the args it receives then make that script call sendmail Then should help you debug the problem <param name="mailer-app" value="/usr/local/freeswitch/scripts/sendemail.py"/> <param name="mailer-app-args" value="-i -d -t"/> On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com>wrote:
Did you reload the configuration. May be restart the freeswitch service?
OS ?
On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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.fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- 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-use rs 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
OK, what are those args? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Russell Treleaven Sent: Thursday, April 24, 2014 4:57 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail configure to execute a script like the following in switch.conf.xml just have the script log the args it receives then make that script call sendmail Then should help you debug the problem <param name="mailer-app" value="/usr/local/freeswitch/scripts/sendemail.py"/> <param name="mailer-app-args" value="-i -d -t"/> On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com<mailto:lloyd.aloysius@gmail.com>> wrote: Did you reload the configuration. May be restart the freeswitch service? OS ? On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server. There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured. Here is the log from my latest test: http://pastebin.freeswitch.org/22446 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of covici@ccs.covici.com<mailto:covici@ccs.covici.com> Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail 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<mailto: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> [mailto: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><mailto:sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>>"/> <param name="vm-mailfrom" value="voicemail@bizfocused.com<mailto:voicemail@bizfocused.com><mailto: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><mailto: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><mailto: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><mailto:FreeSWITCH-users@lists.fr<mailto:FreeSWITCH-users@lists.fr> eeswitch.org<http://eeswitch.org>>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- Alternatives:
---------------------------------------------------- ______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs 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<mailto:covici@ccs.covici.com> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
To be more clear. you are going to make a bash script that will stunt double for sendmail. first iteration of the shell script that you will write just logs ">>>>>>>>>>Hey I actually ran" This is how you can verify that freeswitch is executing the specified email app. then when you know it runs you can pass the args and stdin to sendmail via the shell script. The args are only meaningful to sendmail. you can also run the bash script manually to make sure it works as expected. Hope this helps. On Thu, Apr 24, 2014 at 5:08 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
OK, what are those args?
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Russell Treleaven *Sent:* Thursday, April 24, 2014 4:57 PM
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Send users wav of voicemail via sendmail
configure to execute a script like the following in switch.conf.xml
just have the script log the args it receives then make that script call sendmail
Then should help you debug the problem
<param name="mailer-app" value="/usr/local/freeswitch/scripts/sendemail.py"/>
<param name="mailer-app-args" value="-i -d -t"/>
On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Did you reload the configuration. May be restart the freeswitch service?
OS ?
On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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.fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- 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-use rs 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
I ran a bash script that dumped the args. They are not just meaningful to sendmail as they contain the FROM and TO email address names. How do I get the sound file name and pass it to the script? I have everything else I need. I would however have preferred to just have Freeswitch send the email as described in the docs. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Russell Treleaven Sent: Thursday, April 24, 2014 6:54 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail To be more clear. you are going to make a bash script that will stunt double for sendmail. first iteration of the shell script that you will write just logs ">>>>>>>>>>Hey I actually ran" This is how you can verify that freeswitch is executing the specified email app. then when you know it runs you can pass the args and stdin to sendmail via the shell script. The args are only meaningful to sendmail. you can also run the bash script manually to make sure it works as expected. Hope this helps. On Thu, Apr 24, 2014 at 5:08 PM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: OK, what are those args? From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Russell Treleaven Sent: Thursday, April 24, 2014 4:57 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail configure to execute a script like the following in switch.conf.xml just have the script log the args it receives then make that script call sendmail Then should help you debug the problem <param name="mailer-app" value="/usr/local/freeswitch/scripts/sendemail.py"/> <param name="mailer-app-args" value="-i -d -t"/> On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com<mailto:lloyd.aloysius@gmail.com>> wrote: Did you reload the configuration. May be restart the freeswitch service? OS ? On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server. There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured. Here is the log from my latest test: http://pastebin.freeswitch.org/22446 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of covici@ccs.covici.com<mailto:covici@ccs.covici.com> Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail 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<mailto: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> [mailto: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><mailto:sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>>"/> <param name="vm-mailfrom" value="voicemail@bizfocused.com<mailto:voicemail@bizfocused.com><mailto: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><mailto: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><mailto: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><mailto:FreeSWITCH-users@lists.fr<mailto:FreeSWITCH-users@lists.fr> eeswitch.org<http://eeswitch.org>>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- Alternatives:
---------------------------------------------------- ______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs 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<mailto:covici@ccs.covici.com> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
The sound file is in the message which is on standard input, if memory serves. Sean Devoy <sdevoy@bizfocused.com> wrote:
I ran a bash script that dumped the args. They are not just meaningful to sendmail as they contain the FROM and TO email address names. How do I get the sound file name and pass it to the script? I have everything else I need.
I would however have preferred to just have Freeswitch send the email as described in the docs.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Russell Treleaven Sent: Thursday, April 24, 2014 6:54 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
To be more clear.
you are going to make a bash script that will stunt double for sendmail.
first iteration of the shell script that you will write just logs ">>>>>>>>>>Hey I actually ran" This is how you can verify that freeswitch is executing the specified email app. then when you know it runs you can pass the args and stdin to sendmail via the shell script. The args are only meaningful to sendmail. you can also run the bash script manually to make sure it works as expected.
Hope this helps.
On Thu, Apr 24, 2014 at 5:08 PM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: OK, what are those args?
From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Russell Treleaven Sent: Thursday, April 24, 2014 4:57 PM
To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
configure to execute a script like the following in switch.conf.xml just have the script log the args it receives then make that script call sendmail Then should help you debug the problem
<param name="mailer-app" value="/usr/local/freeswitch/scripts/sendemail.py"/> <param name="mailer-app-args" value="-i -d -t"/>
On Thu, Apr 24, 2014 at 4:49 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com<mailto:lloyd.aloysius@gmail.com>> wrote:
Did you reload the configuration. May be restart the freeswitch service? OS ?
On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of covici@ccs.covici.com<mailto:covici@ccs.covici.com> Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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<mailto: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> [mailto: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><mailto:sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>>"/> <param name="vm-mailfrom" value="voicemail@bizfocused.com<mailto:voicemail@bizfocused.com><mailto: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><mailto: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><mailto: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><mailto:FreeSWITCH-users@lists.fr<mailto:FreeSWITCH-users@lists.fr> eeswitch.org<http://eeswitch.org>>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- Alternatives:
---------------------------------------------------- ______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs 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<mailto:covici@ccs.covici.com>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
---------------------------------------------------- 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
Yes, I was trying reloadxml and reload mod_voicemail. I found the BIGGEST part of the problem. The documentation says to add those <param>s to “the profile”. I was adding them to the user directory entry for the EXTENSION not in the VOICEMAIL user profile. Now in the I see: switch_utils.c:931 Emailed file [/tmp/mail.139837281741da] to [sdevoy@bizfocused.com] mod_voicemail.c:3016 Sending message to sdevoy@bizfocused.com Alas, still no email :-/ /tmp/ is empty Closer, but still nothing. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Lloyd Aloysius Sent: Thursday, April 24, 2014 4:50 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail Did you reload the configuration. May be restart the freeswitch service? OS ? On Thu, Apr 24, 2014 at 4:41 PM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server. There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured. Here is the log from my latest test: http://pastebin.freeswitch.org/22446 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of covici@ccs.covici.com<mailto:covici@ccs.covici.com> Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail 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<mailto: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> [mailto: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><mailto:sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>>"/> <param name="vm-mailfrom" value="voicemail@bizfocused.com<mailto:voicemail@bizfocused.com><mailto: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><mailto: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><mailto: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><mailto:FreeSWITCH-users@lists.fr<mailto:FreeSWITCH-users@lists.fr> eeswitch.org<http://eeswitch.org>>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- Alternatives:
---------------------------------------------------- ______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs 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<mailto:covici@ccs.covici.com> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
Do you have something like fusionpbx or some gui on top of fs? I don't have email-wave.sh in my scripts directory, this is where things are going arwy: 157. 9160408f-8265-4947-981d-530d73c79b47 2014-04-24 14:24:48.094764 [DEBUG] switch_core_state_machine.c:611 Hangup Command with no Session system(/usr/local/freeswitch/scripts/emailwav.sh 220 /tmp/recordings/220.2014-04-24-14-24-22.wav ): Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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.fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs
---------------------------------------------------- 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-use rs 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
No gui. That email-wave.sh sends any call recordings that MAY get made during the call. That is not related to the voicemail recording or the email issue. I have changed the mailer-app to be a script that will just dump out the params for me so I can do it myself. I just don't know what gets passed for -i -d -t. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 5:13 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail Do you have something like fusionpbx or some gui on top of fs? I don't have email-wave.sh in my scripts directory, this is where things are going arwy: 157. 9160408f-8265-4947-981d-530d73c79b47 2014-04-24 14:24:48.094764 [DEBUG] switch_core_state_machine.c:611 Hangup Command with no Session system(/usr/local/freeswitch/scripts/emailwav.sh 220 /tmp/recordings/220.2014-04-24-14-24-22.wav ): Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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. fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u se rs
---------------------------------------------------- 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-u se rs 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
______________________________________________________________________ ___ 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-use rs http://www.freeswitch.org
______________________________________________________________________ ___ 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-use rs 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 _________________________________________________________________________ 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
Take a look at this link, it may help a little: http://wiki.freeswitch.org/wiki/Installation_and_Setup_on_OS_X#Email_Voicema... It’s for OS X but is basically unix. Uses Postfix which is a sendmail look a like. Use it every day. Mario G On Apr 24, 2014, at 2:22 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
No gui. That email-wave.sh sends any call recordings that MAY get made during the call. That is not related to the voicemail recording or the email issue.
I have changed the mailer-app to be a script that will just dump out the params for me so I can do it myself. I just don't know what gets passed for -i -d -t.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 5:13 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
Do you have something like fusionpbx or some gui on top of fs? I don't have email-wave.sh in my scripts directory, this is where things are going arwy: 157. 9160408f-8265-4947-981d-530d73c79b47 2014-04-24 14:24:48.094764 [DEBUG] switch_core_state_machine.c:611 Hangup Command with no Session system(/usr/local/freeswitch/scripts/emailwav.sh 220 /tmp/recordings/220.2014-04-24-14-24-22.wav ):
Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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. fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u se rs
---------------------------------------------------- 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-u se rs 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
______________________________________________________________________ ___ 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-use rs http://www.freeswitch.org
______________________________________________________________________ ___ 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-use rs 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
THANK YOU MARIO!!!! It seems that <variable name="voicemail_domain" value="bizfocused.com"/> was the missing piece. Sendmail works great now. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mario G Sent: Thursday, April 24, 2014 7:04 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail Take a look at this link, it may help a little: http://wiki.freeswitch.org/wiki/Installation_and_Setup_on_OS_X#Email_Voicema... It's for OS X but is basically unix. Uses Postfix which is a sendmail look a like. Use it every day. Mario G On Apr 24, 2014, at 2:22 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
No gui. That email-wave.sh sends any call recordings that MAY get made during the call. That is not related to the voicemail recording or the email issue.
I have changed the mailer-app to be a script that will just dump out the params for me so I can do it myself. I just don't know what gets passed for -i -d -t.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 5:13 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
Do you have something like fusionpbx or some gui on top of fs? I don't have email-wave.sh in my scripts directory, this is where things are going arwy: 157. 9160408f-8265-4947-981d-530d73c79b47 2014-04-24 14:24:48.094764 [DEBUG] switch_core_state_machine.c:611 Hangup Command with no Session system(/usr/local/freeswitch/scripts/emailwav.sh 220 /tmp/recordings/220.2014-04-24-14-24-22.wav ):
Sean Devoy <sdevoy@bizfocused.com> wrote:
Thanks for the replies. @Jason - yes sendmail works from a shell prompt just fine sending to the same address as the FS test. @Lloyd - same answer - it works from shell, but not from freeswitch. It is not the receiving mail server.
There is NOTHING in the debug logs. It is like EMAIL is not a feature that is turned on or configured.
Here is the log from my latest test: http://pastebin.freeswitch.org/22446
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Thursday, April 24, 2014 3:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Send users wav of voicemail via sendmail
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. fr eeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u se rs
---------------------------------------------------- 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-u se rs 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
_____________________________________________________________________ _ ___ 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-us e rs http://www.freeswitch.org
_____________________________________________________________________ _ ___ 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-us e rs 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
______________________________________________________________________ ___ 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-use rs http://www.freeswitch.org
______________________________________________________________________ ___ 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-use rs http://www.freeswitch.org
_________________________________________________________________________ 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
participants (7)
-
Abaci
-
covici@ccs.covici.com
-
Komar, Jason
-
Lloyd Aloysius
-
Mario G
-
Russell Treleaven
-
Sean Devoy