Commit Graph

180 Commits

Author SHA1 Message Date
FusionPBX a4ad4113cd Update music_on_hold.php
Fix the upload to specific music on hold categories and fix an issue with case sensitivity that prevented ability to delete a file with upper case letters.
2016-07-15 10:44:27 -06:00
FusionPBX 1f8f016a10 Update music_on_hold_edit.php
If the Music on Hold rate is empty use the 'Default' label.
2016-07-14 23:20:01 -06:00
FusionPBX 666ccddb34 Update app_defaults.php
Music on hold import from XML strip the domain name and rate from the name.
2016-07-08 10:32:56 -06:00
FusionPBX ed89df28c5 Update music_on_hold_edit.php
Make sure reload mod local stream after editing it.
2016-07-06 15:50:43 -06:00
FusionPBX cdeb3f20c2 Update switch_music_on_hold.php
Remove permission for the select list as we would want all users to see global music on hold.
2016-07-06 15:41:26 -06:00
FusionPBX ff7bae958e Update music_on_hold_edit.php
Fix the chime select list so that it will show what was selected.
2016-07-06 15:33:01 -06:00
FusionPBX a9eaeb3c76 Update music_on_hold.php
Show global then local for those with music_on_hold_domain.
2016-07-06 14:13:17 -06:00
FusionPBX 886e178073 Update music_on_hold.php
Remove scope to simplify the interface after upload a user with the right permission can make it global.
2016-07-06 13:58:03 -06:00
FusionPBX 4682e4ef05 Update music_on_hold_edit.php
Add the translation for global and protect adding global music on hold using permissions.
2016-07-06 13:12:16 -06:00
Luis Daniel Lucio Quiroz e6567d6d8d More efficient and compatible SQL query (#1737)
Don't do a nested select, it adds unnecessary overload to the db. Instead, use a left join, quicker and more compatible among db types.
2016-07-06 12:36:18 -06:00
FusionPBX 230257fff9 Update switch_music_on_hold.php 2016-07-06 11:19:41 -06:00
FusionPBX 1fb9cff306 Update music_on_hold.php
Update permissions for music_on_hold.php
2016-07-06 11:17:53 -06:00
FusionPBX 9e5c82dd9e Update app_config.php
Remove music_on_hold_global_* replaced with music_on_hold_domain in app_config.php.
2016-07-06 11:09:35 -06:00
FusionPBX 6c613cc213 Update music_on_hold.php
Reload mod local stream.
2016-07-06 10:46:43 -06:00
FusionPBX 6bdf8d0e27 Update music_on_hold.php
Fix the global upload and handling for mixed case upload to lower case.
2016-07-03 20:36:06 -06:00
FusionPBX e04910be58 Update music_on_hold_edit.php
Fix the music on hold chime list.
2016-07-03 19:47:20 -06:00
FusionPBX c03d25a1be Update music_on_hold_edit.php
Add music on holder rate, and time name to music_on_hold_edit.php
2016-07-03 16:55:33 -06:00
FusionPBX f78417f0c6 Update app_languages.php
Add timer name to app languages.
2016-07-03 16:53:14 -06:00
FusionPBX e3d23acb3c Update music_on_hold.php
Update music_on_hold.php prevent duplciate records if the path already exists.
2016-07-03 00:56:15 -06:00
FusionPBX a20881395e Update music_on_hold_edit.php
Change moh_settings to music_on_hold_settings.
2016-07-02 09:37:23 -06:00
FusionPBX c4e3b149dc Update music_on_hold.php
Replace moh for music on hold to match the changes to app_languages.
2016-07-02 09:34:18 -06:00
FusionPBX 5c52947eae Update app_languages.php
moh replaced by music_on_hold
2016-07-02 09:28:46 -06:00
FusionPBX 0a227bac05 Update app_languages.php
Change label-sampling to label-rate to match the name of the field.
2016-07-02 09:27:21 -06:00
FusionPBX ff47ded50c Update music_on_hold.php 2016-07-02 09:26:23 -06:00
FusionPBX 9155fdf519 Update music_on_hold.php
Fix the display for the rate or default in music on hold.
2016-07-02 09:22:40 -06:00
FusionPBX 20dc89d7a4 Update switch_music_on_hold.php
Eliminate duplicates in the music list for the music on hold class.
2016-06-30 19:32:30 -06:00
FusionPBX 367a8e9f17 Update music_on_hold.php
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.
2016-06-30 19:17:30 -06:00
FusionPBX 51c12ea5bd Update switch_music_on_hold.php
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.
2016-06-30 19:08:10 -06:00
Alexey Melnichuk b9cf2762f3 Fix. Upload local MOH (Close #1714) (#1719) 2016-06-30 10:43:28 -06:00
Alexey Melnichuk cf0bf77bc3 Fix. create default path when upload new profile. (#1725)
Fix. set correct value for `Default` sampling.
2016-06-30 09:51:35 -06:00
FusionPBX 65d482fbe4 Update switch_music_on_hold.php
Add the $ to the row to correct the rate.
2016-06-30 01:28:19 -06:00
FusionPBX a7277e2032 Update switch_music_on_hold.php
Fix the alias on the moh sql select string.
2016-06-30 00:40:01 -06:00
FusionPBX cfdbbf16a6 Update music_on_hold.php
Fix the default rate for music on hold.
2016-06-30 00:31:22 -06:00
FusionPBX a877998390 Update switch_music_on_hold.php
Build the music on hold select list based on domain name, name and rate.
2016-06-30 00:23:51 -06:00
FusionPBX dd65d5f60f Update music_on_hold.php
Adjust the spacing set the order on the music on hold.
2016-06-29 22:40:43 -06:00
FusionPBX 5fbb7b66fb Update music_on_hold.php
Music on hold - combine the same name with multiple rates under the heading. Improve indentation and comments.
2016-06-29 21:42:12 -06:00
FusionPBX b05a525be2 Update music_on_hold.php
Since using the UUID for the music on hold name in FreeSWITCH adding the domain name as a prefix and rate are no longer needed.
2016-06-29 17:26:01 -06:00
FusionPBX 9f815b908e Update switch_music_on_hold.php
Music on hold select list use the UUIDs instead of the names.
2016-06-29 16:52:32 -06:00
FusionPBX b96fb19884 Update music_on_hold.php
Simplify the music on hold stream name by removing the rate and domain name.
2016-06-29 00:03:58 -06:00
FusionPBX 5f11947e21 Update music_on_hold.php
When setting music on hold for a specific domain use the domain name as part of the stream name.
2016-06-28 20:20:58 -06:00
FusionPBX 0865a66289 Update music_on_hold.php
Order the music on hold by name in ascending order.
2016-06-28 20:01:55 -06:00
FusionPBX c91ebc4575 Create music_on_hold_delete.php
Add music on hold delete php file.
2016-06-28 19:58:29 -06:00
Alexey Melnichuk f1249f20dc Moh windows (#1712)
* 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.
2016-06-28 19:19:28 -06:00
markjcrane bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
FusionPBX 04a8cc80a4 Update music_on_hold.php
Use SESSION domain_uuid instead of $domain_uuid.
2016-06-28 03:11:23 -06:00
FusionPBX eb67c3e908 Update music_on_hold.php
Update music_on_hold.php so that it displays all streams from the database.
2016-06-28 02:32:22 -06:00
FusionPBX 96197d6ad4 Update switch_music_on_hold.php
Update the music on hold list.
2016-06-23 23:14:03 -06:00
reliberate bf37d10ed6 Music on Hold: Add ability (and permission) to edit Name. Add check for required fields (Name and Path). 2016-06-23 15:02:01 -06:00
markjcrane 11e51de389 Get music on hold from list from the database. 2016-06-22 20:28:20 -06:00
reliberate 3c823fa651 Music on Hold: Style/layout tweaks.
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.
2016-06-22 12:42:03 -06:00