[Freeswitch-users] voicemail options [temporarly solved]
François Legal
devel at thom.fr.eu.org
Fri Mar 19 03:51:13 PDT 2010
Actually, I do not seem to have the same problem. I don't get the broken
pipe error, nor do I get any error in FS log or console (the error message
in log disappeared after some upgrade but I don't remember which).
However, what I can tell is that I get the problem as root AND as non
root. I can also tell that sending the exact same message with the exact
same command line as my freeswitch user work (sudo -u freeswitch cat
savedmail | sendmail -f freeswitch at mydomain -t some.user at mydomain).
This
does not seem to be an environment problem either (I could not seem
significant differences between the 2).
I'm about to strace what happens
too.
François
On Thu, 18 Mar 2010 17:24:41 -0400, "Madovsky" wrote:
Ok, I read that there are some guys who had the same problem here. I run FS
as root, but sendmail as chroot smmsp user. You're right maybe it's a
thread child problem. I saw there is a windows condition already in your
code ? and for mac it should work since ssmtp is in standard in all
package, even for solaris and hp-ux. I will experiment with strace tonight
or tomorrow ----- Original Message ----- FROM: Anthony Minessale [1] TO:
freeswitch-users at lists.freeswitch.org [2] SENT: Thursday, March 18, 2010
4:10 PM SUBJECT: Re: [Freeswitch-users] voicemail options [temporarly
solved] The dilemma is we also need solution that is compat with windows,
bsd, mac etc.
That is sort of interesting that the pipe is breaking, it
would be nice to figure out why since not everybody
seems to have it.
I am
still wondering if it's a stack size running out issue in the child thread
from system.
Are you running FS as root or as a non-privileged user, i'm
wondering because maybe if its a regular user, its not able to increase the
stack size up to 8megs
maybe you can push in strace into the command so
it will show why it breaks.
On Thu, Mar 18, 2010 at 1:10 PM, Madovsky
wrote:
Also no need to uninstall sendmail, just install ssmtp and that's
it ! ----- Original Message ----- FROM: Madovsky [4] TO:
freeswitch-users at lists.freeswitch.org [5] SENT: Thursday, March 18, 2010
1:59 PM SUBJECT: 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
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.
Regards Franck ----- Original Message ----- FROM: Anthony
Minessale [6] TO: freeswitch-users at lists.freeswitch.org [7] 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 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 [9] TO: freeswitch-users at lists.freeswitch.org [10]
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 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 [12] TO:
freeswitch-users at lists.freeswitch.org [13] 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 at thom.fr.eu.org [14] TO:
freeswitch-users at lists.freeswitch.org [15] 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.html
[16]) 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 at lists.freeswitch.org [17]
[mailto:freeswitch-users-bounces at lists.freeswitch.org [18]] DE LA PART DE
Anthony Minessale
ENVOY : mardi 16 mars 2010 20:30
:
freeswitch-users at lists.freeswitch.org [19]
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 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 at lists.freeswitch.org
[21]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[22]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[23]
http://www.freeswitch.org [24]
--
Anthony Minessale
II
FreeSWITCH http://www.freeswitch.org/ [25]
ClueCon
http://www.cluecon.com/ [26]
Twitter: http://twitter.com/FreeSWITCH_wire
[27]
AIM: anthm
MSN:anthony_minessale at hotmail.com
[28]
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [29]
IRC:
irc.freenode.net [30] #freeswitch
FreeSWITCH Developer
Conference
sip:888 at conference.freeswitch.org
[31]
iax:guest at conference.freeswitch.org/888
[32]
googletalk:conf+888 at conference.freeswitch.org [33]
pstn:+19193869900
-------------------------
_______________________________________________
FreeSWITCH-users mailing
list
FreeSWITCH-users at lists.freeswitch.org
[34]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[35]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[36]
http://www.freeswitch.org
[37]
_______________________________________________
FreeSWITCH-users
mailing list
FreeSWITCH-users at lists.freeswitch.org
[38]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[39]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[40]
http://www.freeswitch.org [41]
--
Anthony Minessale II
FreeSWITCH
http://www.freeswitch.org/ [42]
ClueCon http://www.cluecon.com/
[43]
Twitter: http://twitter.com/FreeSWITCH_wire [44]
AIM:
anthm
MSN:anthony_minessale at hotmail.com
[45]
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [46]
IRC:
irc.freenode.net [47] #freeswitch
FreeSWITCH Developer
Conference
sip:888 at conference.freeswitch.org
[48]
iax:guest at conference.freeswitch.org/888
[49]
googletalk:conf+888 at conference.freeswitch.org
[50]
pstn:+19193869900
-------------------------
_______________________________________________
FreeSWITCH-users mailing
list
FreeSWITCH-users at lists.freeswitch.org
[51]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[52]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[53]
http://www.freeswitch.org
[54]
_______________________________________________
FreeSWITCH-users
mailing list
FreeSWITCH-users at lists.freeswitch.org
[55]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[56]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[57]
http://www.freeswitch.org [58]
--
Anthony Minessale II
FreeSWITCH
http://www.freeswitch.org/ [59]
ClueCon http://www.cluecon.com/
[60]
Twitter: http://twitter.com/FreeSWITCH_wire [61]
AIM:
anthm
MSN:anthony_minessale at hotmail.com
[62]
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [63]
IRC:
irc.freenode.net [64] #freeswitch
FreeSWITCH Developer
Conference
sip:888 at conference.freeswitch.org
[65]
iax:guest at conference.freeswitch.org/888
[66]
googletalk:conf+888 at conference.freeswitch.org
[67]
pstn:+19193869900
-------------------------
_______________________________________________
FreeSWITCH-users mailing
list
FreeSWITCH-users at lists.freeswitch.org
[68]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[69]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[70]
http://www.freeswitch.org
[71]
_______________________________________________
FreeSWITCH-users
mailing list
FreeSWITCH-users at lists.freeswitch.org
[72]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[73]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[74]
http://www.freeswitch.org [75]
--
Anthony Minessale II
FreeSWITCH
http://www.freeswitch.org/ [76]
ClueCon http://www.cluecon.com/
[77]
Twitter: http://twitter.com/FreeSWITCH_wire [78]
AIM:
anthm
MSN:anthony_minessale at hotmail.com
[79]
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com [80]
IRC:
irc.freenode.net [81] #freeswitch
FreeSWITCH Developer
Conference
sip:888 at conference.freeswitch.org
[82]
iax:guest at conference.freeswitch.org/888
[83]
googletalk:conf+888 at conference.freeswitch.org
[84]
pstn:+19193869900
-------------------------
_______________________________________________
FreeSWITCH-users mailing
list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Links:
------
[1]
mailto:anthony.minessale at gmail.com
[2]
mailto:freeswitch-users at lists.freeswitch.org
[3]
mailto:infos at madovsky.org
[4] mailto:infos at madovsky.org
[5]
mailto:freeswitch-users at lists.freeswitch.org
[6]
mailto:anthony.minessale at gmail.com
[7]
mailto:freeswitch-users at lists.freeswitch.org
[8]
mailto:infos at madovsky.org
[9] mailto:anthony.minessale at gmail.com
[10]
mailto:freeswitch-users at lists.freeswitch.org
[11]
mailto:infos at madovsky.org
[12] mailto:infos at madovsky.org
[13]
mailto:freeswitch-users at lists.freeswitch.org
[14]
mailto:devel at thom.fr.eu.org
[15]
mailto:freeswitch-users at lists.freeswitch.org
[16]
http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.html
[17]
mailto:freeswitch-users-bounces at lists.freeswitch.org
[18]
mailto:freeswitch-users-bounces at lists.freeswitch.org
[19]
mailto:freeswitch-users at lists.freeswitch.org
[20]
mailto:infos at madovsky.org
[21]
mailto:FreeSWITCH-users at lists.freeswitch.org
[22]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[23]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[24]
http://www.freeswitch.org
[25] http://www.freeswitch.org/
[26]
http://www.cluecon.com/
[27] http://twitter.com/FreeSWITCH_wire
[28]
mailto:MSN%3Aanthony_minessale at hotmail.com
[29]
mailto:PAYPAL%3Aanthony.minessale at gmail.com
[30]
http://irc.freenode.net
[31]
mailto:sip%3A888 at conference.freeswitch.org
[32]
http://iax:guest@conference.freeswitch.org/888
[33]
mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
[34]
mailto:FreeSWITCH-users at lists.freeswitch.org
[35]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[36]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[37]
http://www.freeswitch.org
[38]
mailto:FreeSWITCH-users at lists.freeswitch.org
[39]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[40]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[41]
http://www.freeswitch.org
[42] http://www.freeswitch.org/
[43]
http://www.cluecon.com/
[44] http://twitter.com/FreeSWITCH_wire
[45]
mailto:MSN%3Aanthony_minessale at hotmail.com
[46]
mailto:PAYPAL%3Aanthony.minessale at gmail.com
[47]
http://irc.freenode.net
[48]
mailto:sip%3A888 at conference.freeswitch.org
[49]
http://iax:guest@conference.freeswitch.org/888
[50]
mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
[51]
mailto:FreeSWITCH-users at lists.freeswitch.org
[52]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[53]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[54]
http://www.freeswitch.org
[55]
mailto:FreeSWITCH-users at lists.freeswitch.org
[56]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[57]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[58]
http://www.freeswitch.org
[59] http://www.freeswitch.org/
[60]
http://www.cluecon.com/
[61] http://twitter.com/FreeSWITCH_wire
[62]
mailto:MSN%3Aanthony_minessale at hotmail.com
[63]
mailto:PAYPAL%3Aanthony.minessale at gmail.com
[64]
http://irc.freenode.net
[65]
mailto:sip%3A888 at conference.freeswitch.org
[66]
http://iax:guest@conference.freeswitch.org/888
[67]
mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
[68]
mailto:FreeSWITCH-users at lists.freeswitch.org
[69]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[70]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[71]
http://www.freeswitch.org
[72]
mailto:FreeSWITCH-users at lists.freeswitch.org
[73]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[74]
http://lists.freeswitch.org/mailman/options/freeswitch-users
[75]
http://www.freeswitch.org
[76] http://www.freeswitch.org/
[77]
http://www.cluecon.com/
[78] http://twitter.com/FreeSWITCH_wire
[79]
mailto:MSN%3Aanthony_minessale at hotmail.com
[80]
mailto:PAYPAL%3Aanthony.minessale at gmail.com
[81]
http://irc.freenode.net
[82]
mailto:sip%3A888 at conference.freeswitch.org
[83]
http://iax:guest@conference.freeswitch.org/888
[84]
mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100319/56c4de03/attachment-0002.html
More information about the FreeSWITCH-users
mailing list