After dozen of test to correct my php script to be compatible without my patch I noticed that the real problem comes from "cat" command and not sendmail. I don't know why but sometimes (very often) the cat can't write and make a broken pipe, that of course make sendmail a segmentation fault. So for now I'm locked to use the patched switch_utils. ----- Original Message ----- From: Anthony Minessale To: freeswitch-users@lists.freeswitch.org Sent: Wednesday, March 17, 2010 4:37 PM Subject: Re: [Freeswitch-users] voicemail options [temporarly solved] FYI if you made the change in your working copy you could generate a patch with svn diff > patch.txt After looking at your change, the problem is that many people depend on this working the way it currently is. Would you consider making a script that mimics the current behavior of a mailer app and read the file from stdin and deliver the subsequent file so it is backwards-compatible with the way everything already works? On Wed, Mar 17, 2010 at 3:26 PM, Madovsky <infos@madovsky.org> wrote: Sorry Anthony I never made an official update in C language with diff patch so the change is at the line 620, I commented out the original line ----- Original Message ----- From: Anthony Minessale To: freeswitch-users@lists.freeswitch.org Sent: Wednesday, March 17, 2010 3:55 PM Subject: Re: [Freeswitch-users] voicemail options [temporarly solved] could you get a svn diff of the switch_utils.c so we can see what the change was? On Wed, Mar 17, 2010 at 2:46 PM, Madovsky <infos@madovsky.org> wrote: Finally I succeed to send voicemail with sendmail through a little php script (could be Perl also) it seems that sendmail 8.14.3 has a bug. But call it from PHP the bug doesn't exist. I attached my php script and switch_utils.c. Not sure if the FS developers will accept my modification Regards Franck ----- Original Message ----- From: Madovsky To: freeswitch-users@lists.freeswitch.org Sent: Tuesday, March 16, 2010 4:35 PM Subject: Re: [Freeswitch-users] voicemail options ok, I tried 50 times to leave a message, it worked only one time. It seems that sendmail needs to be free to send the email.... ----- Original Message ----- From: devel@thom.fr.eu.org To: freeswitch-users@lists.freeswitch.org Sent: Tuesday, March 16, 2010 3:59 PM Subject: Re: [Freeswitch-users] voicemail options Are you running debian, I have the same problem on debian x64 (already mentioned here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.h...) and cannot fix it. I don’t know if it’s a priviledge problem, as I got the same results running FS with or without –u. François De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Anthony Minessale Envoyé : mardi 16 mars 2010 20:30 À : freeswitch-users@lists.freeswitch.org Objet : Re: [Freeswitch-users] voicemail options are you running FS as root or a regular user? maybe there is a permission or resource limitation problem preventing it from getting the larger stack space necessary? On Tue, Mar 16, 2010 at 2:18 PM, Madovsky <infos@madovsky.org> wrote: I noticed that sendmail makes a segfault when FS is trying to send email and sendmail has some emails locked in folder queue.... Regards Franck _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------- _______________________________________________ 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 _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 -------------------------------------------------------------------------- _______________________________________________ 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 _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 ------------------------------------------------------------------------------ _______________________________________________ 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