After update the most recent version , voice mail to email stop working.<div><br></div><div>Here is the FreeSWITCH Environment</div><div><br></div><div>CentOS 5.4</div><div><br></div><div>FreeSWITCH</div><div><div>freeswitch@internal> version</div>
<div>FreeSWITCH Version 1.0.trunk (17152)</div><div><br></div><div>Exim</div><div><br></div><div>---</div><div><br></div><div>Initially there is a sendmail problem then I start to using the Exim . Now Exim also stop working.</div>
<div><br></div><div>What is the reliable method to deliver the Voice mail to Email.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Lloyd</div><div><br></div></div><div><br>
<br><br><div class="gmail_quote">On Tue, Mar 23, 2010 at 6:29 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
lets open a jira about it as a reminder.<br>we will figure out what to do there and come up with something.<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Mar 23, 2010 at 5:09 PM, <span dir="ltr"><<a href="mailto:devel@thom.fr.eu.org" target="_blank">devel@thom.fr.eu.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div bgcolor="white" link="blue" vlink="purple" lang="FR">
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">So I did continue to track that problem.</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">I found that when running sendmail from freeswitch, it seems
that the setgid bit on sendmail is not honored (I get messages like sendmail[13534]:
NOQUEUE: SYSERR(freeswitch): can not</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US"> chdir(/var/spool/mqueue-client/): Permission denied or NOQUEUE:
SYSERR(UID101): can not wri</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">te to queue directory /var/spool/mqueue-client/ (RunAsGid=102,
required=107): Pe</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">rmission denied when I gave freeswitch the permission on /var/spool/mqueue-client).</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">In any case that ends up to sendmail segfault, maybe due to a
stack problem.</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">I could solve this by installing msmtp (it can live aside
sendmail without breaking my messaging setup, at least on debian)</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US">François</span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)" lang="EN-US"> </span></p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10pt">De :</span></b><span style="font-size:10pt">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>De la part de</b>
Madovsky<br>
<b>Envoyé :</b> samedi 20 mars 2010 18:13<br>
<b>À :</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Objet :</b> Re: [Freeswitch-users] voicemail options [temporarly
solved]</span></p>
</div>
</div><div><div></div><div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:10pt">ok irght.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">So for now I will continue to
use my patch to make it work.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">I will give to you the status
of any system upgrade that resolves the problem</span></p>
</div>
<blockquote style="border-width:medium medium medium 1.5pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color black;padding:0cm 0cm 0cm 4pt;margin:5pt 0cm 5pt 3.75pt">
<div>
<p class="MsoNormal"><span style="font-size:10pt">-----
Original Message ----- </span></p>
</div>
<div>
<p class="MsoNormal" style="background:none repeat scroll 0% 0% rgb(228, 228, 228)"><b><span style="font-size:10pt">From:</span></b><span style="font-size:10pt"> <a href="mailto:anthony.minessale@gmail.com" title="anthony.minessale@gmail.com" target="_blank">Anthony Minessale</a> </span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt">To:</span></b><span style="font-size:10pt"> <a href="mailto:freeswitch-users@lists.freeswitch.org" title="freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>
</span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt">Sent:</span></b><span style="font-size:10pt"> Saturday, March 20,
2010 12:58 PM</span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt">Subject:</span></b><span style="font-size:10pt"> Re:
[Freeswitch-users] voicemail options [temporarly solved]</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">I am willing to change anything
we have to as long as it works on all platforms and we can give proper warnings
to others.<br>
Maybe we will do something like another param to say if your mailer app needs a
pipe or can accept the filename so we can do both<br>
and leave the defaults to the current way.<br>
<br>
Maybe we can also have another option to make a simple relay code internally
that can deliver the file to a mail relay if you set that option.<br>
<br>
<br>
</p>
<div>
<p class="MsoNormal">On Sat, Mar 20, 2010 at 11:47 AM, Madovsky <<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Ok I undertand.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">buy Why to continue to use
pipe and STDIN since to use "filename" path works ?</span></p>
</div>
<blockquote style="border-width:medium medium medium 1.5pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color black;padding:0cm 0cm 0cm 4pt;margin:5pt 0cm 5pt 3.75pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">-----
Original Message ----- </span></p>
</div>
<div>
<p class="MsoNormal" style="background:none repeat scroll 0% 0% rgb(228, 228, 228)"><b><span style="font-size:10pt">From:</span></b><span style="font-size:10pt"> <a href="mailto:anthony.minessale@gmail.com" title="anthony.minessale@gmail.com" target="_blank">Anthony Minessale</a> </span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt">To:</span></b><span style="font-size:10pt"> <a href="mailto:freeswitch-users@lists.freeswitch.org" title="freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>
</span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt">Sent:</span></b><span style="font-size:10pt"> Saturday, March 20,
2010 12:12 PM</span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt">Subject:</span></b><span style="font-size:10pt"> Re:
[Freeswitch-users] voicemail options [temporarly solved]</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p>I think the problem is that fs sets the stack size for the core and new
threads to 240k so when the child is born from system() the new process
inherits the small stack size and sendmail needs more than 240k</p>
<p>If you are root, it has the priveledge to raise the stack size to the
default size of 8m and sets it back down when the command completes.</p>
<p>If you are not root you lack these privs and the stack size remains small.</p>
<p>This has been a long time problem how to make a solution that is cross
platform and will not break working configurations. </p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal" style="margin-bottom:12pt">On Mar 19, 2010 6:47 AM,
"Madovsky" <<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>>
wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">I tried also with sudo and
freeswitch user in sudoers with the same result, segmentation fault.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Anyway my patch works
perfectly now, even with sendmail (the only difference without patch is the
"From" is taken from the voicemail.tpl and not the user variable)</span></p>
</div>
<blockquote style="border-width:medium medium medium 1.5pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color black;padding:0cm 0cm 0cm 4pt;margin:5pt 0cm 5pt 3.75pt">
<p><span style="color:rgb(80, 0, 80)"><br>
><br>
> ----- Original Message -----<br>
> From: François Legal<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a></span></p>
<p><span style="color:rgb(80, 0, 80)"><br>
> Sent: Friday, March 19, 2010 6:51 AM<br>
> Subject: Re: [Freeswitch-users] voicemail options [tempora...</span></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
...</p>
</blockquote>
</div>
</div>
<div class="MsoNormal" style="text-align:center" align="center">
<hr align="center" size="2" width="100%">
</div>
<div>
<p class="MsoNormal">_______________________________________________<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></p>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><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></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900</p>
<div class="MsoNormal" style="text-align:center" align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal">_______________________________________________<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></p>
</blockquote>
</div></div></div>
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
</div></div><div><div></div><div class="h5"><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>