Change moh_ to stream_ to make it easier for those not native to English avoiding abbreviations. Music streaming is handled by FreeSWITCH mod_local_stream so the word stream seems appropriate.
Change music on hold class method streams to get. Following HTTP REST concept for the name to get the list of data. This same convention can be used in any class.
* Fix. Support MOH app on Windows.
* Use `path_join` to build mask
* Fix. Build path on Windows.
Main problem is on line like `path = '/'.trim(...),'/');`
On windows it produce path like `/c:/...`.
I also rewrite code to use`path_join` to build all paths.
So there no needs to tests either path end with path separator or not
you always can just write `path_join(a, b)`. `a.'/'.b` is not always produce
correct result and it require some additional works.
* Fix. Get correct MOH settings to display in Web UI.
When clicking True/False link from the dialplan list (like outbound routers for examples), the change isn't effective until the cache expires.
Full editing the dialplan entry (dialplan_detail_edit.php) does this right and clears the cache, I took the code from there.
* Add. Handler for SUBSCRIBE method for call flow application.
Usage:
1. Run form fs_cli `luarun call_flow_subscribe`
2. Create new call flow extension and set feature code to `flow+<EXTENSION>`(e.g. `flow+401`).
3. Set on the phone BLF key to `flow+401`
This code based on `mod_valet_parking`.
* Add. prevent running 2 copy of script.
Remove some unused vars and simplify implementation.
* Fix. Use correct protocol for send event.
* Fix. Do escape SQL arguments
* Fix. escape `+` sign in call flow extension.
Recordings: Updated to support new audio playback indicator. Show upload date/time (when not using base64).
VM Messages: Updated to support new audio playback indicator.
VM Greetings: Updated to support new audio playback indicator.
CDR: Updated to support new audio playback indicator.
Theme: Enhanced audio playback progress indicator. Added settings to control body icon normal/hover colors.
VM Greetings: Updated to support new audio playback indicator (more apps to come shortly).
Group Permissions: Prevent enter key submission on search field.