Commit Graph

6865 Commits

Author SHA1 Message Date
FusionPBX
bfa76cebcd Update ringbacks.php
Update the music on hold list for the ringbacks class.
2016-06-30 19:10:07 -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
FusionPBX
849f8fd050 Update page.lua
Add leading zero support to page.lua.
2016-06-30 15:08:14 -06:00
Chris Black
e1cda1db44 Add missing bracket (#1726) 2016-06-30 14:51:56 -06:00
Alexey Melnichuk
b9cf2762f3 Fix. Upload local MOH (Close #1714) (#1719) 2016-06-30 10:43:28 -06:00
FusionPBX
069ad5d580 Update local_stream.conf.lua
Add a more generic query to make this code compatible with MySQL/Mariadb.
2016-06-30 10:03:32 -06:00
Alexey Melnichuk
8a72e2afd8 Add. Event handler to support MWI. (#1720)
* Add. Event handler to support MWI.

* Fix. store cache only when get data from memcache

* Change. Use UUID as PID.
2016-06-30 09:55:37 -06:00
Chris Black
ae1d180b5e Add programmable keys to yealink t46 (#1722)
Add programmable keys to yealink t46.
2016-06-30 09:54:08 -06:00
FusionPBX
bbfdd2f789 Update sip_status.php
Just use the gateway name when its global and @domain_name when its assigned to a domain.
2016-06-30 09:53:18 -06:00
Mafoo
5192229436 BugFix-Display global gateways name appropriately (#1723)
display '*@(Global)' for global gateways (instead of *@')
2016-06-30 09:52:13 -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
debc6da476 Update local_stream.conf.xml
Remove the rate in the name xml handler will add it based on the rate that is defined in the param.
2016-06-30 09:50:32 -06:00
Alexey Melnichuk
65d9424078 Fix. event_socket_mkdir for Windows system. (#1724) 2016-06-30 08:11:52 -06:00
FusionPBX
2f9c1a7c9f Update local_stream.conf.lua
Changes to the conditions that build the name to make sure it builds it correctly.
2016-06-30 01:40:48 -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
b0c69d6703 Update local_stream.conf.lua
Use the name/rate for global music on hold or domain_name/name/rate for local. If configuring as a default leave the /rate off the end of the string.
2016-06-30 01:18:17 -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
bc670abb32 Update local_stream.conf.lua
Remove the default stream will handle it another way.
2016-06-29 17:19:21 -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
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