ftocc

Aastra's vmail.php in a vanilla RHEL/asterisk 1.4 install? No FreePBX - anyone?

alauppe
Posts: 2
Member Since:
2006-06-21

I know that this isn't much of a tb question, but I've found this community to be so informed, I thought I'd ask. Anyone familiar with PHP, that might've read over vmail.php could possibly help me - my PHP is pathetic...

Basically, vmail.php uses FreePBX's MySQL db to authenticate users, but then appears to just check for files in /var/spool/asterisk/voicemail/{extension}/INBOX for messages, and uses AMI to call the phone to play the message etc. Authentication is the only part with a dependancy on FreePBX.

so...

I've pulled out the authentication bits as a proof of concept for a client who is running a vanilla install of RHE5 and Asterisk 1.4.19.1 - it looks like everything else works okay except that it always says there are no messages. Looking in the folder itself, I can see the messages, and the files with the details. Any ideas? I'd love some help.

Thanks,
Andy