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
> 

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to