Liegt wahrscheinlich an den Rechten, das Ganze war ziemlich schwierig einzurichten, hab da auch hin und her gemacht mit chmod, mußt mal auf voip-info.org schauen, ganz besonders geholfen haben mir dort diese Tipps, vor allem das mit externnotify und dem Skript Aufruf nach jeder voicemail:
permissions permissions...
by Anonymous on Thursday 10 of February, 2005 [08:01:47]
I ran
chown root:apache /var/spool/asterisk/voicemail/YOUR_CONTEXT/YOUR_MAILBOX
chmod 775 /var/spool/asterisk/voicemail/YOUR_CONTEXT/YOUR_MAILBOX
and have the following set in /etc/asterisk/voicemail.conf
externnotify=/usr/bin/voicemailapp.sh
and /usr/bin/voicemailapp.sh looks like:
#!/bin/sh
chmod 777 ` find /var/spool/asterisk/voicemail/ -name "*.txt" -o -name "*.wav"`
chmod 755 vmail.cgi (no need to suid). Delete and voicemail works for me. in the above chown command, make sure "apache" is replaced with the user that your web server runs with.
check this by putting $ then less than (stupid post wont use <) at the end of the copywrite (or a noticable chunk of text" and matching that user up with your distro's user file gentoo uses "apache"