<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What you’re seeing is sendmail is having a memory tracking problem – it’s attempting to write to memory that’s already allocated to something else. This forum is a Freeswitch forum. You’ll need to troubleshoot this problem with the sendmail team, on their own forum. (The reason you won’t get any help here is because Freeswitch has already delivered the email to sendmail. Sendmail acknowledged receiving it and is now showing the segfault (or memory problem). It isn’t a Freeswitch issue, though, and this team is not familiar with the sendmail code in such a way as to troubleshoot it or fix it.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I had the same issue. I ended up installing SSMTP which simply routes the mail off of my PBX to an SMTP server. Unless you actually want your Freeswitch server to also be a mail server, that is the path that I recommend.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you’re running CentOS, yum install ssmtp and put the following in your /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <param name="mailer-app" value="/usr/sbin/ssmtp"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <param name="mailer-app-args" value=""/><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Good luck,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Rob<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Balamurugan Mahendran [mailto:b2m@a-cti.com] <br><b>Sent:</b> Wednesday, February 08, 2012 6:53 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Fs ignoring voicemail to email<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I think found the log, not sure how to proceed.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Feb 8 11:51:03 ip-10-252-39-229 kernel: [7140198.319410] sendmail[15835]: segfault at 7fff89aa2ed0 ip 00007f75670e9a8a sp 00007fff89aa2ea0 error 6 in sendmail[7f7567056000+cd000]<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><p class=MsoNormal>Bala<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Feb 7, 2012 at 10:23 PM, Balamurugan Mahendran <<a href="mailto:b2m@a-cti.com">b2m@a-cti.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Is there anyway for more logs? Thanks for your help!!<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>--Bala<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Feb 7, 2012 at 8:34 PM, Balamurugan Mahendran <<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'>I did, also I have no issue sending email outside FS.</span><o:p></o:p></p><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks,<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Bala<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><div><div><p class=MsoNormal>On Tue, Feb 7, 2012 at 8:31 PM, Balamurugan Mahendran <<a href="mailto:balamurugan@adaptavant.com" target="_blank">balamurugan@adaptavant.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>I did, also I have no issue sending email outside FS.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Bala<o:p></o:p></p><div><div><div><p class=MsoNormal>On Tue, Feb 7, 2012 at 8:09 PM, John <<a href="mailto:freeswitch@earthspike.net" target="_blank">freeswitch@earthspike.net</a>> wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal>I updated the wiki mod_voicemail page a few days ago with some instructions for debugging email from freeswitch. Have you tried those?<o:p></o:p></p><div><div><p class=MsoNormal><br><br>On 07/02/12 13:47, Balamurugan Mahendran wrote: <o:p></o:p></p><p class=MsoNormal>All, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am having the same issue, its not sending email(extension --> lua script) getting <b>"Segmentation fault"</b><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>xml :<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><include><o:p></o:p></p></div><div><p class=MsoNormal> <user id="503"><o:p></o:p></p></div><div><p class=MsoNormal> <params><o:p></o:p></p></div><div><p class=MsoNormal> <param name="password" value="1234"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="vm-password" value="503"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="vm-mailto" value="<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="vm-enabled" value="true"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="vm-skip-instructions" value="true"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="vm-disk-quota" value="3600"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="vm-email-all-messages" value="true"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="max-login-attempts" value="2"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="digit-timeout" value="10000"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="max-record-len" value="900"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="tone-spec" value="%(1000, 0, 640)"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="record-silence-threshold" value="2000"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="record-silence-hits" value="3"/><o:p></o:p></p></div><div><p class=MsoNormal> </params><o:p></o:p></p></div><div><p class=MsoNormal> <variables><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="toll_allow" value="domestic,international,local"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="accountcode" value="503"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="user_context" value="default"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="effective_caller_id_name" value="Extension 503"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="effective_caller_id_number" value="503"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><o:p></o:p></p></div><div><p class=MsoNormal> <variable name="callgroup" value="techsupport"/><o:p></o:p></p></div><div><p class=MsoNormal> </variables><o:p></o:p></p></div><div><p class=MsoNormal> </user><o:p></o:p></p></div><div><p class=MsoNormal></include><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>dialplan :<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><include><o:p></o:p></p></div><div><p class=MsoNormal> <extension name="503"><o:p></o:p></p></div><div><p class=MsoNormal> <condition field="destination_number" expression="^(503)$"><o:p></o:p></p></div><div><p class=MsoNormal> <action application="lua" data="vmbox.lua ${effective_caller_id_number}"/><o:p></o:p></p></div><div><p class=MsoNormal> </condition><o:p></o:p></p></div><div><p class=MsoNormal> </extension><o:p></o:p></p></div><div><p class=MsoNormal></include><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Lua :<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>caller=503;<o:p></o:p></p></div><div><p class=MsoNormal>freeswitch.consoleLog("info","From :"..caller);<o:p></o:p></p></div><div><p class=MsoNormal>session:set_tts_parms("flite", "slt");<o:p></o:p></p></div><div><p class=MsoNormal>session:speak("Welcome To Voice Mail !. You Can Leave Your Message Here.");<o:p></o:p></p></div><div><p class=MsoNormal>path="/usr/local/freeswitch/recordings/";<o:p></o:p></p></div><div><p class=MsoNormal>prompt=caller..".mp3";<o:p></o:p></p></div><div><p class=MsoNormal>recpath=path..prompt;<o:p></o:p></p></div><div><p class=MsoNormal>freeswitch.consoleLog("info","record path="..recpath);<o:p></o:p></p></div><div><p class=MsoNormal>session:recordFile(recpath,30,10,10);<o:p></o:p></p></div><div><p class=MsoNormal>session:speak("Thank you.");<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>freeswitch.consoleLog("info","testing");<o:p></o:p></p></div><div><p class=MsoNormal>freeswitch.email("<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>",<o:p></o:p></p></div><div><p class=MsoNormal> "<a href="mailto:saraswathi.devaraj@a-cti.com" target="_blank">saraswathi.devaraj@a-cti.com</a>",<o:p></o:p></p></div><div><p class=MsoNormal> "subject: Voicemail from 801\n",<o:p></o:p></p></div><div><p class=MsoNormal> "Hello,\n\nYou've got a voicemail, click the attachment to listen to it.",<o:p></o:p></p></div><div><p class=MsoNormal> "/usr/local/freeswitch/recordings/503.mp3",<o:p></o:p></p></div><div><p class=MsoNormal> "",<o:p></o:p></p></div><div><p class=MsoNormal> "");<o:p></o:p></p></div><div><p class=MsoNormal>freeswitch.consoleLog("info","hai");<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>switchconf : <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><param name="mailer-app" value="/usr/sbin/sendmail"/><o:p></o:p></p></div><div><p class=MsoNormal> <param name="mailer-app-args" value="-t"/><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks for your help!!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><p class=MsoNormal>Bala<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Sat, Feb 4, 2012 at 12:31 AM, John <<a href="mailto:freeswitch@earthspike.net" target="_blank">freeswitch@earthspike.net</a>> wrote:<o:p></o:p></p><p class=MsoNormal>On 03/02/12 18:00, Thomas Hoellriegel wrote:<br>><br>> Its works fine!!<br>Good news!<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>