Commit Graph

3735 Commits

Author SHA1 Message Date
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 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
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 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 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 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 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 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
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 5c15a16a8d Update music_on_hold.php
Use SESSION domain_uuid instead of $domain_uuid.
2016-06-28 03:11:23 -06:00
FusionPBX 1c0e97d9e5 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
Alexey Melnichuk 594f055c51 Fix. generate XXX_dir options in config.lua (#1709) 2016-06-26 13:45:57 -06:00
Alexey Melnichuk 9fcf45d05b Fix. generate correct config file. (#1708) 2016-06-26 13:18:49 -06:00
markjcrane 504ea75d3b Move the voicemail default settings to main default_settings/app_defaults.php for better efficiency. 2016-06-26 12:32:51 -06:00
markjcrane f1bda35eb8 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-26 12:00:38 -06:00
markjcrane f26930c819 Make the voicemail app_defaults more efficient and prevent duplicates. 2016-06-26 12:00:06 -06:00
Alexey Melnichuk ebfa71298d Add. option to store setting in memcache. (#1707) 2016-06-26 11:43:32 -06:00
markjcrane 6e29a95909 Add nowrap to time_condition_edit.php to correct a layout problem. 2016-06-26 11:20:13 -06:00
markjcrane 3d82239069 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-24 14:51:15 -06:00
markjcrane 3e51e8cb66 Add settings array to the config.lua. 2016-06-24 14:50:55 -06:00
Alexey Melnichuk 0a0383db9a 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 f88691618e 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 2189ce1e82 Update cmd.php
Add Applied response message and fix the referrer.
2016-06-24 10:13:25 -06:00
FusionPBX 8969e8171d Update device_dashboard.php
Fix the apply button for Device Keys for the Device Dashboard.
2016-06-24 09:47:13 -06:00
FusionPBX b36050114d Update switch_music_on_hold.php
Update the music on hold list.
2016-06-23 23:14:03 -06:00
reliberate ef787dafbf 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
Alexey Melnichuk 032872f5b3 Fix. Disable device provision. (#1700)
Close #1389
Rewrite code to write config file to file.
2016-06-23 12:47:06 -06:00
markjcrane 3f47e26616 Get music on hold from list from the database. 2016-06-22 20:28:20 -06:00
markjcrane d1aa88dfd1 Add app/pin_numbers. 2016-06-22 13:49:54 -06:00
reliberate 68c442e063 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
FusionPBX e332afaf46 Update access_control_nodes.php
Fix the ACL node paging.
2016-06-22 11:55:30 -06:00
markjcrane 59304c226f Add $sql .= "WHERE device_uuid = '".$device_uuid."' "; to the device lines in device_dashboard.php. 2016-06-21 18:32:30 -06:00
markjcrane ecc7317d62 Update device_user_uuid. 2016-06-21 18:09:37 -06:00
markjcrane f4765e954b Improve code for access controls. 2016-06-21 18:00:38 -06:00
markjcrane 38b62a4572 Fix the dashboard device keys 2016-06-21 17:57:06 -06:00
reliberate 4204188c00 Music on Hold: Update app_defaults to use db field music_on_hold_timer_name instead; reflective of the MOH changes just committed. 2016-06-21 16:06:09 -06:00
reliberate 6db9b1f4fb Music on Hold: Support multiple global categories. Support for changing moh domain. Support for managing additional stream parameters (shuffle, stereo, interval, chimes, custom moh paths, etc). Enhanced file system housekeeping.
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.
2016-06-21 15:56:15 -06:00
Alexey Melnichuk 510c7665a4 Fix. Provision for devices without (#1689) 2016-06-21 08:06:45 -06:00
Alexey Melnichuk 42aec3c0d8 Fix. Edit user for device. (#1690) 2016-06-21 08:05:44 -06:00
Alexey Melnichuk f59f0c9f50 Add. Use static function to find vendor by User-Agent string. (#1681)
Add. Escene and AddPac vendors.
2016-06-20 11:45:20 -06:00
Alexey Melnichuk b982eae5da Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
Alexey Melnichuk 736519f3cd Fix. Export valid values for settings in provision template. (#1685) 2016-06-20 11:40:22 -06:00
FusionPBX 41a3290999 Update device_dashboard.php
Hide the 'apply' button on the devices keys dashboard until its ready.
2016-06-19 10:00:01 -06:00
FusionPBX c61eefdfb2 Update device_edit.php
Hide this until its ready.
2016-06-19 09:56:18 -06:00
FusionPBX 086650f7c9 Update ivr_menu_edit.php
Change the ivr_menu_ringback to default back to the original default of music on hold.
2016-06-19 09:39:47 -06:00
FusionPBX 7c8c6c99d0 Update ring_group_edit.php
Set the default ring_group_ringback to ${us-ring}
2016-06-19 09:35:21 -06:00
markjcrane da8d7316fb Update device_edit.php change user_uuid to device_user_uuid. 2016-06-17 17:45:42 -06:00
markjcrane 6991bd7649 Rename user_uuid device_user_uuid in the devices table. Add an apply button to the key dashboard and provision button to the device edit. 2016-06-17 17:34:31 -06:00
Alexey Melnichuk f9171c96aa Fix. Display key type in `Profile` app. (#1658) 2016-06-17 12:43:51 -06:00
Alexey Melnichuk ede2f8f57d Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Mafoo e66c907fc9 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
FusionPBX 7b683c4842 Update xml_cdr.php
Fix the order by number alias addition by grouping it with ( and ).
2016-06-15 11:48:53 -06:00
Alexey Melnichuk 40fe5f3138 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
FusionPBX 3066f73d4f Update xml_cdr_extension_summary.php
Update the extension summary to use the new class. Add an option to export to CSV.
2016-06-14 22:51:38 -06:00
FusionPBX 6a9b6dff73 Update xml_cdr.php
Update the xml cdr class to generate a complete extension / user summary array.
2016-06-14 22:44:34 -06:00
FreeMe 50ef8b4ade Update app_languages.php (#1664)
Added Ukraine fields
2016-06-14 20:21:15 -06:00
FusionPBX 3b9c26c31d Update gateways.php
Fix the sytnax ont the gateways list show it shows the gateway list.
2016-06-14 19:52:57 -06:00
FusionPBX 85e73a4912 Update gateway_edit.php
Add a missing ) on gateway_edit.php.
2016-06-14 19:32:50 -06:00
FusionPBX d3009467ea Update gateways.php
Add missing brackets.
2016-06-14 19:27:15 -06:00
FusionPBX c09b7f80ef Update gateways.php
Add an 'or domain_uuid is null' if permission gateway_domain is given to the group.
2016-06-14 11:14:06 -06:00
FusionPBX 653e64b6dd Update gateway_edit.php
If permission to view all gateways then add an 'or domain_uuid is null'
2016-06-14 11:10:53 -06:00
FusionPBX 397285dd37 Update app_defaults.php
Ensure the values are reset after each loop through local_stream.con.xml attributes.
2016-06-14 11:06:29 -06:00
Alexey Melnichuk 83e45dda1a Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
markjcrane c3ff393f34 Add domain_uuid to the music on hold table. 2016-06-13 18:13:23 -06:00
markjcrane 45fddd1bef Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-13 17:52:52 -06:00
markjcrane b6aaebb7b3 Add the missing curly brackets. 2016-06-13 17:52:35 -06:00
Mafoo 54b0b3fb9a BugFix-default moh for source mode (#1657)
populate the default moh for switch source installs
set comment indents as preferred
2016-06-13 17:48:36 -06:00
markjcrane 91562a9e41 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-13 17:45:01 -06:00
markjcrane 70ab3e62f8 Update app_defaults for muisc on hold so it reads local_stream.conf.xml and loads the information in the database. Remove music_on_hold_category. 2016-06-13 17:44:15 -06:00
reliberate 01964bb5ab Command: Remove blank option from handler select element. 2016-06-13 16:58:52 -06:00
reliberate b992addd0b Voicemail Greetings: Fix style effecting radio button padding. 2016-06-13 15:27:57 -06:00
reliberate b0e77d1295 MOH: Fix style issue during playback. 2016-06-13 14:53:17 -06:00
reliberate 931b30db24 Call Flows: Restore missing quote in app_languages.php. 2016-06-13 13:05:55 -06:00
FreeMe d8ffd18af4 Update app_languages.php (#1656)
Corrected 'uk' field to Ukraine not english.
2016-06-13 10:58:23 -06:00
FreeMe 4824aee451 Update app_languages.php (#1655)
Filled in Romanian and UK fields
2016-06-13 07:36:55 -06:00
FusionPBX a3d8270e30 Update call_flows.php
Update call_flows.php rename anti to alternate.
2016-06-12 14:24:35 -06:00
FusionPBX 1003e70dd3 Update index.php
Disable the auto login if the default setting-> adminer -> auto_login is not set.
2016-06-12 00:15:43 -06:00
FusionPBX 11efb35712 Update xml_cdr.php
In the xml_cdr class change method xml_array from $row to $key. Key is more descriptive and should prevent bugs in the future.
2016-06-11 16:17:35 -06:00
FreeMe 0b2506dad1 Update app_languages.php (#1651)
Multilingual support for new features
2016-06-11 15:57:01 -06:00
FreeMe b046094042 Update call_flow_edit.php (#1652)
Allows the page to become multilingual
2016-06-11 15:23:49 -06:00
FusionPBX 665273d0c7 Update app_languages.php 2016-06-11 11:08:21 -06:00
FusionPBX fad5fcd239 Update app_languages.php
Set temporary transltations for label-sound and label-alternate_sound
2016-06-11 10:19:16 -06:00
FusionPBX 84ee791aea Update call_flow_edit.php
Fix the call flow alternate sounds so it saves to the database and its value is displayed when loading the form.
2016-06-11 09:49:22 -06:00
FusionPBX 5b9a1aadf2 Update call_flow_edit.php
Correct the SQL insert and updates and put the call flow sound and alternate sound into the order that matches the web interface.
2016-06-11 09:29:56 -06:00
FusionPBX 21538da340 Update app_languages.php
Change the labels to sound and alternate_sound.
2016-06-11 09:14:30 -06:00
FusionPBX cb96cb3362 Update call_flow_edit.php
Rename the call flows using anti to alternate.
2016-06-11 09:06:12 -06:00
FusionPBX b7a8e372ae Update app_config.php
Change call_flow_sound_on to call_flow_sound. Call flow anti to alternate and call_flow_sound_off to call_flow_alternate_sound.
This changes make it more consistent with the front end. For the few developers that have the call_flow_sound_on and call_flow_sound off I offer the these alter table statements.
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_on to call_flow_sound;
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_off to call_flow_alternate_sound;
2016-06-11 09:04:42 -06:00