[Home]

Summary:ASTERISK-19005: Not working parameter mailcmd in voicemail.conf
Reporter:noize (noize)Labels:
Date Opened:2011-12-12 08:04:46.000-0600Date Closed:2011-12-12 08:47:15.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:1.8.7.1 Frequency of
Occurrence
Related
Issues:
is the original version of this clone:ASTERISK-20939 Not working parameter mailcmd in voicemail.conf unless Asterisk is running as root
Environment:OS - Debian 6.0.3 x86_64 kernel version - 2.6.32-5-amd64Attachments:
Description: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@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@mail.ru with command '/space/scripts/vm_sender.pl'
But infact call of script was missing. On 32bit system of Asterisk all working fine)
Comments:By: Matt Jordan (mjordan) 2011-12-12 08:47:08.876-0600

Thank you for the bug report. However I am unable to reproduce this issue on a 64-bit system. At the point where Asterisk logs that it sent mail with the command provided, it has passed this command off to the shell; hence, this is a problem with your configuration.  We are now going to close this report - please feel free to reopen if you can reliably demonstrate that this is a bug.