Voicemail move/delete not working
This may have already been found, but I found a bug in the download.php file for playing voicemails. The diff is
attached. This is for fop2-2.29.01
The other problem I have is that I can not delete or move voicemails from the Voicemail explorer. I can right click on
the voicemail entry and drag it to the trash box or one of the other folders and nothing happens. The icons highlight
like it is going to work but the VM never gets moved. Any hints on how I might debug this? Both Asterisk and
Fop2 are running as the same user but the web service is not. Seems like it might be a permissions problem but
I can not find any errors in any logs.
attached. This is for fop2-2.29.01
The other problem I have is that I can not delete or move voicemails from the Voicemail explorer. I can right click on
the voicemail entry and drag it to the trash box or one of the other folders and nothing happens. The icons highlight
like it is going to work but the VM never gets moved. Any hints on how I might debug this? Both Asterisk and
Fop2 are running as the same user but the web service is not. Seems like it might be a permissions problem but
I can not find any errors in any logs.
Comments
http://support.asternic.biz/?/selfhelp/view-article/how-to-debug-fop2/10
Also here is another oddity I just noticed. If I hit the "Play" icon for a voicemail in the New folder, the voicemail plays just fine. But if I change to the "Old" folder and attempt to play a message from there, it does not play, the icon turns to '!', and I see this in the apache error log file... (PHP-5.5.25)
[fixed]
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: fseek() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 81, referer: redacted
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 90, referer: redacted
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: ftell() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 90, referer: redacted
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 99, referer: redacted
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 90, referer: redacted
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: ftell() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 90, referer: redacted
[Fri Sep 04 12:36:47 2015] [error] [client 50.34.75.98] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/html/fop2/download.php on line 99, referer: redacted
[/fixed]
Fix was to use the option in the voicemail.conf file to run a script that changes the mode and group settings to something that the web user could read. This script is fired off after every run of the Comedian Voicemail App for a given mailbox.
Still have the problem with the voicemail explorer in Fop2 is not moving or deleting voicemail files via the drag and drop web method.
http://support.asternic.biz/?/selfhelp/view-article/how-to-debug-fop2/10
Below I try and move (by dragging) a voicemail from the inbox to the Trash area.
I have the same problem with an elastix multi tenant
Did you ever solve your issue ?
Thanks in advance
Jean-Luc