[asterisk-users] custom voicemail e-mail

Ron nhadie at gmail.com
Wed Sep 16 12:38:59 CDT 2009


Hi Tilghman,

yup my scripts starts with that line, is there anyway to check on the 
logs if asterisk voicemail app is executing that command? thanks

Regards
Ron

Tilghman Lesher wrote:
> On Wednesday 16 September 2009 11:35:31 Ron wrote:
>> Hi All,
>>
>> I'm trying to use a php script to send voicemail e-mail so i can send
>> custom e-mail message based on what mailbox.
>>
>> on my voicemail.conf i have
>>
>> mailcmd=/var/www/voicemail.php
>>
>> but when i tried to call an extension and goe to voicemail i'm not
>> receiving the e-mail.
>>
>> but when i execute "php /var/www/voicemail.php" on the shell, i can
>> receive the e-mail.
> 
> Make sure the first line of your script is:
> #!/usr/bin/php
> 



More information about the asterisk-users mailing list