----- Original Message -----From: MadovskySent: Thursday, March 18, 2010 1:59 PMSubject: Re: [Freeswitch-users] voicemail options [temporarly solved]Hi Anthony,after 5 days of tests to resolve the hell of sendmail segmentation fault,my conclusion is there is definitely a problem with the combination of cat, pipe and sendmail or other mail app.I made a php script that fits the actual switch_utils.c exec, but it's the same, it works one time on 10.So the robustest solution is to replace sendmail by ssmtp (yum install ssmtp or apt-get ssmtp etc...)configure /etc/ssmtp/revaliases and /etc/ssmtp/ssmtp.conf, change the switch.conf.xml like this<param name="mailer-app" value="/usr/sbin/ssmtp"/>
<param name="mailer-app-args" value="-t"/>
and apply the patch attached (no choice since it needs filename as argument and not STDIN).hope it will help people who have sendmail segmentation fault problem.RegardsFranck----- Original Message -----From: Anthony MinessaleSent: Wednesday, March 17, 2010 4:37 PMSubject: 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 patchso the change is at the line 620, I commented out the original lineSent: Wednesday, March 17, 2010 3:55 PMSubject: 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 modificationRegardsFranck----- Original Message -----From: MadovskySent: Tuesday, March 16, 2010 4:35 PMSubject: Re: [Freeswitch-users] voicemail optionsok, 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.orgSent: Tuesday, March 16, 2010 3:59 PMSubject: Re: [Freeswitch-users] voicemail optionsAre you running debian, I have the same problem on debian x64 (already mentioned here http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.html) 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