-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 2.9
-
Fix Version/s: None
-
Component/s: ARI User Portal
-
Asterisk Version:1.8.5.0
I'm not sure if the format changed with asterisk 1.8.5.0 or not. There are now recording files that have the date-time-uniqueid.wav as their name and these are not found with the current matching criteria in ARI.
I also found that the time in the filename is sometimes a few seconds off which also creates problems with matching using the unique_file_key.
I modified the code to check for PHP version 5.3.0 or later and if so, use the glob function. This finds everything with the uniqueid simplifying the search. It does not fix the bug for php versions earlier than 5.3.0.
Hopefully people run the later versions of php.
Patch file attached.