On Apr 16, 2008, at 8:06 AM, Michael Keuter wrote:
>> New update.
>>
>> 1) Added a Monitor tab (per Michael Keuter's suggestion), hidden
>> by default, but can be shown with a Pref's tab option. Files with
>> the suffix of .wav or .WAV in the directory /var/spool/asterisk/
>> monitor/ are shown. Also .wav files in up to 2 sub-directories
>> will also be shown.
>>
>> If you click on "Get" the recording will be downloaded and your
>> configured 'helper' should play it.
>>
>> A Pref's tab option of "Play WAV recordings in browser rather than
>> download" will attempt to play the WAV file in the browser
>> provided QuickTime or some such plugin that can handle audio/x-wav
>> MIME types is installed.
>>
>> Monitor recordings can also be deleted. Please report back on how
>> this works.
>
> Hi Lonnie,
>
> thanks for implementing Monitor.
> But it doesn't work for me.
> Even though there are .WAV files in the /var/spool/asterisk/monitor
> directory I get a screen with error messages => screenshots.
>
> Michael
Michael,
I see your monitor files are sym-linked elsewhere.
If you edit admin/monitor.php, line #27, you will see the "find"
command that I use to create the list.
Add the option -follow, ie
@system('find '.$dir.' -follow -maxdepth 3 -regex ".*\.[wW][aA][vV]$"
>'.$tmpfile, $status);
In a standard AstLinux system with a keydisk, the /var/spool/asterisk/
monitor/ directory is linked to /mnt/kd/monitor/ and that works for me.
Let me know if the -follow solves your problem. Otherwise, I will
just have to allow you to choose your monitor path.
Lonnie
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]