[asterisk-bugs] [Asterisk 0013227]: Asterisk does not send voicemail alerts when it is being executed as a non-root user

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 5 16:13:36 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13227 
====================================================================== 
Reported By:                urzedo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13227
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-03 15:53 CDT
Last Modified:              2008-08-05 16:13 CDT
====================================================================== 
Summary:                    Asterisk does not send voicemail alerts when it is
being executed as a non-root user
Description: 
I have been using Asterisk 1.2.19 for the past two years. We created a
non-root user to execute this Asterisk instance and everything was ok.

Now we upgraded to Asterisk 1.4.21.2 and want to continue using this
non-root user to execute Asterisk. However, we noticed that after the
upgrade no voicemail alerts are generated by Asterisk anymore, when using a
non-root user. If we use root, the emails alerts are sent.

We downgraded this Asterisk instance until we found that Asterisk 1.4.14
is able to send the alerts as a non-root user, but from version 1.4.15 on
we can reproduce the issue.

We are not good C programmers, but found that this issue should be
something related to umask setting (at least in app_voicemail.c).

Please help.
====================================================================== 

---------------------------------------------------------------------- 
 (0091111) urzedo (reporter) - 2008-08-05 16:13
 http://bugs.digium.com/view.php?id=13227#c91111 
---------------------------------------------------------------------- 
Hi Corydon76 and mvanbaak,

We were already using umask 002.

However, we installed a fresh asterisk 1.4.21.2 this morning and since
that we cannot reproduce the issue anymore... All the emails are now being
sent when Asterisk runs both as root and asterisk_user. There were so many
changes we did in the machine that one could possibly solved the issue.

Anyway, THANKS A LOT for your patience and sorry for the noise! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-05 16:13 urzedo         Note Added: 0091111                          
======================================================================




More information about the asterisk-bugs mailing list