voicemail to email not working
I'm trying to get FreeSWITCH to send my voicemail to my email and can't it to work. I have sSMTP installed and working (tested using voicemail.tpl) I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com]" *however in /var/log/maillog I see nothing and I don't get the email. does someone have a clue on what might be wrong here, or is there any debug I can enable for this? _*in switch.conf.xml I have:*_ <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/> _*in voicemail.conf.xml I have:*_ <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> _*in the directory (xml_curl) I have:*_ <document type="freeswitch/xml"> <section name="directory"> <domain name="mydomain.com"> <user id="200"> <params> <param name="password" value="cj987r5y95"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-mailto" value="me@mydomain.com"/> <param name="vm-mailfrom" value="Voicemail Server <voicemail@mydomain.com>"/> <param name="vm-attach-file" value="true" /> <param name="dial-string" value="${sofia_contact(200@mydomain.com)}"/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="user_context" value="routing"/> <variable name="effective_caller_id_name" value="test user"/> <variable name="effective_caller_id_number" value="2125551212"/> <variable name="outbound_caller_id_number" value="2125551212"/> </variables> </user> </domain> </section> </document>
What MTA are you using? I know that I've had much more success using Tony's sendmail replacement script. (src/scripts/perl/sendmail). -MC On Mon, Aug 27, 2012 at 3:27 PM, Abaci <abaci64@gmail.com> wrote:
I'm trying to get FreeSWITCH to send my voicemail to my email and can't it to work. I have sSMTP installed and working (tested using voicemail.tpl) I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com]" *however in /var/log/maillog I see nothing and I don't get the email. does someone have a clue on what might be wrong here, or is there any debug I can enable for this?
*in switch.conf.xml I have:* <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/>
*in voicemail.conf.xml I have:* <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>
*in the directory (xml_curl) I have:* <document type="freeswitch/xml"> <section name="directory"> <domain name="mydomain.com"> <user id="200"> <params> <param name="password" value="cj987r5y95"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-mailto" value="me@mydomain.com"<me@mydomain.com> /> <param name="vm-mailfrom" value="Voicemail Server <voicemail@mydomain.com> <voicemail@mydomain.com>"/> <param name="vm-attach-file" value="true" /> <param name="dial-string" value= "${sofia_contact(200@mydomain.com)}"<$%7Bsofia_contact(200@mydomain.com)%7D> /> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="user_context" value="routing"/> <variable name="effective_caller_id_name" value="test user"/> <variable name="effective_caller_id_number" value="2125551212"/> <variable name="outbound_caller_id_number" value="2125551212"/> </variables> </user> </domain> </section> </document>
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
using sSMTP <http://wiki.freeswitch.org/wiki/Mod_voicemail#sSMTP_settings>which also replaces sendmail On 8/28/2012 10:55 AM, Michael Collins wrote:
What MTA are you using? I know that I've had much more success using Tony's sendmail replacement script. (src/scripts/perl/sendmail).
-MC
On Mon, Aug 27, 2012 at 3:27 PM, Abaci <abaci64@gmail.com <mailto:abaci64@gmail.com>> wrote:
I'm trying to get FreeSWITCH to send my voicemail to my email and can't it to work. I have sSMTP installed and working (tested using voicemail.tpl) I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com <mailto:me@mydomain.com>]" *however in /var/log/maillog I see nothing and I don't get the email. does someone have a clue on what might be wrong here, or is there any debug I can enable for this?
_*in switch.conf.xml I have:*_ <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/>
_*in voicemail.conf.xml I have:*_ <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>
_*in the directory (xml_curl) I have:*_ <document type="freeswitch/xml"> <section name="directory"> <domain name="mydomain.com <http://mydomain.com>"> <user id="200"> <params> <param name="password" value="cj987r5y95"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-mailto" value="me@mydomain.com" <mailto:me@mydomain.com>/> <param name="vm-mailfrom" value="Voicemail Server <voicemail@mydomain.com> <mailto:voicemail@mydomain.com>"/> <param name="vm-attach-file" value="true" /> <param name="dial-string" value="${sofia_contact(200@mydomain.com)}" <mailto:$%7Bsofia_contact%28200@mydomain.com%29%7D>/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="user_context" value="routing"/> <variable name="effective_caller_id_name" value="test user"/> <variable name="effective_caller_id_number" value="2125551212 <tel:2125551212>"/> <variable name="outbound_caller_id_number" value="2125551212 <tel:2125551212>"/> </variables> </user> </domain> </section> </document>
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
and what, if anything, shows up in the sSMTP logs? On Tue, Aug 28, 2012 at 8:22 AM, Abaci <abaci64@gmail.com> wrote:
using sSMTP <http://wiki.freeswitch.org/wiki/Mod_voicemail#sSMTP_settings>which also replaces sendmail
On 8/28/2012 10:55 AM, Michael Collins wrote:
What MTA are you using? I know that I've had much more success using Tony's sendmail replacement script. (src/scripts/perl/sendmail).
-MC
On Mon, Aug 27, 2012 at 3:27 PM, Abaci <abaci64@gmail.com> wrote:
I'm trying to get FreeSWITCH to send my voicemail to my email and can't it to work. I have sSMTP installed and working (tested using voicemail.tpl) I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com]" *however in /var/log/maillog I see nothing and I don't get the email. does someone have a clue on what might be wrong here, or is there any debug I can enable for this?
*in switch.conf.xml I have:* <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/>
*in voicemail.conf.xml I have:* <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>
*in the directory (xml_curl) I have:* <document type="freeswitch/xml"> <section name="directory"> <domain name="mydomain.com"> <user id="200"> <params> <param name="password" value="cj987r5y95"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-mailto" value="me@mydomain.com"<me@mydomain.com> /> <param name="vm-mailfrom" value="Voicemail Server <voicemail@mydomain.com> <voicemail@mydomain.com>"/> <param name="vm-attach-file" value="true" /> <param name="dial-string" value= "${sofia_contact(200@mydomain.com)}"<$%7Bsofia_contact%28200@mydomain.com%29%7D> /> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="user_context" value="routing"/> <variable name="effective_caller_id_name" value="test user"/> <variable name="effective_caller_id_number" value="2125551212 "/> <variable name="outbound_caller_id_number" value="2125551212"/> </variables> </user> </domain> </section> </document>
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
that's the problem, I see nothing in the sSMTP logs (/var/log/maillog). I only see in the freeswitch logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com <mailto:me@mydomain.com>]" *On 8/28/2012 2:05 PM, Michael Collins wrote:
and what, if anything, shows up in the sSMTP logs?
On Tue, Aug 28, 2012 at 8:22 AM, Abaci <abaci64@gmail.com <mailto:abaci64@gmail.com>> wrote:
using sSMTP <http://wiki.freeswitch.org/wiki/Mod_voicemail#sSMTP_settings>which also replaces sendmail
On 8/28/2012 10:55 AM, Michael Collins wrote:
What MTA are you using? I know that I've had much more success using Tony's sendmail replacement script. (src/scripts/perl/sendmail).
-MC
On Mon, Aug 27, 2012 at 3:27 PM, Abaci <abaci64@gmail.com <mailto:abaci64@gmail.com>> wrote:
I'm trying to get FreeSWITCH to send my voicemail to my email and can't it to work. I have sSMTP installed and working (tested using voicemail.tpl) I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com <mailto:me@mydomain.com>]" *however in /var/log/maillog I see nothing and I don't get the email. does someone have a clue on what might be wrong here, or is there any debug I can enable for this?
_*in switch.conf.xml I have:*_ <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/>
_*in voicemail.conf.xml I have:*_ <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>
_*in the directory (xml_curl) I have:*_ <document type="freeswitch/xml"> <section name="directory"> <domain name="mydomain.com <http://mydomain.com>"> <user id="200"> <params> <param name="password" value="cj987r5y95"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-mailto" value="me@mydomain.com" <mailto:me@mydomain.com>/> <param name="vm-mailfrom" value="Voicemail Server <voicemail@mydomain.com> <mailto:voicemail@mydomain.com>"/> <param name="vm-attach-file" value="true" /> <param name="dial-string" value="${sofia_contact(200@mydomain.com)}" <mailto:$%7Bsofia_contact%28200@mydomain.com%29%7D>/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="user_context" value="routing"/> <variable name="effective_caller_id_name" value="test user"/> <variable name="effective_caller_id_number" value="2125551212 <tel:2125551212>"/> <variable name="outbound_caller_id_number" value="2125551212 <tel:2125551212>"/> </variables> </user> </domain> </section> </document>
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
Tried anthony's perl sendmail script as the mailer-app and I get the following error: *Can't call method "mail" on an undefined value at /usr/local/src/freeswitch/scripts/perl/sendmail line 36, <STDIN> chunk 1. * On 8/28/2012 2:05 PM, Michael Collins wrote:
and what, if anything, shows up in the sSMTP logs?
On Tue, Aug 28, 2012 at 8:22 AM, Abaci <abaci64@gmail.com <mailto:abaci64@gmail.com>> wrote:
using sSMTP <http://wiki.freeswitch.org/wiki/Mod_voicemail#sSMTP_settings>which also replaces sendmail
On 8/28/2012 10:55 AM, Michael Collins wrote:
What MTA are you using? I know that I've had much more success using Tony's sendmail replacement script. (src/scripts/perl/sendmail).
-MC
On Mon, Aug 27, 2012 at 3:27 PM, Abaci <abaci64@gmail.com <mailto:abaci64@gmail.com>> wrote:
I'm trying to get FreeSWITCH to send my voicemail to my email and can't it to work. I have sSMTP installed and working (tested using voicemail.tpl) I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file [/tmp/mail.13461330724a96] to [me@mydomain.com <mailto:me@mydomain.com>]" *however in /var/log/maillog I see nothing and I don't get the email. does someone have a clue on what might be wrong here, or is there any debug I can enable for this?
_*in switch.conf.xml I have:*_ <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/>
_*in voicemail.conf.xml I have:*_ <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>
_*in the directory (xml_curl) I have:*_ <document type="freeswitch/xml"> <section name="directory"> <domain name="mydomain.com <http://mydomain.com>"> <user id="200"> <params> <param name="password" value="cj987r5y95"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-email-all-messages" value="true"/> <param name="vm-mailto" value="me@mydomain.com" <mailto:me@mydomain.com>/> <param name="vm-mailfrom" value="Voicemail Server <voicemail@mydomain.com> <mailto:voicemail@mydomain.com>"/> <param name="vm-attach-file" value="true" /> <param name="dial-string" value="${sofia_contact(200@mydomain.com)}" <mailto:$%7Bsofia_contact%28200@mydomain.com%29%7D>/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="user_context" value="routing"/> <variable name="effective_caller_id_name" value="test user"/> <variable name="effective_caller_id_number" value="2125551212 <tel:2125551212>"/> <variable name="outbound_caller_id_number" value="2125551212 <tel:2125551212>"/> </variables> </user> </domain> </section> </document>
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
On Tue, Aug 28, 2012 at 12:06 PM, Abaci <abaci64@gmail.com> wrote:
Tried anthony's perl sendmail script as the mailer-app and I get the following error: *Can't call method "mail" on an undefined value at /usr/local/src/freeswitch/scripts/perl/sendmail line 36, <STDIN> chunk 1. *
Well, at least that's some feedback. Line 36 appears to be this: $smtp->mail($from);
I suspect the From: field is not being sent to the mail script because it's not getting populated somewhere. You can try hard-coding the $from variable for an ad-hoc test but I would definitely try to figure out why the field is not being populated in the first place. -MC
I see that I only get feedback if I'm in the freeswitch console not on fs_cli, and yes the from was not populated. now that I get feedback I see that sSMTP doesn't like the "-t" so I took it off and things are working. Thanks Michael and Kim On 8/28/2012 3:54 PM, Michael Collins wrote:
On Tue, Aug 28, 2012 at 12:06 PM, Abaci <abaci64@gmail.com <mailto:abaci64@gmail.com>> wrote:
Tried anthony's perl sendmail script as the mailer-app and I get the following error: *Can't call method "mail" on an undefined value at /usr/local/src/freeswitch/scripts/perl/sendmail line 36, <STDIN> chunk 1. *
Well, at least that's some feedback. Line 36 appears to be this: $smtp->mail($from);
I suspect the From: field is not being sent to the mail script because it's not getting populated somewhere. You can try hard-coding the $from variable for an ad-hoc test but I would definitely try to figure out why the field is not being populated in the first place.
-MC
_________________________________________________________________________ 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 (2)
-
Abaci
-
Michael Collins