[asterisk-bugs] [JIRA] (ASTERISK-20939) Not working parameter mailcmd in voicemail.conf unless Asterisk is running as root

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Jan 24 21:29:58 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-20939:
------------------------------------

    Assignee: Andrew Kolchoogin
      Status: Waiting for Feedback  (was: Triage)

I'm unable to reproduce this behavior as described. On a ubuntu 3.2.0-34-generic x86_64 system, Asterisk executes the script set in mailcmd fine when running as a non-root user that has access to the voicemail directories and the script.

Can you provide any further information on how this may relate to Asterisk and not your Linux environment?


                
> 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