Commit Graph

6903 Commits

Author SHA1 Message Date
FusionPBX a2f42e6328 Update dialplan.php
Moving this code back to the way it was.
2016-07-01 14:04:38 -06:00
markjcrane 7c8a3ce788 Add another missing semi-colon. 2016-07-01 13:47:50 -06:00
markjcrane 865a1276b5 Add a missing semi-colon. 2016-07-01 13:46:24 -06:00
markjcrane 0e91a2a735 Add a missing ). 2016-07-01 13:44:58 -06:00
markjcrane 545eac8ca0 Work on a more efficient way to handle app_uuid_exists on a larger scale. 2016-07-01 13:42:44 -06:00
markjcrane d5b053ba74 Fix the syntax. 2016-07-01 13:05:54 -06:00
markjcrane 4f30eb3d9b Efficiency for app defaults. 2016-07-01 13:02:31 -06:00
markjcrane ff224fc8f5 Remove voicemails/app_defaults.php directory structure be created on demand. Move this code to scripts voicemail_directories.php 2016-07-01 12:09:44 -06:00
Alexey Melnichuk dc3575c05c Fix. Send message count in each MWI notify. (#1728)
* move send event code to separate function
* move get message count to separate function
2016-07-01 10:08:55 -06:00
reliberate 9f1f38c4be Voicemail: Integrate new file upload control on Voicemail Greetings page. 2016-07-01 03:18:07 -06:00
reliberate 5f33e2b592 Voicemail: Fix an issue with the Back button on Voicemail Greetings page. 2016-07-01 02:53:01 -06:00
FusionPBX 0d549fe368 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 d74498f351 Update ringbacks.php
Eliminate duplicates ringbacks class for the music list.
2016-06-30 19:31:24 -06:00
FusionPBX 20dbc7f903 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 7c42b77e96 Update ringbacks.php
Update the music on hold list for the ringbacks class.
2016-06-30 19:10:07 -06:00
FusionPBX 2c5b5b6183 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 35149d0ff3 Update page.lua
Add leading zero support to page.lua.
2016-06-30 15:08:14 -06:00
Chris Black 118bcb132b Add missing bracket (#1726) 2016-06-30 14:51:56 -06:00
Alexey Melnichuk 0a740f4ccc Fix. Upload local MOH (Close #1714) (#1719) 2016-06-30 10:43:28 -06:00
FusionPBX 2b9311031d 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 ba857b6acf 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 ef18ad5fbe Add programmable keys to yealink t46 (#1722)
Add programmable keys to yealink t46.
2016-06-30 09:54:08 -06:00
FusionPBX 997ec94129 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 b4f17ecfb7 BugFix-Display global gateways name appropriately (#1723)
display '*@(Global)' for global gateways (instead of *@')
2016-06-30 09:52:13 -06:00
Alexey Melnichuk 80002fca2b 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 68f4669d48 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 a6a6a1aaac Fix. `event_socket_mkdir` for Windows system. (#1724) 2016-06-30 08:11:52 -06:00
FusionPBX 3ca2b832ca 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 79390855fd Update switch_music_on_hold.php
Add the $ to the row to correct the rate.
2016-06-30 01:28:19 -06:00
FusionPBX 4bbf0983bf 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 0fb9fadea7 Update switch_music_on_hold.php
Fix the alias on the moh sql select string.
2016-06-30 00:40:01 -06:00
FusionPBX 18939097ae Update music_on_hold.php
Fix the default rate for music on hold.
2016-06-30 00:31:22 -06:00
FusionPBX ddfae833b1 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 17f20341ec 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 0a20ef955f 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 c6e548c0ba 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 05ff231f9a Update local_stream.conf.lua
Remove the default stream will handle it another way.
2016-06-29 17:19:21 -06:00
FusionPBX a789c68e74 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 d884a18cc0 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 5d1ca79319 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 795307c100 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 17c1bf4142 Update music_on_hold.php
Order the music on hold by name in ascending order.
2016-06-28 20:01:55 -06:00
FusionPBX 3ae28ebc8c Create music_on_hold_delete.php
Add music on hold delete php file.
2016-06-28 19:58:29 -06:00
Alexey Melnichuk e5321d3d87 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 3151b9b74a 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 9d8a237bcd Update local_stream.conf.xml
Remove 'moh' local stream in favor of 'default'
2016-06-28 16:14:27 -06:00
markjcrane 6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
FusionPBX 0354e137ea Update local_stream.conf.lua
Check if row.music_on_hold_timer_name is empty.
2016-06-28 12:24:31 -06:00
reliberate f75eef6307 Theme: Enhance audio playback indicator smoothness for files less than 30 sec in length. 2016-06-28 12:08:36 -06:00
FusionPBX 5c15a16a8d Update music_on_hold.php
Use SESSION domain_uuid instead of $domain_uuid.
2016-06-28 03:11:23 -06:00