After update the most recent version ,  voice mail to email stop working.

Here is the FreeSWITCH Environment

CentOS 5.4

FreeSWITCH
freeswitch@internal> version
FreeSWITCH Version 1.0.trunk (17152)

Exim

---

Initially there is a sendmail problem then I start to using the Exim . Now Exim also stop working.

What is the reliable method to deliver the Voice mail to Email.

Thanks in advance.

Lloyd




On Tue, Mar 23, 2010 at 6:29 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
lets open a jira about it as a reminder.
we will figure out what to do there and come up with something.



On Tue, Mar 23, 2010 at 5:09 PM, <devel@thom.fr.eu.org> wrote:

So I did continue to track that problem.

 

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

 chdir(/var/spool/mqueue-client/): Permission denied or NOQUEUE: SYSERR(UID101): can not wri

te to queue directory /var/spool/mqueue-client/ (RunAsGid=102, required=107): Pe

rmission denied when I gave freeswitch the permission on /var/spool/mqueue-client).

In any case that ends up to sendmail segfault, maybe due to a stack problem.

 

I could solve this by installing msmtp (it can live aside sendmail without breaking my messaging setup, at least on debian)

 

François

 

De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Madovsky
Envoyé : samedi 20 mars 2010 18:13
À : freeswitch-users@lists.freeswitch.org
Objet : Re: [Freeswitch-users] voicemail options [temporarly solved]

 

ok irght.

So for now I will continue to use my patch to make it work.

I will give to you the status of any system upgrade that resolves the problem

----- Original Message -----

Sent: Saturday, March 20, 2010 12:58 PM

Subject: Re: [Freeswitch-users] voicemail options [temporarly solved]

 

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.
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
and leave the defaults to the current way.

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.


On Sat, Mar 20, 2010 at 11:47 AM, Madovsky <infos@madovsky.org> wrote:

Ok I undertand.

buy Why to continue to use pipe and STDIN since to use "filename" path works ?

----- Original Message -----

Sent: Saturday, March 20, 2010 12:12 PM

Subject: Re: [Freeswitch-users] voicemail options [temporarly solved]

 

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

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.

If you are not root you lack these privs and the stack size remains small.

This has been a long time problem how to make a solution that is cross platform and will not break working configurations.

On Mar 19, 2010 6:47 AM, "Madovsky" <infos@madovsky.org> wrote:

I tried also with sudo and freeswitch user in sudoers with the same result, segmentation fault.

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)


>
> ----- Original Message -----
> From: François Legal
> To: freeswitch-users@lists.freeswitch.org


> Sent: Friday, March 19, 2010 6:51 AM
> Subject: Re: [Freeswitch-users] voicemail options [tempora...


_______________________________________________
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

_______________________________________________
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