[asterisk-bugs] [JIRA] (ASTERISK-20939) Not working parameter mailcmd in voicemail.conf unless Asterisk is running as root
Andrew Kolchoogin (JIRA)
noreply at issues.asterisk.org
Wed Jan 30 12:15:59 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-20939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kolchoogin updated ASTERISK-20939:
-----------------------------------------
Comment: was deleted
(was: First of all, I'm running FreeBSD, and platform information has been inadvertently copied from problem report was cloned by me.
It is not a permission problem: I did switched to unprivileged user by 'su -fm asterisk' and have invoked mail script manually: all was worked o.k.
Moreover, Asterisk writes to its logs that it has invoked the script -- but script hasn't been run, and there's /tmp/astmail-XXXXXX temporary file being left.
So, how can I run any additional tests to isolate the problem?
)
> Not working parameter mailcmd in voicemail.conf unless Asterisk is running as root
> ----------------------------------------------------------------------------------
>
> Key: ASTERISK-20939
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20939
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_voicemail
> Environment: OS - Debian 6.0.3 x86_64
> kernel version - 2.6.32-5-amd64
> Reporter: Andrew Kolchoogin
> Assignee: Andrew Kolchoogin
>
> voicemail.conf:
> #include vm_general.conf
> #include vm_additional.conf
> vm_general.conf:
> [general]
> emailsubject=New voicemail in mailbox ${VM_MAILBOX} from ${VM_CALLERID}
> format=wav
> mailcmd=/space/scripts/vm_sender.pl
> servermail=asterisk
> vm_additional.conf:
> [default]
> 107=>123,107,test at mail.ru,,attach=yes,envelope=yes,saycid=yes,delete=no
> I'm calling to voice mail of number 107, writing message and after that in debagger i see:
> [Dec 12 15:07:23] DEBUG[16912] app_voicemail.c: Sent mail to test at mail.ru with command '/space/scripts/vm_sender.pl'
> But infact call of script was missing. On 32bit system of Asterisk all working fine)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list