Commit Graph

6841 Commits

Author SHA1 Message Date
FusionPBX eb8b64dcd3 Update local_stream.conf.lua
Use UUID for the name of the stream. Add a default to handle systems using default.
2016-06-29 16:25:17 -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
badcrc c295fd31ff Clear memcached when toggling on/off dialplans (#1717)
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.
2016-06-28 19:18:28 -06:00
FusionPBX 9169788abc Update local_stream.conf.xml
Remove 'moh' local stream in favor of 'default'
2016-06-28 16:14:27 -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 bc46191440 Update local_stream.conf.lua
Check if row.music_on_hold_timer_name is empty.
2016-06-28 12:24:31 -06:00
reliberate 4ea5b2a4ad Theme: Enhance audio playback indicator smoothness for files less than 30 sec in length. 2016-06-28 12:08:36 -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
markjcrane 9f9cc5271a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-27 19:40:38 -06:00
markjcrane 1ff661782a Remove the Polycom VVX template in favor of 4.x or 5.x templates. 2016-06-27 19:40:02 -06:00
Nate 060314b506 Merge pull request #1713 from mafoo/BugFix-Bootstrap-Remove-map-file
BugFix-Bootstrap Remove map file
2016-06-27 14:16:12 -06:00
mafoo 8f4473a0d9 BugFix-Bootstrap Remove map file
removed reference to pwstrength-bootstrap.min.map as it causes a 404 on
any browser with a debugger attached
2016-06-27 16:47:07 +01:00
Alexey Melnichuk 2d49b1b211 Change. remove CC configuration dependencies from mod_commands. (#1711) 2016-06-27 07:52:29 -06:00
Alexey Melnichuk 2b2ca19da0 Fix. generate XXX_dir options in config.lua (#1709) 2016-06-26 13:45:57 -06:00
Alexey Melnichuk 78d8619cfd Fix. generate correct config file. (#1708) 2016-06-26 13:18:49 -06:00
markjcrane 988ca1154b Move the voicemail default settings to main default_settings/app_defaults.php for better efficiency. 2016-06-26 12:32:51 -06:00
markjcrane 85f6e6cecb Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-26 12:00:38 -06:00
markjcrane d5da895a2e Make the voicemail app_defaults more efficient and prevent duplicates. 2016-06-26 12:00:06 -06:00
Alexey Melnichuk f8c2904aaf Add. option to store setting in memcache. (#1707) 2016-06-26 11:43:32 -06:00
Alexey Melnichuk a4dfa0c04d Fix. Set default values for max length settings (#1706) 2016-06-26 11:42:33 -06:00
markjcrane 855ea303f1 Add nowrap to time_condition_edit.php to correct a layout problem. 2016-06-26 11:20:13 -06:00
Alexey Melnichuk 7a9a4bc3da Fix. Load required libraries in voicemail. (#1705) 2016-06-26 09:03:21 -06:00
FusionPBX 8f26972c20 Update ivr.conf.lua
If the IVR Menu recordings are base64 don't update the path.
2016-06-24 18:40:14 -06:00
markjcrane 3e2dea7b70 Get the settings.recordings.storage_type for the ivr menu using xml handler. 2016-06-24 14:55:16 -06:00
markjcrane 2eb562a25f Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-24 14:51:15 -06:00
markjcrane 8936f46782 Add settings array to the config.lua. 2016-06-24 14:50:55 -06:00
Chris Black b91c3fb511 Fix variable names and clean up duplicate time settings in yealink files (#1694)
Fix the variable names to be consistent across all yealink provision
files. Also remove all the duplicate/redundant time settings from the
files.
2016-06-24 10:33:25 -06:00
Alexey Melnichuk 61d6f0be6c Add. Handler for SUBSCRIBE method for call flow application. (#1701)
* 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.
2016-06-24 10:32:19 -06:00
Mafoo 628c825201 Enhance-make voicemail length configurable (#1702)
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
FusionPBX a67ba8fff3 Update cmd.php
Add Applied response message and fix the referrer.
2016-06-24 10:13:25 -06:00
FusionPBX 82820c3d75 Update app_languages.php
Add button-applied to app_languages.php.
2016-06-24 10:10:51 -06:00
FusionPBX b49f045a2b Update device_dashboard.php
Fix the apply button for Device Keys for the Device Dashboard.
2016-06-24 09:47:13 -06:00
FusionPBX 96197d6ad4 Update switch_music_on_hold.php
Update the music on hold list.
2016-06-23 23:14:03 -06:00
FusionPBX 653a5e007d Update local_stream.conf.lua
Music on hold set the default timer name to 'soft'.
2016-06-23 16:42:12 -06:00
markjcrane 6af584afd5 Uncomment two lines to restore the debug check. 2016-06-23 15:46:59 -06:00
markjcrane d11ab18f06 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-23 15:29:33 -06:00
markjcrane 8c7be13133 Add full path to the music on hold chime list. 2016-06-23 15:29:14 -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 022247c280 Update music_on_hold_timer to timer_name. 2016-06-23 13:35:53 -06:00
Alexey Melnichuk fbd1230f05 Update Escene provision. (#1696)
* Update Escene provision.

Support DNS SRV record.
Set time zone.

* Add. Date/Time formats for Escene template.
2016-06-23 12:47:42 -06:00
Alexey Melnichuk 9fe937d4d6 Fix. Disable device provision. (#1700)
Close #1389
Rewrite code to write config file to file.
2016-06-23 12:47:06 -06:00
markjcrane 11e51de389 Get music on hold from list from the database. 2016-06-22 20:28:20 -06:00
markjcrane 9e175c3d3b Add sip_h_X- prefix to the accountcode in pin_number.lua. 2016-06-22 15:05:33 -06:00
markjcrane 6847889d76 Add domain_uuid check to pin_number.lua. 2016-06-22 13:52:43 -06:00
markjcrane 5e74f6cd92 Add app/pin_numbers. 2016-06-22 13:49:54 -06:00