Commit Graph

4707 Commits

Author SHA1 Message Date
markjcrane 405900a2a4 Remove voicemail from the local_extension dialplan. 2016-07-20 12:42:40 -06:00
FusionPBX e2ffd261a5 Update ivr_menu_edit.php
Fix the phrases list for IVR Menu edit greetings.
2016-07-19 20:08:19 -06:00
markjcrane 6b5bf1cb82 Add conference controls. 2016-07-17 15:12:15 -06:00
FusionPBX 4d7818a043 Update conference_profile_delete.php
Delete the child data for conference profiles.
2016-07-17 14:23:22 -06:00
FusionPBX 57e63c7023 Update conference_profile_param_delete.php
Add spaces.
2016-07-17 14:20:18 -06:00
Alexey Melnichuk 59c17725b4 Fix. Escape quotes and do not check domain_uuid in edit service form. (#1752) 2016-07-17 12:14:12 -06:00
FusionPBX 7937392e08 Update conference_profile_params.php
Fix the list of conference profile params.
2016-07-17 00:08:59 -06:00
FusionPBX 6a078c6789 Update conference_profile_params.php
Remove the domain_uuid and few other minor changes.
2016-07-17 00:00:22 -06:00
FusionPBX 7ba66fd7b4 Update conference_profile_param_edit.php
Add a few more comments end a little more indentation.
2016-07-16 23:57:03 -06:00
FusionPBX bb8cacd0da Update conference_profile_edit.php
Comment out the domain_uuid in conference_profile_edit.php.
2016-07-16 23:52:15 -06:00
FusionPBX 90e509e95c Update conference_profiles.php 2016-07-16 17:43:38 -06:00
FusionPBX 1c4ccd3db3 Update app_config.php
Remove the domain_uuid from the conference profiles and params.
2016-07-16 17:30:32 -06:00
FusionPBX ddb6929b62 Update conference_profile_param_edit.php
Comment out domain_uuid so the conference params are global.
2016-07-16 17:27:58 -06:00
FusionPBX a230035bfd Update conference_profile_param_delete.php
Remove the domain filter from the delete.
2016-07-16 17:24:59 -06:00
FusionPBX 555541ec0c Update conference_profiles.php
Right now conference profiles are global.
2016-07-16 17:24:05 -06:00
FusionPBX efbb82c417 Update app_defaults.php
Import the conference profiles.
2016-07-16 17:17:37 -06:00
FusionPBX 08bd28a7d0 Create app_defaults.php 2016-07-16 16:04:36 -06:00
markjcrane b7eeccabde Add Conference Profiles. 2016-07-16 15:17:54 -06:00
FusionPBX 61e6d5eae4 Update device_dashboard.php
Handle saving device keys from a profile that has been changed.
2016-07-16 12:15:22 -06:00
FusionPBX 8faefced75 Update provision.php
Simplify the code where device keys can override keys assigned to the device profile keys.
2016-07-16 03:37:46 -06:00
FusionPBX 16dd385bf9 Update device_dashboard.php
Add profile keys to the dashboard in a way they can be overridden by the device keys.
2016-07-16 03:34:51 -06:00
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 ffc2bca89b Delete ivr_menu_option_edit.php
ivr_menu_edit.php now allows editing all options at once so ivr_menu_option_edit.php is no longer needed.
2016-07-14 09:54:16 -06:00
FusionPBX db4c91779d Update ivr_menu_edit.php
Use the right variable for the ivr_menu_options array.
2016-07-14 01:56:43 -06:00
FusionPBX d8c2f11ad4 Update ivr_menu_edit.php
When adding an IVR menu allow adding multiple IVR options.
2016-07-14 01:37:26 -06:00
FusionPBX 21ff75fc8f Update ivr_menus.php
Add indentation, and improve the code in ivr_menus.php.
2016-07-14 01:16:07 -06:00
FusionPBX 752a55d9b7 Update ivr_menu.php
Update the ivr_menu class to use the orm class this simplifies and reduces the size of the code.
2016-07-14 01:13:02 -06:00
FusionPBX 34ae1fbe64 Update ivr_menu_edit.php
Simplify ivr_menu_edit.php and remove the edit option link as it is no longer needed.
2016-07-14 01:11:17 -06:00
FusionPBX c8a4a346ec Update ivr_menu_edit.php
Improve the indentation and some progress to separate getting the data from displaying it.
2016-07-11 17:06:32 -06:00
FusionPBX 811b8388ad Update xml_cdr.php
Show the image in CDR only if direction is set.
2016-07-09 16:29:42 -06:00
FusionPBX 1ceee17605 Update scripts.php
Remove the extra ) to fix the syntax.
2016-07-08 17:09:09 -06:00
Mafoo 904a52434a BugFix-Add PROJECT_PATH for lua (#1740)
added project_path for lua to use where it needs to build urls
2016-07-08 13:12:37 -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 70bcfcffa6 Update dialplan.php
Use the domain array name as the row so it doesn't conflict with the row array.
2016-07-01 17:58:24 -06:00
FusionPBX dbc2a561f4 Update dialplan.php
Fix the global dialplan.
2016-07-01 16:50:50 -06:00
FusionPBX 0a89b156f9 Update app_defaults.php
Adjust the indentation.
2016-07-01 16:49:12 -06:00
FusionPBX 4fcd8be55f Update app_defaults.php
Remove the context from app defaults.
2016-07-01 14:35:45 -06:00
FusionPBX 6a434f6cf9 Update dialplan.php
Fix the dialplan context on the import.
2016-07-01 14:33:55 -06:00
FusionPBX d439c5a8a3 Update dialplan.php
Moving this code back to the way it was.
2016-07-01 14:04:38 -06:00
markjcrane af8aef39b0 Add another missing semi-colon. 2016-07-01 13:47:50 -06:00
markjcrane a2138678e6 Add a missing semi-colon. 2016-07-01 13:46:24 -06:00
markjcrane c6fa6dc69a Add a missing ). 2016-07-01 13:44:58 -06:00
markjcrane e7001baa5c Work on a more efficient way to handle app_uuid_exists on a larger scale. 2016-07-01 13:42:44 -06:00
markjcrane c920cdca51 Fix the syntax. 2016-07-01 13:05:54 -06:00
markjcrane 52c1726fe6 Efficiency for app defaults. 2016-07-01 13:02:31 -06:00
markjcrane 640d463fb7 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
reliberate 002bc66550 Voicemail: Integrate new file upload control on Voicemail Greetings page. 2016-07-01 03:18:07 -06:00
reliberate f67971515f Voicemail: Fix an issue with the Back button on Voicemail Greetings page. 2016-07-01 02:53:01 -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
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 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 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
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
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
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
markjcrane 855ea303f1 Add nowrap to time_condition_edit.php to correct a layout problem. 2016-06-26 11:20:13 -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
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 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
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
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 5e74f6cd92 Add app/pin_numbers. 2016-06-22 13:49:54 -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
FusionPBX 39c01aeda2 Update access_control_nodes.php
Fix the ACL node paging.
2016-06-22 11:55:30 -06:00
markjcrane 04717e8bda Add $sql .= "WHERE device_uuid = '".$device_uuid."' "; to the device lines in device_dashboard.php. 2016-06-21 18:32:30 -06:00
markjcrane 3afda7a32a Update device_user_uuid. 2016-06-21 18:09:37 -06:00
markjcrane ea6758b06a Improve code for access controls. 2016-06-21 18:00:38 -06:00
markjcrane 95dbb99bbe Fix the dashboard device keys 2016-06-21 17:57:06 -06:00
reliberate 5f60d5c896 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 3ae85a7098 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 c308e4cc7a Fix. Provision for devices without (#1689) 2016-06-21 08:06:45 -06:00
Alexey Melnichuk 99fec4f6e1 Fix. Edit user for device. (#1690) 2016-06-21 08:05:44 -06:00
Alexey Melnichuk 8d8b679ce8 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 c851f4a463 Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
Alexey Melnichuk f6a923f5d7 Fix. Export valid values for settings in provision template. (#1685) 2016-06-20 11:40:22 -06:00
FusionPBX e058dd8c74 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 0db15c3fab Update device_edit.php
Hide this until its ready.
2016-06-19 09:56:18 -06:00
FusionPBX 82a59f1810 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 207f3031ff Update ring_group_edit.php
Set the default ring_group_ringback to ${us-ring}
2016-06-19 09:35:21 -06:00
markjcrane 2ac9047648 Update device_edit.php change user_uuid to device_user_uuid. 2016-06-17 17:45:42 -06:00
markjcrane e5020a842b 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 704cf23194 Fix. Display key type in `Profile` app. (#1658) 2016-06-17 12:43:51 -06:00
Alexey Melnichuk 0741488073 Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Mafoo a821493e39 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
FusionPBX 5f1d64bd61 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 97d6bd24d8 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
FusionPBX a44a9c0a91 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 08ceeece82 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 036d8200a5 Update app_languages.php (#1664)
Added Ukraine fields
2016-06-14 20:21:15 -06:00
FusionPBX fd32603eed 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 052d2c53e9 Update gateway_edit.php
Add a missing ) on gateway_edit.php.
2016-06-14 19:32:50 -06:00
FusionPBX 79f73a81bb Update gateways.php
Add missing brackets.
2016-06-14 19:27:15 -06:00
FusionPBX 1f09ffc115 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 521bf62695 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 dccb0e5dc4 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 e03a91a1d9 Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
markjcrane 96d5cd24d2 Add domain_uuid to the music on hold table. 2016-06-13 18:13:23 -06:00
markjcrane 7aa072c1fb Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-13 17:52:52 -06:00
markjcrane f20b16b27a Add the missing curly brackets. 2016-06-13 17:52:35 -06:00
Mafoo a559e51dff 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 03c6c1c320 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-13 17:45:01 -06:00
markjcrane 6a58bb97dd 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 a36db08adf Command: Remove blank option from handler select element. 2016-06-13 16:58:52 -06:00
reliberate 2d5caa1be1 Voicemail Greetings: Fix style effecting radio button padding. 2016-06-13 15:27:57 -06:00
reliberate b27ce8f430 MOH: Fix style issue during playback. 2016-06-13 14:53:17 -06:00
reliberate 860f2fa88e Call Flows: Restore missing quote in app_languages.php. 2016-06-13 13:05:55 -06:00
FreeMe 2972dbe80b Update app_languages.php (#1656)
Corrected 'uk' field to Ukraine not english.
2016-06-13 10:58:23 -06:00
FreeMe 3dea45aaaf Update app_languages.php (#1655)
Filled in Romanian and UK fields
2016-06-13 07:36:55 -06:00
FusionPBX 70ad798d32 Update call_flows.php
Update call_flows.php rename anti to alternate.
2016-06-12 14:24:35 -06:00
FusionPBX 724f060321 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 e9ce02147a 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 6bd0fc573a Update app_languages.php (#1651)
Multilingual support for new features
2016-06-11 15:57:01 -06:00
FreeMe 7bc15229b5 Update call_flow_edit.php (#1652)
Allows the page to become multilingual
2016-06-11 15:23:49 -06:00
FusionPBX 586b03cdb2 Update app_languages.php 2016-06-11 11:08:21 -06:00
FusionPBX 61ab9f5932 Update app_languages.php
Set temporary transltations for label-sound and label-alternate_sound
2016-06-11 10:19:16 -06:00
FusionPBX 7529c36731 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 ca6b094f1e 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 5349ae273e Update app_languages.php
Change the labels to sound and alternate_sound.
2016-06-11 09:14:30 -06:00
FusionPBX 1360ba4d4f Update call_flow_edit.php
Rename the call flows using anti to alternate.
2016-06-11 09:06:12 -06:00
FusionPBX e3526deb41 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
Alexey Melnichuk 03e62d9e91 Add. Support sound prompts on call flow. (#1645)
This file uses new way to load recordings from DB.
2016-06-11 07:33:16 -06:00
FusionPBX cd5baa1df5 Update xml_cdr_inc.php
Only check the select count if there is a default setting that instructs it to do so as it is slow on a large number of records.
2016-06-11 07:15:11 -06:00
FusionPBX 2cbc5f34f3 Update device_dashboard.php
Fix device key dashboard edit only.
2016-06-10 12:23:01 -06:00
markjcrane 17e921c140 Change the permission name from device_username to device_user. 2016-06-10 11:02:17 -06:00
reliberate 75717d1d60 Adminer: Fix and simplify previous auto-login feature (controlled by Default Setting). 2016-06-09 14:13:10 -06:00
markjcrane 57bbc8f7f7 Time to start using jsonb in the xml cdr table. 2016-06-08 19:25:51 -06:00
FusionPBX 960875e88a Update index.php
Comment out the adminer auto login.
2016-06-08 19:14:43 -06:00
markjcrane f931d3a291 Update adminer.php. 2016-06-08 18:52:06 -06:00
FusionPBX fa4643710c Update adminer.php
Update adminer.php
2016-06-08 18:38:27 -06:00
FusionPBX 8ee78f2149 Update adminer.php
Update Adminer to 4.2.5
2016-06-08 18:32:06 -06:00
Mafoo 7975d125e3 BugFix Convert call_center to ringback class (#1637) 2016-06-08 15:40:24 -06:00
Mafoo c5e1e2f36f BugFix-Double default moh (#1639)
because app_defaults now deals with detecting the default music we don't
need to forcefully put it on the list
if default is detected name it using the $text['opt-default']
2016-06-08 15:40:05 -06:00
Mafoo 27dc84b3b8 BugFix-remove-legacy-warning (#1638)
changed switch_music_on_hold->select to be more inline of usage
changed extension_edit to use new format
changed call_center_queue_edit to use new format while
https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
2016-06-08 15:15:36 -06:00
Mafoo 7e024a5521 BugFix-bad ref to $db in switch_recordings (#1636) 2016-06-08 13:43:10 -06:00
Mafoo e7b177a174 BugFix-moh class bad ref (#1635)
fixed incorrect referenced to the switch_recordings class
2016-06-08 13:27:23 -06:00
Mafoo d663891bd8 Enhance Ringback (#1590)
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
markjcrane 9f902e435c Fix the call center queue active call list. 2016-06-07 13:35:18 -06:00
reliberate 77d6adf51a Command: Fix SQL insert statement generation (insert comma after null, use single-quotes instead of double). 2016-06-06 17:24:08 -06:00
reliberate 2ca4d5d1d9 Extension: Update assigned Device line password only if user has permission to view/edit Extension password. 2016-06-06 14:36:31 -06:00
FusionPBX 3454ba6853 Update xml_cdr_extension_summary.php
Add the domain_uuid.
2016-06-05 21:54:54 -06:00
FusionPBX c4532e782e Update xml_cdr.php
Use the class variables.
2016-06-05 21:53:28 -06:00
markjcrane 1c67d0baee Get the extensions then the summary array. 2016-06-05 17:53:12 -06:00
markjcrane 32e43d942f Remove the second quick_select variable that was accidently added. 2016-06-05 17:51:23 -06:00
markjcrane 01ae160e04 Adding user summary (extension summary) to the xml_cdr class. 2016-06-05 17:19:06 -06:00
FusionPBX fb8eee457f Update xml_cdr_inc.php
Work on the XML CDR export to CSV.
2016-06-03 19:47:35 -06:00
reliberate be76d25ff4 Dashboard: Tweak Device dashboard component styles. 2016-06-02 18:41:39 -06:00
markjcrane 1adb4c2672 Check for the adminer permission to increase security. 2016-06-02 09:54:47 -06:00
reliberate 427657c481 Adminer: Require authentication to access adminer.php file. 2016-06-02 09:31:27 -06:00
reliberate 30f437139c Theme: Additional settings to control domain name (selector), menu toggle icon, and logout icon color and hover colors separately.
Adminer: Added ability to login automatically.
2016-06-01 22:04:00 -06:00
markjcrane ee3ae4b7c2 If last_sent_callee_id_number is set use it as the destination_number. 2016-06-01 16:45:50 -06:00
markjcrane 102120d55e Prevent duplicate values from being saved in the vars.xml file and remove some trailing spaces and fix some of the indentation. 2016-06-01 15:31:33 -06:00
FusionPBX 9ef93aede1 Update app_config.php
Add the device_key_id permission.
2016-05-31 10:03:46 -06:00
FusionPBX 201ba2fb17 Update device_dashboard.php
To edit the key in the dashboard device_key_id permission is required.
2016-05-31 10:01:32 -06:00
FusionPBX ffb0131bb6 Update device_dashboard.php
Fix permissions and add the option to add and configure a device key.
2016-05-30 16:40:23 -06:00
FusionPBX fe004f37b9 Create device_dashboard.php
Add a new item for the dashboard device keys.
2016-05-28 19:52:28 -06:00
FusionPBX 09444288b1 Update ring_group_forward.php
Add a few more comments and indentation to the ring group dashboard.
2016-05-28 19:50:20 -06:00
FusionPBX 64590ad129 Update ring_group_forward.php
Make the ring group forward dashboard fit correctly for mobile devices.
2016-05-28 15:35:23 -06:00
FusionPBX 681776f913 Update device_edit.php
Show the selected user when editing a device.
2016-05-26 22:14:39 -06:00
FusionPBX fecd635688 Update app_languages.php
Fix the label and description for the singular 'user'.
2016-05-26 22:04:45 -06:00
FusionPBX 635ba86e44 Update device_edit.php
Set the device user label to singular.
2016-05-26 22:00:33 -06:00
FusionPBX 9ed3f42c81 Update device_edit.php
Remove the device user add button.
2016-05-26 21:54:20 -06:00
FusionPBX 6012dfd1a1 Update app_languages.php
Fix the translation on the description of the device user.
2016-05-26 21:49:44 -06:00
markjcrane c51ddbe82a Minor update. 2016-05-26 13:08:53 -06:00
markjcrane ae1de8ac4a This should complete work for setting module order for existing systems. 2016-05-26 12:51:53 -06:00
markjcrane 60555da7ee Add module order for modules that are already in the database without an order set. 2016-05-26 12:46:07 -06:00
markjcrane ef35214f93 Fix the syntax. 2016-05-26 11:28:30 -06:00
markjcrane c92606353e Remove save_module_xml() function and move it it into the modules class as the xml method. Eventual goal move everything out of switch.php. 2016-05-26 11:21:37 -06:00
markjcrane db697b8342 Adjust the order of the modules. 2016-05-26 11:01:03 -06:00
markjcrane 4c4a1bd15e Start using the module order. 2016-05-26 10:31:59 -06:00
Mafoo 71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
FusionPBX 7f1873df99 Update switch_music_on_hold.php
Add missing forward slashes so the pattern will be correct for the preg_replace.
2016-05-25 17:42:56 -06:00
Mafoo b8e3070cdc Added basic searching for moh (#1614)
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00
FusionPBX fb745afbb2 Update modules.php
Set a default order when adding the modules.
2016-05-24 23:42:05 -06:00
FusionPBX 77456fc29c Update module_edit.php
Set the order to label-order.
2016-05-24 23:26:51 -06:00
FusionPBX fa60cfdc3e Update module_edit.php
Add module order to module_edit.php.
2016-05-24 23:16:30 -06:00
FusionPBX df714fb633 Update app_config.php
Add module_order.
2016-05-24 23:12:01 -06:00
Chris Black 43543f8b0c remove SMS (#1612) 2016-05-24 12:57:46 -06:00
Chris Black a78d09cfd5 Add support for twilio (#1610)
added support for twilio and made it a bit easier to add support for
other carriers as well.
2016-05-24 02:02:36 -06:00
FusionPBX 6718c13ced Update app_defaults.php
The sip profiles are being read from the templates/conf directory so copying the files is not needed.
2016-05-23 21:37:21 -06:00
reliberate bf5f1223af Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
reliberate 58a485517e Ring Group Forward: Don't include footer.php if is included within the Dashboard. 2016-05-21 11:51:26 -06:00
markjcrane 0cc9a01a5a Add ability to assign a single user to a device. 2016-05-20 10:39:16 -06:00
markjcrane 5d532ede0c Create yealink_time_zone_start_time and yealink_time_zone_end_time automatically. 2016-05-19 12:47:03 -06:00
Chris Black 93fe11851b Flowroute SMS (#1603)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all

* Flow route SMS
2016-05-19 12:09:49 -06:00
FusionPBX 4f35edbc49 Update scripts.php
Remove this code as its breaking the upgrade page when migrating from source to package paths.
2016-05-15 08:57:59 -06:00
SJS87 40a3613cd7 E.164 format support - contact_phone_edit.php (#1581)
The + prefix is being removed, this should be ignored for the very start of the string, resolution below.

Line 69.
Replace:
$phone_number = preg_replace('{\D}', '', $phone_number);
With:
$phone_number = preg_replace('{(?!^\+)[\D]}', '', $phone_number);
2016-05-13 08:42:34 -06:00
markjcrane 3ea3fa4436 Use effective_caller_id_name and effective_caller_id_number with follow me. 2016-05-13 08:21:58 -06:00
Chris Black 7b99a14f67 Yealink directory listing for extensions, groups, users contacts (#1588)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all
2016-05-12 11:22:40 -06:00
markjcrane 8e01682c3c Fix a minor issue. 2016-05-11 18:42:30 -06:00
markjcrane e3792a33a6 Additional work on caller id name and number. 2016-05-11 18:37:01 -06:00
markjcrane 07b6b54396 Add the new column source_number. 2016-05-11 18:21:36 -06:00
markjcrane e752e5fab7 Additional work on the destination_number on the new xml cdr import tool. 2016-05-11 17:58:43 -06:00
markjcrane 1833df9567 Fix the syntax to the last commit. 2016-05-11 17:05:06 -06:00
markjcrane e1f0c205c7 Add source_number and change the destination_number to the number sent to the carrier. 2016-05-11 16:23:42 -06:00
markjcrane b27b11fe40 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane 72c366518f Fix some warnings more warnings. 2016-05-11 13:23:53 -06:00
markjcrane ee3ff3f7b1 Change default permissions on ring groups. 2016-05-11 13:05:56 -06:00
markjcrane cbd78f0e74 Change extension permission defaults. 2016-05-11 13:03:06 -06:00
markjcrane 0564c99938 Run array unique and sort only on groups array if it exists. And use is_array instead of isset on the conditions that test if it is an array. 2016-05-11 09:20:10 -06:00
markjcrane 421ab16a6a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-11 09:06:29 -06:00
markjcrane f4e952d798 Check each array if it exist with for every foreach in the operator_panel/index_inc.php. 2016-05-11 09:06:14 -06:00
FusionPBX 0852d05788 Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX c0a2059ac8 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06:00
markjcrane e6ad8083f7 Fix data types on the new music on hold and add the path. 2016-05-10 19:19:47 -06:00
markjcrane d5b69dec32 Working on music on hold. 2016-05-10 19:09:45 -06:00
FusionPBX 0cca642562 Update app_defaults.php
Move the if ($domains_processed == 1) { so none of the code is processed more than one time.
2016-05-10 12:56:33 -06:00
FusionPBX 8220f74cc5 Update app_defaults.php
Add media_mix_inbound_outbound_codecs to true by default.
2016-05-10 12:46:03 -06:00
markjcrane 9e20f0a570 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane 9d0eac2111 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane 2378ace5a8 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
markjcrane 1aa2547358 Fix a missing bracket from the last commit. 2016-05-07 16:15:15 -06:00
markjcrane eaadc99e88 To prevent all warnings for XML CDR Details check all arrays. 2016-05-07 12:28:07 -06:00
markjcrane 268f51132b Fix the warning on XML CDR details. 2016-05-07 11:48:46 -06:00
Alexey Melnichuk 937821da68 Fix. Do not populate invalid paths. (#1585)
Problem when `opendir($dir)` returns `false` and then
while cycle adds many empty strings which produce in the end
```
/etc/freeswitch/tls
/etc/freeswitch/tls/
/etc/freeswitch/tls//
/etc/freeswitch/tls///
/etc/freeswitch/tls////
/etc/freeswitch/tls/////
/etc/freeswitch/tls//////
/etc/freeswitch/tls///////
```
2016-05-06 09:28:10 -06:00
Alexey Melnichuk f1c31e0935 Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
reliberate 2307cef9c8 CDR: Fix PHP warnings regarding paging. 2016-05-05 13:54:17 -06:00
markjcrane f9e5ac74a6 Fix the problem with active call center displaying correctly. 2016-05-04 23:18:55 -06:00
markjcrane f3ef1154e2 Disable limit and offset when exporting CDR to CSV. 2016-05-04 22:35:05 -06:00
markjcrane 097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane 37e46ed2c9 After making changes to the IVR Menu flush memcache for the IVR. 2016-05-03 23:09:18 -06:00
Alexey Melnichuk 81b965496f Fix. Set all allowed extensions while default settings. 2016-05-02 23:59:47 -06:00
reliberate 5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane 17620586c4 Add a new xml_cdr_import.php and add limit and filter options to the xml_cdr.php class. 2016-05-01 17:44:53 -06:00
markjcrane 662ae4d986 Fix the dialplan import problem caused when checking if the array 'isset' one word was incorrect. 2016-05-01 08:21:15 -06:00
markjcrane 459f98ea14 Call direction outbound is set on the outbound route making it redundant and so removing it. 2016-05-01 08:08:30 -06:00
markjcrane 61a0dfe9f7 Improve the xml cdr class. 2016-04-30 00:33:35 -06:00
markjcrane 4427abbf52 Fix the warning for the interactive conference page. 2016-04-29 17:55:27 -06:00
markjcrane 1a6e8cd1c8 Check that the arrays exist for music on hold before using them. 2016-04-29 17:17:29 -06:00
markjcrane 4b6f4f3801 Make sure the array exists for the backup tool. 2016-04-29 17:13:36 -06:00
markjcrane 104d0a8584 Fix the access control list. 2016-04-29 17:01:04 -06:00
markjcrane 6d68c73f01 Verify that all arrays used in a foreach use isset for classes/dialplan.php. 2016-04-29 15:49:36 -06:00
markjcrane e80555091d Update the conference interactive permissions for the user group. 2016-04-29 10:31:03 -06:00
markjcrane 9500ce0d12 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-29 09:49:58 -06:00
markjcrane 9dd5667118 Change voicemail_id from text to numeric and remove the cast on voicemail_id. 2016-04-29 09:49:04 -06:00
FusionPBX 3e33a7c15c Merge pull request #1562 from moteus/display_long_extensions
Fix. Display long extensions (>9 digits)
2016-04-29 09:25:46 -06:00
markjcrane a87fbb058e Check to make sure the music on hold directory exists before trying to open it. 2016-04-28 22:36:55 -06:00
markjcrane 7efb8609a1 Check the whether the file exists before checking the size. 2016-04-28 22:23:15 -06:00
markjcrane 283e30b9fb Correct the str_to_named_array function so that the result is null. 2016-04-28 22:15:30 -06:00
markjcrane 5afd832204 Use isset on all arrays in call_center_active_inc.php. 2016-04-28 21:47:45 -06:00
markjcrane 47c18dc375 Check all arrays are set for the operator panel before using foreach. 2016-04-28 21:40:40 -06:00
markjcrane 2f48f47ba3 Check the array isset in active calls. 2016-04-28 21:29:54 -06:00
markjcrane 46dafa9660 Check to make sure directory does not exist before using mkdir. 2016-04-28 21:22:48 -06:00
markjcrane 471da2bca0 Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane 4e00ade9f8 Fix a filesize warning for provisioning using strlen instead. 2016-04-28 15:06:16 -06:00
FusionPBX d57a44ae23 Merge pull request #1557 from hcoin/fix-warnings
Mariadb 10.1, Freeswitch 1.6, Ubuntu Xenial LTS, Ldaps, warnings enabled, cli install/upgrade
2016-04-28 14:43:06 -06:00
Alexey Melnichuk a0c79a685a Fix. Display long extensions (>9 digits) 2016-04-28 14:37:58 +03:00
markjcrane 37f725d6ab Update the xml_cdr php class to get it operational. 2016-04-27 23:51:53 -06:00
markjcrane 0a039eb7b5 Add a new xml_cdr php class. 2016-04-27 13:24:59 -06:00
Harry G. Coin 2a070aff4f last fixes needed to support mariadb 10.1 2016-04-25 22:20:31 -05:00
Harry G. Coin cc553a70c5 Cleanups.
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined.  Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
Harry G. Coin f02028629a fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin 077059eeb1 Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
Harry G. Coin 1f9ad42543 include omitted column name, partial fix to support mariadb 10.1. 2016-04-25 20:44:30 -05:00
Harry G. Coin f7fdcde5df ensure the directory variable actually has a directory name. 2016-04-25 20:40:23 -05:00
Harry G. Coin bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
reliberate f1300d1ac6 Theme: Revert CSS change.
Contacts: Change email input field type to 'text' instead of 'email'.
2016-04-25 10:34:39 -06:00
markjcrane 386dcb0521 Minor change to contact edit. 2016-04-22 10:35:27 -06:00
markjcrane 85439ff62e voicemail_id is not guaranteed to be numeric so can't use the cast unless we protect against non numeric ids. 2016-04-19 14:05:12 -06:00
markjcrane a62123c3e3 Add the lan acl as a default again. 2016-04-19 00:21:52 -06:00
markjcrane 38922f6bc5 Restore the path to config.lua. 2016-04-16 00:44:10 -06:00
markjcrane 6b7513dcb0 Use the connect method in the constructor. 2016-04-16 00:27:24 -06:00
markjcrane 9c0c7dbfcf Get the db_type, db_username, db_password, and more using the constructor. 2016-04-16 00:21:01 -06:00
markjcrane 37e42ae754 Set the full path to the config.lua script. 2016-04-15 23:16:19 -06:00
markjcrane 44850f0246 Set the sciprt directory from the session variable. 2016-04-15 19:57:29 -06:00
markjcrane 29e3c2eda2 Get the database connection for save_phrases_xml.php. 2016-04-15 19:52:21 -06:00
markjcrane 4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane 317a47582e Update the scripts class. 2016-04-14 23:09:49 -06:00
markjcrane c2ecb23413 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane 3f5f268c15 Set extension summary to use GET instead of POST. 2016-04-14 21:11:05 -06:00
markjcrane 19f9bc58cd Remove the last contact_email field that was deprecated. 2016-04-14 20:13:40 -06:00
markjcrane 2d03d7f961 Update the extension summary in preparation to expand it further. 2016-04-14 15:08:16 -06:00
markjcrane 29ef9d4b6d Make the advanced -> command execute page more compact. 2016-04-14 14:50:06 -06:00
markjcrane c630449636 Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table. 2016-04-14 10:40:25 -06:00
Alexey Melnichuk 85454fbc9c Add. `allowed_extension` array to specify allowed files in email. 2016-04-14 17:38:33 +03:00
reliberate aeabb4a072 Misc: Fix datetimepicker on Time Conditions, CDR, Contact Times, etc.
Misc: Fix textarea height.
Theme: CSS adjustments to correct misc bugs.
2016-04-13 13:23:07 -06:00
FusionPBX 7961eb3b37 Merge pull request #1533 from moteus/dialplan_copy_check_str
Fix. Check string before build sql when do copy dialplan extension.
2016-04-12 12:40:01 -06:00
FusionPBX 68bbd8d0a4 Merge pull request #1541 from moteus/parse_imap_text
Improve mail parse
2016-04-12 12:39:37 -06:00
reliberate d423fa566d Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
reliberate a8d39d53fa Call Control: Fix wrapping when mini paging controls visible. 2016-04-08 11:00:58 -06:00
Alexey Melnichuk eb1a13fc23 Change. `parse_message` do full parse test and attachments.
Change. use only `text/plain` part to build front page.
Change. use only `attachment` but not `inline` files to build fax file.
2016-04-08 12:31:13 +03:00
reliberate 3da09fc000 Command: Disable Find/Replace control, not compatible with Bootstrap. 2016-04-07 15:20:06 -06:00
reliberate 6a0465609f Dashboard: Fix issue with Ring Group Forward not saving changes.
Misc: Restore/Fix some missing/botched HTML tags.
2016-04-07 14:14:32 -06:00
reliberate 798f94125f Theme: Integrate settings to customize the style of edit form tables (label, field, heading and row cells).
Editor: Prevent / (slashes) in clip name.
Dialplan Editor: Code cleanup, and minor adjustments for theme compatibility.
Functions: Add option to check_str() to skip string trim.
2016-04-07 12:00:19 -06:00
Alexey Melnichuk c9ba145f1d Fix. get text part of email message with single part email. 2016-04-07 13:11:24 +03:00
markjcrane f55c0c9ee3 Fix IVR Menu say and tone for long greeting. 2016-04-06 01:38:30 -06:00
markjcrane b8b1b0afb6 contact_group_uuid value is not working get the value from the database. 2016-04-06 00:39:27 -06:00
markjcrane 4431b99fc5 Fix the contact group delete button. 2016-04-06 00:33:52 -06:00
markjcrane e605cabc1a Fix assigning groups to contacts. 2016-04-06 00:27:57 -06:00
markjcrane 1476757605 Remove the lan access control list as its not needed by default. 2016-04-06 00:14:53 -06:00
markjcrane 0080578811 Update the script.php class use session event socket information for now. 2016-04-04 23:27:41 -06:00
markjcrane 7f082bdef3 Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
Alexey Melnichuk d15820f167 Fix. Check string before build sql when do copy dialplan extension. 2016-04-04 14:41:18 +03:00
markjcrane df9d78a11f Get the script_dir path from event socket. 2016-04-03 09:47:58 -06:00
markjcrane 194dccfd93 Use is_dir instead of check for the length of the stirng. 2016-04-03 09:36:27 -06:00
markjcrane 1bfbbdb262 Only write the scripts if the directory is set. 2016-04-03 09:29:37 -06:00
markjcrane 2156d17da8 Rename to the switch_settings class. 2016-04-02 20:11:51 -06:00
markjcrane b5fbf389dd Change the switch class to freeswitch. 2016-04-02 19:37:37 -06:00
markjcrane 51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 562f000356 Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category. 2016-04-02 17:53:51 -06:00
markjcrane 3ad26f1965 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
reliberate 4a4517a5ab Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
reliberate d73ea93a14 Voicemail: Show Add button even when no Voicemails exist.
Extensions: Integrate keyboard shortcuts (Ctrl+A to select all, Delete to delete checked).
2016-03-31 18:03:32 -06:00
reliberate 9cfedbf2e9 Function: Created key_press function to dynamically generate key detection javascript.
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
reliberate 34ab9676bb Editor: Add Default Setting descriptions. 2016-03-31 10:50:31 -06:00
reliberate 2836d5dda7 Editor: Create app_defaults to add related Default Settings. 2016-03-31 10:45:09 -06:00
FusionPBX 31c9fafc47 Merge pull request #1524 from moteus/extension_select_count
Fix. Display extension on MySQL.
2016-03-30 08:53:36 -06:00
reliberate a9a61105b3 SIP Profile Settings: Set paging at 200 records, add param. 2016-03-30 00:58:47 -06:00
markjcrane da0e54da44 Change some IVR Menu defaults as 0 is unlimited and 1 continues to the exit on the first error. 2016-03-29 21:10:43 -06:00
reliberate d853e357bd Dashboard, Call Routing, Ring Groups language file fix. 2016-03-29 16:36:39 -06:00
reliberate 7a1e3b7a0b Call Routing: More responsive layout, includes additional info in list view. 2016-03-29 16:28:17 -06:00
reliberate 94ed94f786 Ring Groups: Language file fixed. 2016-03-29 14:20:06 -06:00
reliberate a1dda766d8 Theme: Minor CSS tweaks.
Ring Groups: Rework forwarding controls - integrate into Dashboard view and Ring Group edit page.
2016-03-29 14:15:01 -06:00
Alexey Melnichuk 04a0349050 Fix. Display extension on MySQL.
Problem that
```SQL
select (select count(*) as num_rows ...)
```
is  not the same as
```SQL
select (select count(*) ...) as num_rows
```

I think problem may be on SQLite too.
2016-03-29 19:00:59 +03:00
markjcrane 6976624c67 Remove the cast on app/calls/calls.php to fix non-numeric extensions. 2016-03-29 03:49:41 -06:00
markjcrane b7ee8d69c3 Fix the problem with non-numeric extension causing an error. Not certain we will keep this method but its an interesting solution. 2016-03-29 03:42:24 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 5b97091e27 Theme: Add additional Settings to control the style of various elements, remove old css classes.
Default/Domain/User Settings: Add color previews in list view.
2016-03-28 22:29:15 -06:00
reliberate 2550d4b91d Language changes for last commit. 2016-03-28 18:07:02 -06:00
reliberate a03125fc53 Languages file for last commit (doh). 2016-03-28 17:58:19 -06:00
reliberate 0cb8ab5224 Theme: Replace image-based control icons with Bootstra Glyphicon buttons.
Voicemail Messsages: Added ability to toggle message status (saved/new).
2016-03-28 17:50:07 -06:00
reliberate 5793de2851 Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21:05 -06:00
reliberate 6fe526a22b Contact Timer: Replace PHP short tags. 2016-03-28 14:28:10 -06:00
reliberate 12967e6b67 Dialplan Edit: Style mods. 2016-03-28 09:57:03 -06:00
reliberate 403bcc5a2e Dialplan Edit: Disable text-overflow (for now). 2016-03-28 09:31:53 -06:00
reliberate 3f3956d345 Recordings/CDR: Fix audio playback and progress bar style. 2016-03-28 09:09:33 -06:00
reliberate 132df44989 Access Controls: Update layout/style. 2016-03-28 08:41:55 -06:00
reliberate 8c6b7deec1 Theme: Explicitly set file input class to be inline.
MOH: Revert last change.
2016-03-28 08:22:59 -06:00
reliberate 242059a777 MOH: Fix layout issue with file upload input and clear button. 2016-03-28 08:11:04 -06:00
reliberate d4acccae72 Call Routing: Improve order by - sort numerically. 2016-03-28 07:36:25 -06:00
Alexey Melnichuk 2e67edabbf Fix. Display extensions in order way 2016-03-28 11:54:47 +03:00
reliberate 95cf70bcd2 Import Contacts: Fix layout issue. 2016-03-27 03:00:05 -06:00
reliberate eb7f66e42e Command: Correct layout & styles. 2016-03-27 02:54:29 -06:00
markjcrane 2d6b3f3973 Change the app/emails/app_languages.php to UTF-8 encoding and used a spanish dictionary to fix the translations that were broken when converting file encoding. 2016-03-27 01:18:51 -06:00
markjcrane 6fa0cd2e2c Change the encoding type for app/emails/app_menu.php to UTF-8. 2016-03-27 01:10:29 -06:00
markjcrane 2107b2a1b5 Fix v_settings update sql command in app/settings/app_defaults.php. 2016-03-26 23:59:28 -06:00
markjcrane 4c1a5d6579 Remove agent_admin from call_centers/app_menu.php as it doesn't exist by default and causes an error. 2016-03-26 23:36:13 -06:00
reliberate d5c60df4fc Added: Bootstrap Framework - initial integration.
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -06:00
markjcrane bb4113e210 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-24 23:08:45 -06:00
markjcrane 4a31b2343e Change to the new context require renaming two variables to be consistent and to prevent a problem. 2016-03-24 23:08:23 -06:00
FusionPBX ddcb4cab28 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX d7b95e462b Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX f9096f9cf1 Revert "search selects" 2016-03-24 22:02:41 -06:00
FusionPBX e9904a03da Merge pull request #1497 from blackc2004/master
search selects
2016-03-24 21:56:20 -06:00
FusionPBX 26bc871c46 Merge pull request #1500 from moteus/provision_contact_sql
Fix. SQL text to query user contact in provision class
2016-03-24 21:44:32 -06:00
markjcrane a93902cfcc Fix some of the elements in the contacts array. 2016-03-24 21:43:03 -06:00
FusionPBX 51a1f88d94 Merge pull request #1502 from moteus/provision_contact_category
Fix. Export `contact_category` for provisioning template
2016-03-24 21:38:50 -06:00
markjcrane b11b98da52 Change sytnax from database["name"] to database.name in the config.lua. 2016-03-24 20:15:09 -06:00
markjcrane 7a4d698f1a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-24 15:02:30 -06:00
markjcrane 9249e1db9a On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH. 2016-03-24 15:02:04 -06:00
Alexey Melnichuk f59bc03c9d Fix. SQL in group contacts 2016-03-24 17:59:01 +03:00
Alexey Melnichuk 011d9a8322 Fix. Export `contact_category` for provisioning template
Add. Export `contact_type` and `phone_label` for provisioning template
2016-03-24 17:54:31 +03:00
Alexey Melnichuk f04ccb925a Fix. SQL text to query user contact in provision class 2016-03-24 15:54:29 +03:00
Alexey Melnichuk f7b7da0dd4 Fix. Display correct gateway name in URI on `Fax Active` page 2016-03-23 14:02:33 +03:00
markjcrane b14dbab82a Show both LAN and WAN IP in the registrations. 2016-03-23 00:14:30 -06:00
markjcrane e025cf3405 Replace the external ip with the internal nat ip address. 2016-03-23 00:07:50 -06:00
markjcrane 0427a5ac97 Re-add the time condition dialplan button label. 2016-03-22 23:52:37 -06:00
markjcrane 82c18e988b Time condition hide the group label as it uses too much vertical space and the group number is provided by default. 2016-03-22 23:39:23 -06:00
blackc2004 c2e1755931 search selects 2016-03-22 15:42:46 -07:00
markjcrane 024fd460bd Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-21 23:45:36 -06:00
reliberate 66bcb6e836 Editor: Fix Clip Library folder nesting, misc adjustments to Clip and File lists. 2016-03-21 16:01:44 -06:00
markjcrane 7b2fd68806 Add support for destination_number name to be customized on inbound routes. 2016-03-21 11:13:47 -06:00
reliberate 4bd2639fcf Dashboard: Enhance with priority numbers and additional System Count items.
Devices: Fix missing translation.
Voicemails: Fix missing translation.
2016-03-20 03:22:29 -06:00
markjcrane 36e5655242 Fix a minor display issue for contacts. 2016-03-19 21:57:37 -06:00
markjcrane ca3615466e Hide the IVR sub menus until they are ready. 2016-03-19 21:18:07 -06:00
markjcrane 0fcdca1db7 Correct the syntax for the app destinations array. 2016-03-19 19:59:52 -06:00
markjcrane e17c11f754 Update the IVR Menu class to make dialplan more modular. Add option for LUA or application IVR. 2016-03-19 19:06:06 -06:00
FusionPBX efe12b1f4f Merge pull request #1495 from blackc2004/master
fix some email stuff
2016-03-19 15:17:43 -06:00
reliberate aa44e02b32 Voicemail: Add bulk delete ability for Messages, instant saved indication when playing/downloading, and table row click to play.
Dashboard: Minor code cleanup.
2016-03-19 13:54:24 -06:00
reliberate 907f6cae9c Voicemail: Change 'View' link to 'Messages' instead. 2016-03-19 08:16:49 -06:00
reliberate 409afa0bed SQL Query: Removed.
Command: Integrate SQL Query functionality within Command app.
(Note: Permission and Menu modifications - please Restore Defaults)
2016-03-18 23:18:00 -06:00
blackc2004 4003ba170c fix some email stuff 2016-03-18 18:53:41 -07:00
reliberate 6797e7cb7e Command: Enable PHP syntax highlighting without opening/closing tags. 2016-03-17 17:33:33 -06:00
reliberate fed93fb2db Command: Fix bug with Ctrl+Enter to Execute. 2016-03-17 15:57:44 -06:00
reliberate e1d192b501 Command: Integrate new editor, include Clip Library. 2016-03-17 15:50:18 -06:00
markjcrane 08b4e3138c Add destination number regex and string_to_regex function. 2016-03-17 13:22:03 -06:00
reliberate 39bfec7aa2 Extensions: Added bulk delete.
Voicemail: Added bulk delete.  On delete, remove recordings folder, and voicemail_options, _destinations, and _greetings database records.
2016-03-16 18:48:42 -06:00
markjcrane 9cd30165d4 Change daylight_savings_start_date to daylight_savings_start_day as it is more accurate for representing the data. Add daylight_savings_start_time and daylight_savings_stop_time 2016-03-15 16:15:32 -06:00
markjcrane d1d041dc62 Update default settings add daylight_savings_start_month and date for the polycom templates. 2016-03-15 13:51:01 -06:00
markjcrane 8cc6bb09a6 Add polycom_digitmap to provision category in default settings. 2016-03-15 12:50:04 -06:00
markjcrane a5ce37ea03 Move contact_exists to a method in the provision class. 2016-03-15 12:22:57 -06:00
FusionPBX 13014903f5 Merge pull request #1489 from mafoo/Enhance-device_edit
Enhance device_edit
2016-03-15 03:12:57 -06:00
reliberate b503a127c9 User Dashboard: Restore Click-to-Call functionality. 2016-03-14 18:59:30 -06:00
mafoo d49d47bcf6 Enhance device_edit
tweaked fade in/out for files elements to make them fade in sync and out
in sync
fixed fadeIn for files button as attaching to the fadeout on select
seems to be broken
2016-03-14 16:14:27 +00:00
FusionPBX c21de89d51 Merge pull request #1459 from moteus/operator_panel_short_number
Fix. Use operator panel with short extension.
2016-03-11 13:38:18 -07:00
FusionPBX 6c8aa675a2 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
FusionPBX 45704a7707 Merge pull request #1469 from mafoo/WhitespaceClean-app/batch_2
WhitespaceClean-app/batch_2
2016-03-11 13:35:24 -07:00
FusionPBX ad3ea2d1a9 Merge pull request #1466 from mafoo/WhitespaceClean-app/sip_profiles
WhitespaceClean-app/sip_profiles
2016-03-11 13:27:38 -07:00
FusionPBX 1aa56e7bfa Merge pull request #1467 from mafoo/WhitespaceClean-app/xml_cdr
WhitespaceClean-app/xml_cdr
2016-03-11 13:25:49 -07:00
FusionPBX 17d433f12e Merge pull request #1460 from mafoo/Enhance-Add_mod_translate
added mod_translate to the modules list
2016-03-11 13:24:43 -07:00
FusionPBX ab3aaf51cb Merge pull request #1462 from mafoo/BugFix-Translation-True_False
BugFix-Translation-True_False
2016-03-11 13:24:13 -07:00
FusionPBX d312084d21 Merge pull request #1465 from mafoo/WhitespaceClean-app/dialplan
WhitespaceClean-app/dialplan
2016-03-11 13:22:02 -07:00
FusionPBX c1dfbae3ce Merge pull request #1464 from mafoo/WhitespaceClean-app/access_controls
WhitespaceClean-app/access_controls
2016-03-11 13:21:00 -07:00
markjcrane 961e527abb Change device_provision_enable to device_enabled to make it consistent with the rest of the fields that are used for to enable and disable something. 2016-03-11 11:46:02 -07:00
mafoo 6eed9935d4 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
mafoo 3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
mafoo 4131926b86 WhitespaceClean-app/xml_cdr
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:54:18 +00:00
mafoo 4b51565e9f WhitespaceClean-app/sip_profiles
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:51:17 +00:00
mafoo dda30766ec WhitespaceClean-app/dialplan
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:49:17 +00:00
mafoo 27438d8919 WhitespaceClean-app/access_controls
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:47:28 +00:00
mafoo 77c72c8d7c BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
reliberate 49bb6c1ded User Dashboard: Add blocks with additional customizable information (voicemail count, missed calls, recent calls, system counts, domain limits, and system status).
CDR: Adjust icon status and missed call filter to be more accurate, simplify User's view of CDR, add additional call result filter.
2016-03-10 16:29:47 -07:00
mafoo 8612897a03 added mod_translate to the modules list 2016-03-09 17:46:20 +00:00
Alexey Melnichuk 8b96881a5d Fix. Use operator panel with short extension.
Problem because if you have say 15 ext. and one of ext has say number `14`
and extension `14` has index 15 in array.
And php returns
```PHP
$a = array('14' => 'string', 14 => 'number');
print($a['14']); // number
``
2016-03-09 16:24:20 +03:00
markjcrane 8dd72afbd7 Add new default settings for http_auth_type, contact_extensions, contact_groups, and contact_users. 2016-03-07 21:35:38 -07:00
markjcrane a30b4662b4 Add http digest authentication and make it the default with an option to use basic if required. 2016-03-07 21:31:37 -07:00
markjcrane cc3c8f3c34 Add the contacts array to provisioning template to be used for the phone directory. 2016-03-04 18:37:01 -07:00
markjcrane 7763ece535 Fix indentation on the editor. 2016-03-04 13:18:30 -07:00
reliberate 39a31432ba User Dashboard: Minor layout optimizations.
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
reliberate 877c1e805d Call Center Agent: Prevent duplicate sip_invite_domain key/value insertion on Agent edit. 2016-02-29 22:54:24 -07:00
reliberate b6331f74a2 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-29 21:49:36 -07:00
reliberate 4db3c727ec Outbound Route: Set effective_caller_id_name to use Emergency CID Name when creating 911 route. 2016-02-29 21:46:13 -07:00
markjcrane 63fd267125 Add a call limit dialplan disabled for now. 2016-02-29 18:46:50 -07:00
markjcrane 03897edf95 Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces. 2016-02-29 09:24:05 -07:00
markjcrane f32d99377f If follow me is enabled then show it by default. 2016-02-26 14:35:58 -07:00
markjcrane e542a9aea3 Add a new permission follow_me_ignore_busy. 2016-02-26 14:13:32 -07:00
reliberate 3e658f56a4 Inbound Routes: Set column widths on form. 2016-02-25 18:45:27 -07:00
reliberate 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07:00
reliberate 7d6ef13fed Voicemail: Remove unnecessary echo. 2016-02-25 15:57:28 -07:00
reliberate 3b327be2dd Voicemail: Fixes to Greeting select box. Bypass browser password manager pop-up when saving. 2016-02-25 14:39:28 -07:00
reliberate 8da349c3e9 Voicemail: Provide a select box to choose a Greeting, instead of requesting the Greeting ID to be entered. 2016-02-25 12:06:45 -07:00
reliberate 05c7c909b6 Call Control: Hide Follow Me settings when not Enabled. 2016-02-25 11:16:36 -07:00
reliberate 92f61d91dc Edit: Allow selection of current file path. 2016-02-25 10:28:33 -07:00
reliberate da6b8b7c97 Call Control: Fix - Do not disable Call Forward On Busy and Call Forward No Answer when Do Not Disturb is enabled. 2016-02-25 10:03:08 -07:00
Alexey Melnichuk 1379c16e2e Fix. Works on php < 5.4.0 and short_open_tag=Off 2016-02-25 15:17:41 +03:00
reliberate dd07c65705 Edit: Customize defaults with Settings, add live preview on Mode and Font Size. 2016-02-25 01:19:24 -07:00
reliberate baf579c03e Edit: Added Find/Replace and Go To (Line) features in toolbar, rename Ace application folder. 2016-02-24 14:44:32 -07:00
reliberate da3112e0a5 Edit: root.php updated 2016-02-24 12:49:20 -07:00
reliberate 5ddd647875 Edit: Revamp using Ace editor (ace.c9.io). 2016-02-24 12:28:35 -07:00
markjcrane 48588d9ec3 Add domain_uuid to the CDR result set. 2016-02-23 19:42:10 -07:00
markjcrane 8b2cb82df7 If show all is used on the export then remove the domain name from the file name. 2016-02-23 19:33:16 -07:00
markjcrane c0ddb2d857 Add showall hidden option to the regular CDR search form. 2016-02-23 19:19:03 -07:00
markjcrane 3b035a46c1 Fix the SQL command when using the advanced search and improve security on how showall is being used. 2016-02-23 19:05:52 -07:00
markjcrane 7d5382ed6d Change a POST to a GET on the advanced search for CDR. 2016-02-23 18:15:07 -07:00
markjcrane 01a9438f4e Fix the checkbox on the show all for the advanced search. 2016-02-23 18:09:00 -07:00
markjcrane 7539244e49 Additional work to get the CDR to allow the show all to work with the regular search and advanced search. 2016-02-23 17:53:21 -07:00
markjcrane 6108009850 Allow admin access to the menu for dialplan -> destinations. 2016-02-23 11:10:27 -07:00
markjcrane 0a973bfd34 Add round brackets around the condition destination_number for inbound routes generated by destinations. 2016-02-22 14:28:45 -07:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 8cbdc86391 Device add Mitel line functions that match the Mitel web interface. 2016-02-19 11:11:56 -07:00
FusionPBX ea07e944a7 Merge pull request #1442 from moteus/acl_flush_memcache
Fix. Clear memcache after edit ACL.
2016-02-16 08:53:29 -07:00
Alexey Melnichuk cf290cdd68 Fix. Clear memcache after edit ACL. 2016-02-16 14:02:00 +03:00
blackc2004 ddd1e35185 fix if_permission 2016-02-15 11:19:18 -08:00
markjcrane 4757d0e9d6 Add ability to the acl.conf.xml to read a description attribute. 2016-02-14 03:09:55 -07:00
markjcrane fc255818c6 If the user is in the superadmin or admin group and user group it was preventing the fax_forward number from being updated. 2016-02-11 00:19:44 -07:00
markjcrane bc6d44a6c1 Fax add a way to change the inbound fax file name. 2016-02-10 21:44:03 -07:00
markjcrane 93d02e85af Fix the check to see if domain_name is not set. 2016-02-10 17:15:31 -07:00
markjcrane 7716a09f54 XML CDR - if the domain_uuid is not found then attempt to use sip_req_host to get the domain name. If domain_name and domain_uuid are still empty then add the CDR record with the domain_uuid as null so there is a record of the call. 2016-02-10 13:54:15 -07:00
FusionPBX 6e95b9b363 Merge pull request #1435 from skyeblueiscool/patch-1
Update follow_me.php
2016-02-06 23:06:01 -07:00
FusionPBX 7cc0be12d2 Merge pull request #1433 from mafoo/BugFix-conference_center_rooms
Fix for when a conference room has no admins
2016-02-06 15:42:29 -07:00
markjcrane ec1b77853d Change the category to provision for provision ntp_server_primary, and ntp_server_secondary. 2016-02-06 14:53:31 -07:00
skyeblueiscool 1524775135 Update follow_me.php 2016-02-05 16:47:36 -08:00
mafoo 5c1da9533e Fix for when a conference room has no admins
If a conference room had no admins it would become impossible to see it in the GUI
This fix makes it possible for a admin or super admin to view rooms in this state.
this uses a new permission "conference_room_view_all"
2016-02-05 09:47:42 +00:00
markjcrane 7bcb324e58 Fix a minor mistake. 2016-02-04 23:39:08 -07:00
markjcrane b4f9a1308e Hide memcache on the system status page if FreeSWITCH is not installed. 2016-02-04 23:28:23 -07:00
mafoo b231e0ff84 made it possible to find phrases
fixed string replace not taking out spaces aswell
2016-02-04 16:19:27 +00:00
mafoo 92894bb157 fix for incorrect destinations 2016-02-04 15:49:03 +00:00
mafoo 90e9b0a149 Corrected selected statements 2016-02-03 17:32:07 +00:00
FusionPBX aacaaeb4f0 Merge pull request #1425 from mafoo/BugFix-Phrases
Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid
2016-02-03 08:17:26 -07:00
mafoo 22fe132900 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
Alexey Melnichuk f91735367e Fix. Save instead of empty value path to recordings for some sound options. 2016-02-03 10:28:12 +03:00
Alexey Melnichuk 134f44e4d4 Fix. Path to records in music on hold. 2016-01-28 13:17:30 +03:00
markjcrane ceacd5f156 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-27 15:56:42 -07:00
markjcrane d65982cfac Add a new permission extension_user_record to control who is able to see extension record. By default superadmin has this permission. 2016-01-27 15:56:22 -07:00
FusionPBX 633f836c42 Merge pull request #1413 from mafoo/BugFix-Phrases
phrases should be written out as there uuid
2016-01-26 10:38:43 -07:00
mafoo f5d16aebbc phrases should be written out as there uuid
not the name.domain_uuid format
2016-01-26 17:34:44 +00:00
markjcrane efa9af2b16 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-25 21:27:37 -07:00
markjcrane 5172809a86 Add Cisco and Linksys to the format_mac list. 2016-01-25 21:27:21 -07:00
FusionPBX 1e27c45fd7 Merge pull request #1406 from moteus/modules_no_esl
Fix. Display modules form if FS does not start.
2016-01-25 21:18:22 -07:00
markjcrane cd58b105cb More work on user assigned contacts. 2016-01-25 20:38:45 -07:00
markjcrane 2e306568e4 Disable default settings -> call center path by default. 2016-01-25 10:24:09 -07:00
markjcrane 3f23406438 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-22 11:11:23 -07:00
markjcrane b9ec795704 Change Mitel Line 1-8 to Line only. 2016-01-22 11:02:25 -07:00
mafoo 6b3f79787d fix for when the element is not in the document yet 2016-01-22 11:51:58 +00:00
Alexey Melnichuk 36741f96cc Fix. Display modules form if FS does not start. 2016-01-22 13:05:13 +03:00
markjcrane 9d5c1314bf Move the php tag. 2016-01-21 23:33:03 -07:00
markjcrane 1829ee52a8 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-21 23:29:29 -07:00
markjcrane df1dc6b2bc Start the Mitel functions list. 2016-01-21 23:29:13 -07:00
Alexey Melnichuk ae243926ce Fix. Copy dialplan extension with correct `add_uuid` for outbound route. 2016-01-21 17:29:14 +03:00
markjcrane 8b1eff5793 Fix the provisioning class. 2016-01-20 12:26:01 -07:00
markjcrane 42ba38b98c Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-20 11:58:33 -07:00
markjcrane e97a3a242b Add device profile copy button. 2016-01-20 11:58:10 -07:00
FusionPBX 5815f95d4f Merge pull request #1397 from mafoo/Enhance-root.php
Enhance root.php
2016-01-20 11:06:18 -07:00
mafoo 7a974910be values were being assigned rather than compared 2016-01-20 13:44:36 +00:00
Mafoo 56b34c34ca changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
markjcrane 5efc4dd0b7 Add personal directory array for provisioning. 2016-01-19 22:14:02 -07:00
markjcrane 812856e92a Add a few more permission checks to conference_room_edit.php 2016-01-18 22:06:45 -07:00
markjcrane 0834f67911 Work on the permissions for contacts. 2016-01-18 21:46:49 -07:00
markjcrane 0689bedc48 Allow call forward and follow me to be setup when the extension is disabled. 2016-01-18 21:33:03 -07:00
markjcrane fe1c30c182 Remvove the shared option and update the contact description. 2016-01-18 18:30:22 -07:00
markjcrane 6e22de05e4 Move the contact user data to the correct table. 2016-01-18 17:51:32 -07:00
markjcrane 5a440891a9 Simply deleting contact users and groups. 2016-01-18 17:42:32 -07:00
markjcrane 3c626179f3 Add a missing bracket. 2016-01-18 16:55:26 -07:00
markjcrane 316274a258 Update permissions on contact_edit and add ability to delete a user that is assigned to the contact. 2016-01-18 16:53:19 -07:00
markjcrane 22d94764d3 Update the sql query that lists the assigned users to specific contacts. 2016-01-18 15:02:34 -07:00
markjcrane 37ed0f962c Fix the contact page layout. 2016-01-18 14:44:05 -07:00
markjcrane fbabf6706c Add the translations for Users, and add the new permissions. 2016-01-18 14:35:44 -07:00
markjcrane 2548a5d5e7 Add contact user list to contact_edit.php. 2016-01-18 14:17:59 -07:00
markjcrane c5d40cb305 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-18 14:15:36 -07:00
markjcrane 6eeaa99ccb Move the sql queries from the content in conference_room_edit.php 2016-01-18 14:15:21 -07:00
FusionPBX 9de5d3d21f Merge pull request #1396 from mafoo/Enhance-BugFix
Enhance root.php
2016-01-18 11:22:41 -07:00
Mafoo 87dbd6b428 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
markjcrane 505c1e6276 Assign the user that created the contact to the user that created it. When deleting a contact delete the user assigned to it. 2016-01-17 16:16:51 -07:00
markjcrane e9ff3523ec Add a new table v_contact_users. 2016-01-17 14:17:12 -07:00
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
markjcrane 7d2b10357f Set the mac address to lower case in a different location. 2016-01-16 12:02:32 -07:00
markjcrane 6388cdc538 Set the mac address to lower case. 2016-01-16 11:58:22 -07:00
markjcrane 74ba8f038e This doesn't appear to be completed. The developer that created should talk to me about what its purpose is as this seems to duplicate domain settings. 2016-01-16 10:33:46 -07:00
FusionPBX d298dad5cc Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -07:00
markjcrane 912e9dab28 Consolidate the SQL Queries for better performance. 2016-01-16 09:54:01 -07:00
markjcrane eb5842b74a Fix a problem with the provision url path which was caused by a pull request in the last 12 hours. 2016-01-16 09:44:15 -07:00
FusionPBX 6e2cc41caf Merge pull request #1139 from joernott/master
Allow provisioning with internal addressbook and update snom320 tpl
2016-01-15 22:45:32 -07:00
FusionPBX 40d6c3f601 Merge pull request #1385 from blackc2004/master
yealink remote phone book
2016-01-15 22:40:55 -07:00
FusionPBX 960de5f65a Merge pull request #1388 from mafoo/BugFix-Devices
BugFix to app/devices
2016-01-15 21:42:01 -07:00
blackc2004 937bd501cf Update 980_cidlookup.xml 2016-01-15 20:16:21 -08:00
markjcrane 7d5312520a Make the domain in MN_Generic.cfg dynamic. 2016-01-15 17:35:00 -07:00
markjcrane 4c5d644757 Mitel provisioning add MN_Generic.cfg and update the 5324 and 5340 templates. 2016-01-15 17:09:16 -07:00
Matthew Vale 93256a60ab changed protocol to match request 2016-01-15 13:43:10 +00:00
Matthew Vale 6999198492 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
markjcrane fca7beb7af If the call group or toll allow have a value set set selected. 2016-01-13 17:57:25 -07:00
markjcrane 9c5eb3faea Use call group singular instead of plural. 2016-01-13 16:40:26 -07:00
markjcrane b8d3ca338d Add an option for toll allow and call group select list. 2016-01-13 16:26:55 -07:00
blackc2004 526a20169e start of local extensions as remote phone book 2016-01-13 10:08:38 -08:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
markjcrane f0b57b1516 Add hangup to the destination select list. 2016-01-12 21:07:49 -07:00
markjcrane 274b18cebd Remove the round brackets as they are not needed with this dialplan. 2016-01-12 20:54:48 -07:00
markjcrane 8fd1f22418 Remove the line after ?> 2016-01-12 20:48:22 -07:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale 91e4d3af28 Added display of project root 2016-01-12 13:55:32 +00:00
Matthew Vale c8f55bf922 Initial changes to root.php
added new $_SERVER['PROJECT_ROOT'] that takes into account sub-dir detection
2016-01-12 13:55:27 +00:00
markjcrane 595f10ef2f Change array extensins to contact_extensions and add a new extension array. Remove trailing spaces. And add a new cisco 79xx directory called Our Phones. 2016-01-12 02:42:59 -07:00
markjcrane 9396d788b0 Set the mac address variable. 2016-01-11 07:58:57 -07:00
markjcrane 7bb49cce58 Change the vendor ID hex number to lower case and re-use prov object that already exists. 2016-01-09 11:50:49 -07:00
markjcrane 62c83ff03f Method get_vendor add vendor mitel and put them in alphabetical order. 2016-01-09 11:37:40 -07:00
markjcrane af92cdc744 Use the format_mac method in the provision class. 2016-01-09 11:22:10 -07:00
markjcrane 9f49e6537a Continued work on formatting the mac address for upper or lower case. 2016-01-09 11:10:37 -07:00
markjcrane 10f74f391e Device File download format the mac address file name according to the requirements of the vendor. 2016-01-09 09:52:27 -07:00
markjcrane abed276070 Add a missing keyword function. 2016-01-09 09:46:43 -07:00
markjcrane a2bfb8ff94 Add a new method call format_mac to make the code more reusable. 2016-01-09 09:43:14 -07:00
markjcrane 4149f0300d Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-09 09:29:53 -07:00
markjcrane ea4cdb9bd8 Set the mitel mac address to upper case. 2016-01-09 09:29:39 -07:00
Luis Daniel Lucio Quiroz 2fccf1c09e Bill the incoming call
wrong variable, use the correct one.
2016-01-08 23:44:06 -05:00
markjcrane 728e33bd68 Update the name of the dialplan. 2016-01-08 14:13:00 -07:00
markjcrane b1839f08e7 Add a dialplan for mod_cidlookup. 2016-01-08 14:05:59 -07:00
FusionPBX 6cb7477952 Merge pull request #1369 from blackc2004/patch-30
Update xml_cdr_search.php
2016-01-05 11:39:07 -07:00
FusionPBX e288318cf9 Merge pull request #1370 from blackc2004/patch-31
Update xml_cdr.php
2016-01-05 11:38:48 -07:00
FusionPBX 1aadcd7954 Merge pull request #1372 from blackc2004/patch-32
Update app_config.php
2016-01-05 11:38:08 -07:00
blackc2004 52e727ed54 Update emails.php 2016-01-05 10:21:55 -08:00
blackc2004 f539ce9a29 Update app_config.php 2016-01-05 10:20:12 -08:00
blackc2004 a307a63804 Update xml_cdr.php 2016-01-05 10:13:54 -08:00
blackc2004 e3d48040f5 Update xml_cdr_search.php 2016-01-05 10:12:39 -08:00
Matthew Vale 725876a0e8 Updated ring_group_forward for user dashboard
this is so the user_dashboard consistently shows the ring group name (as
used elsewhere to refer to a ring group)
2016-01-05 15:17:20 +00:00
markjcrane 5daf58be72 Using phrase uuid instead of the phrase name reason is this prevents the phrase from breaking when the phrase name is changed. 2016-01-04 17:16:14 -07:00
Alexey Melnichuk e51b97fdf2 Fix. Do not cast dialed number to int in `Operator Panel` app.
This make problems with numbers starting with `0` e.g. (001)
Also this makes problem with too long numbers which does not fit to int type.
2015-12-28 15:48:18 +03:00
Alexey Melnichuk 47871b1aa6 Fix. Use `text` class in fax_files.php 2015-12-25 11:48:17 +03:00
Alexey Melnichuk 8d8d8deceb Change. Reduce too long app data in active calls app.
Problem that when you have large app data (>7k in my case)
it takes over 2 pages to display only single channel.
2015-12-24 12:48:25 +03:00
FusionPBX e9f082deb5 Merge pull request #1340 from mafoo/Enhance-Intercept-Polycom
Intercept mode for Polycom
2015-12-22 21:14:38 -07:00
markjcrane 5da1286329 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
Matthew Vale f88a78efc7 Intercept mode for Polycom
first dialplan to be utilized as global="true" and
context="${domain_name}"
2015-12-21 14:03:57 +00:00
markjcrane 5e08c98840 Reduce the size of the SIP header by removing the sip_h_X-Tag if its needed the administrator can add it. 2015-12-21 03:02:52 -07:00
markjcrane aef0cb5c33 Move the access controls to the new resources/classes/text translation class. 2015-12-21 00:52:40 -07:00
markjcrane 8dd5cf74ab Comment out the translation procedural code for access_control_node_edit.php. 2015-12-21 00:48:42 -07:00
markjcrane 033e69b4ac Fix a problem with xml_cdr/app_languages.php. 2015-12-21 00:02:50 -07:00
markjcrane 3fc3e0114b Set the $db as a global variable in the class. 2015-12-20 22:54:08 -07:00
markjcrane 515d069f0e Use the system function for recursive copy. 2015-12-20 22:52:40 -07:00
markjcrane 7927102a16 Fix a problem caused with a search and replace on the correct_path method. 2015-12-20 22:50:33 -07:00
markjcrane 1f2a1b754e Add app/scripts to add a new scripts class and app_defaults to copy the lua scripts and write the config.lua. 2015-12-20 22:47:48 -07:00
markjcrane 836a41ddbb Minor adjustments. 2015-12-20 22:46:52 -07:00
markjcrane a940f9d3cb Add dialplan domain_uuid is null. 2015-12-20 01:46:30 -07:00
markjcrane 1d8a3b7f9a Fix the app/xml_cdr/app_languages.php and remove the include ot the import when viewing xml cdr. 2015-12-19 22:04:05 -07:00
markjcrane ba6efbbd6d Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-12-19 14:55:42 -07:00
markjcrane cac310a7dd Add ability to have global dialplan templates. 2015-12-19 14:55:28 -07:00
FusionPBX bd914ba376 Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
Matthew Vale 648a78329e migrates app/languages to fusionpbx/fusionpbx-apps 2015-12-18 16:29:04 +00:00
FusionPBX 77aacfcbfd Merge pull request #1332 from moteus/call_active_count
Add. Display number of active calls in title.
2015-12-15 21:35:04 -08:00
FusionPBX 8518cc98ca Merge pull request #1323 from moteus/xml_cdr_record
Fix. Display recording in CDR
2015-12-14 20:24:45 -08:00
markjcrane 2bb479c487 Fix the permissions onv the voicemail directory creation. 2015-12-14 13:11:47 -07:00
markjcrane 754ff8c891 Remove the echo in the app_defaults.php. 2015-12-14 12:58:40 -07:00
markjcrane 8e77a932f2 Add driectory structure for voicemail via app defaults. 2015-12-14 12:48:01 -07:00
Alexey Melnichuk 8078012c3f Add. Display number of active calls in title. 2015-12-14 14:41:00 +03:00
markjcrane 349f6df103 Remove an extra round bracket. 2015-12-12 10:34:52 -07:00
markjcrane c9b71cdbbc Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-12-12 10:32:31 -07:00
FusionPBX 9ecc81a604 Merge pull request #1326 from mafoo/Bugfix-app/system
patch for SunOS
2015-12-11 18:49:34 -08:00
Matthew Vale fdd1542b66 patch for SunOS
corrected collection of switch version during detect_switch
2015-12-11 14:57:14 +00:00
Alexey Melnichuk 7d5c5f1161 Fix. Play voicemail.
Copy from recordings.php
2015-12-11 16:40:49 +03:00
Alexey Melnichuk f53e8c80f3 Fix. Play/Download recordings 2015-12-11 15:53:05 +03:00
Matthew Vale 81b85c3caf Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Alexey Melnichuk d260964e8d Fix. Display recording in CDR 2015-12-11 10:46:51 +03:00
FusionPBX 5a0d25ff06 Merge pull request #1321 from blackc2004/master
CDR Stats changes
2015-12-10 17:24:24 -08:00
blackc2004 d107530cf2 extension download 2015-12-10 15:07:46 -08:00
blackc2004 034d6b05c9 remove print 2015-12-10 11:10:32 -08:00
blackc2004 0a08484546 CDR Stats Add ADV Search options request 1173
CDR Stats Add ADV Search options request 1173
2015-12-10 11:06:42 -08:00
blackc2004 2c2eabe3fe Merge pull request #2 from fusionpbx/master
test2
2015-12-10 08:17:05 -08:00
Matthew Vale cd8f1e6660 added switch git_info where available 2015-12-10 11:58:09 +00:00
Matthew Vale 45d9c2039d updated switch version detection
will now work with both git and packaged version numbers
added bits to detect_switch
2015-12-10 10:51:38 +00:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
Matthew Vale 81dafabc47 Remvoed tab for consistency 2015-12-10 10:11:45 +00:00
Matthew Vale fc9a45d313 Added initial version of app/languages
for analyzing missing or overlapping with global text
2015-12-10 10:04:35 +00:00
FusionPBX 031f0a6abd Merge pull request #1295 from moteus/fax_queue_greet_combobox
Add. Allows select greeting.
2015-12-09 16:26:43 -08:00
FusionPBX 18b922e505 Merge pull request #1296 from moteus/fax_queue
Fax queue web monitor
2015-12-09 16:25:29 -08:00
markjcrane db12c8ebe5 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-12-09 17:19:26 -07:00
markjcrane 1cd3ca4891 Get the MAC address from the Panasonic User Agent string. 2015-12-09 17:19:05 -07:00
FusionPBX cf0eb2cb33 Merge pull request #1304 from blackc2004/patch-18
Update devices.php
2015-12-09 15:01:08 -08:00
FusionPBX 7ee1c8c192 Merge pull request #1305 from blackc2004/patch-17
Update call_edit.php
2015-12-09 15:00:17 -08:00
FusionPBX 1a49281ac5 Merge pull request #1306 from blackc2004/patch-16
Update app_languages.php
2015-12-09 14:57:42 -08:00
FusionPBX cab006a151 Merge pull request #1307 from blackc2004/patch-15
Update app_config.php
2015-12-09 14:57:06 -08:00
FusionPBX 979e22d896 Merge pull request #1308 from blackc2004/patch-14
Update 010_user_exists.xml
2015-12-09 14:55:43 -08:00
FusionPBX ccbe891b5d Merge pull request #1309 from blackc2004/patch-20
Update extension.php
2015-12-09 14:55:13 -08:00
FusionPBX 3c9d39db1b Merge pull request #1311 from blackc2004/patch-22
Update app_languages.php
2015-12-09 14:53:51 -08:00
FusionPBX d52c6bd34e Merge pull request #1312 from blackc2004/patch-23
Update xml_cdr_inc.php
2015-12-09 14:53:25 -08:00
blackc2004 1d986f1b85 test 2015-12-09 14:44:22 -08:00
blackc2004 4072e8bbfe Update xml_cdr_search.php 2015-12-09 14:09:12 -08:00
blackc2004 9d437340b6 Update xml_cdr_inc.php 2015-12-09 14:08:33 -08:00
blackc2004 de8d05bad4 Update app_languages.php 2015-12-09 14:07:58 -08:00
blackc2004 52bd6a1029 Update extension.php 2015-12-09 14:04:26 -08:00
blackc2004 492ea21445 Update devices.php 2015-12-09 14:01:35 -08:00
blackc2004 0f718c8d08 Update call_edit.php 2015-12-09 14:00:44 -08:00
blackc2004 203d868429 Update app_languages.php 2015-12-09 14:00:13 -08:00
blackc2004 9a1d650532 Update app_config.php 2015-12-09 13:59:43 -08:00
blackc2004 c092ebacd2 Update 010_user_exists.xml 2015-12-09 13:59:15 -08:00
markjcrane c9fee6c080 Add the ${ and } to user_exists so that it works with the condition. 2015-12-09 12:10:31 -07:00
markjcrane 8f3f2040a7 Remove the self closing tag on the local_extension condition. 2015-12-09 12:05:20 -07:00
Alexey Melnichuk ed781fc8c3 Fix. forgotten images. 2015-12-09 13:51:25 +03:00
Alexey Melnichuk b638967f01 Fix. Use `Test` interface to translate UI. 2015-12-09 13:37:32 +03:00
Alexey Melnichuk ace38f5a6a Add. Allows select greeting. 2015-12-09 13:21:37 +03:00
Alexey Melnichuk df8da0f5ce Change. `Send` button redirect to `Active` page. 2015-12-09 13:00:42 +03:00
Alexey Melnichuk 0805ad4c18 Merge branch 'master' into fax_queue 2015-12-09 12:37:55 +03:00
markjcrane 4bf86da641 Remove the default context from one more location. 2015-12-08 22:32:11 -07:00
markjcrane 98777ef728 Remove code that was commented out a while ago. 2015-12-08 22:15:21 -07:00
markjcrane 532e01b5c0 Remove count($_SESSION["domains"]) > 1 from the as the domain name should always be part of the fax directory path. 2015-12-08 21:59:09 -07:00
markjcrane fb1e3e29f1 Add tabbing to parse_attachments.php. 2015-12-08 21:57:18 -07:00
markjcrane 36e546adcb Remove the destination number condition and exchange the $1 for the destination_number variable. 2015-12-08 09:13:56 -07:00
Alexey Melnichuk 66d0f060ce Add. Ability to delete fax queue element 2015-12-08 16:42:13 +03:00
Alexey Melnichuk 7e715879f8 Add. Web UI to monitor for fax queue. 2015-12-08 16:16:54 +03:00
Alexey Melnichuk d28ca0c7ae Merge branch 'master' into fax_queue 2015-12-08 16:11:58 +03:00
markjcrane 925feb06a1 Add user_exists condition to local_extension to compensate for the fact we allow dialing an extension based on a non numeric username. 2015-12-07 22:09:27 -07:00
markjcrane ebc9b41c4a Add ^.*$| to local_extension to support dialing non numeric usernames. 2015-12-07 21:45:24 -07:00
markjcrane 29f844bf12 Fix the call center agent contact string include the domain by adding the sip_invite_domain with the domain name. 2015-12-07 18:02:56 -07:00
Matthew Vale 2c369260fc added freeswitch version when retrievable 2015-12-07 17:38:54 +00:00
Matthew Vale 8d62c96ef7 use $git_path to determine if it is a git install 2015-12-07 17:37:41 +00:00
Matthew Vale 950788b92e changed label to text[*] 2015-12-07 17:32:20 +00:00
Alexey Melnichuk 14687ba29b Merge branch 'master' into fax_queue 2015-12-07 10:29:47 +03:00
markjcrane 1077234745 Add the semi colon to the GIT labels. 2015-12-06 14:01:05 -07:00
markjcrane e484d9758b Add missing translation labels and remove the quotes arounds the GIT values. 2015-12-06 13:57:56 -07:00
markjcrane 9b9c98995a Get rid of the abbreviation its recommended to use the full name in the variable unless it makes it really long in order to make the code easier to read and more intuitive. 2015-12-06 13:51:19 -07:00
markjcrane cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
markjcrane c7ce4dade0 Change how the app_uuid is handled on device copy. 2015-12-06 10:26:10 -07:00
markjcrane c02713a3bd Use set and unset instead. 2015-12-06 10:13:22 -07:00
markjcrane c788b8873e Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-12-06 10:02:42 -07:00
markjcrane 85f84e0ef6 Create a new app_uuid when creating a dialplan however when copying a time condition, inbound and outbound route keep the original app_uuid. 2015-12-06 10:02:24 -07:00
FusionPBX 444a375757 Merge pull request #1281 from mafoo/Enhance-app/system
Add git information to system info
2015-12-06 07:43:21 -07:00
FusionPBX d8f8346314 Merge pull request #1280 from moteus/fax_path_domain_name
Change. Use path with domain name for faxes for single tenant installation.
2015-12-04 11:44:33 -07:00
Alexey Melnichuk f01439a2bb Fix. send fax by user listed in fax server list 2015-12-04 21:14:33 +03:00
Alexey Melnichuk 03ac859381 Merge branch 'send_fax_by_user' into fax_queue 2015-12-04 21:10:17 +03:00
Alexey Melnichuk 5b1fef316a Fix. send fax by user listed in fax server list 2015-12-04 21:09:25 +03:00
Matthew Vale 0be63dff0e Add git information to system info 2015-12-04 12:18:11 +00:00
Alexey Melnichuk c543c42ffa Change. Use path with domain name for faxes for single tenant installation. 2015-12-04 12:57:30 +03:00
markjcrane a62cafb402 Update the provision file download to work with domain filter set to false. 2015-12-03 10:29:33 -07:00
FusionPBX 6c10eaf21a Merge pull request #1271 from mafoo/Enhance_Install
Enhance install based on feedback
2015-12-02 10:22:44 -07:00
Matthew Vale 4d62a36e1c restructured install to go via global_settings
added new global_settings to marshal settings used during a
install/upgrade
2015-12-02 11:16:25 +00:00
markjcrane 5d2c76b7e2 Seperate Cisco 7940/7960 from Cisco SPA so that both can work with check-sync for reboot and reprovision. 2015-12-01 21:12:52 -07:00
markjcrane 906cb13145 Add check-sync support for Linksys SPA. 2015-12-01 20:48:47 -07:00
markjcrane 5a1c21e0fa Change the default North America outbound route regular expression to be more precise. 2015-12-01 13:50:11 -07:00
Matthew Vale f0e2e8d735 Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install
Conflicts:
	core/install/resources/classes/install_fusionpbx.php
2015-12-01 16:21:10 +00:00
Matthew Vale 82a31894d5 added event_socket_* detection change in app_defaults 2015-12-01 13:36:13 +00:00
markjcrane 8b3e6e7a96 Fix the mode definition for the Grandstream expansion keys. 2015-11-30 13:09:02 -07:00
Alexey Melnichuk a4b126785a Add. Translate to email2fax type message. 2015-11-30 14:54:39 +03:00
Alexey Melnichuk 5339e39db8 Add. Send reply message after fax task done. 2015-11-30 11:57:09 +03:00
markjcrane 918cc484cb Set the mac address to lower case. 2015-11-28 20:08:24 -07:00
markjcrane 1a46a38c04 Add option to get the mac address from &name=SEPxxxxx 2015-11-28 19:48:45 -07:00
markjcrane 4d7688a3ef Add a missing = so that the file is only provided as a download when the content type is set to application/octet-stream in the url. 2015-11-28 19:15:29 -07:00
markjcrane 6d3494fff9 Add the contact_category to contacts array in the provision class. 2015-11-28 18:29:15 -07:00
markjcrane 03f9843cb9 Fix the provision path. 2015-11-27 14:10:49 -07:00
markjcrane c4ec6c0a93 Add the additional language variables to app_languages.php. 2015-11-27 11:25:50 -07:00
markjcrane 7c275f54af Add domain_uuid is null to the dialplan class similar to how already done in the ring_groups/index.lua. 2015-11-27 11:25:06 -07:00
markjcrane 89c2f4ecb5 Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid. 2015-11-25 08:51:54 -07:00
FusionPBX b562c4e5ec Merge pull request #1251 from moteus/fax_queue
Fax queue
2015-11-25 07:37:28 -08:00
markjcrane 299f2500e4 Add ability to download the provisioning files from the device edit page for those users that have the device_files permission. 2015-11-25 00:10:49 -07:00
Alexey Melnichuk d2f0d65842 Fix. Update language file. 2015-11-23 16:33:43 +03:00
Alexey Melnichuk 9f59353061 Change. Use function to deal with fax_queue in fax_send.php. 2015-11-23 14:57:44 +03:00
Alexey Melnichuk 64f91c3ed2 Fix. Poll several mail at once.
Problem causes by fax_send.php which change current dir and second call can not finding libraries.
2015-11-20 15:22:09 +03:00
Alexey Melnichuk 2f88d1d985 Fix. Decode email message from quoted-printable/base64.
Fix. Allow set custom fonts to support non latin alphabet.
2015-11-20 14:45:06 +03:00
Alexey Melnichuk b95410387e Merge branch 'master' into fax_queue 2015-11-20 11:00:44 +03:00
Alexey Melnichuk b3cc3a8887 Add. Supports MySQL/SQLite to fax queue. 2015-11-20 10:38:51 +03:00
markjcrane 748e286ae9 Add style white-space: nowrap; to destination edit. 2015-11-19 22:42:33 -07:00
markjcrane 13725701cf Time condition fix alignment of the arrow button by adding style nowrap and 3 pixel padding. 2015-11-19 22:32:34 -07:00
FusionPBX 88d1c250b5 Merge pull request #1244 from mafoo/BugFix_Provision
BugFix + Optional Enable extensions appear in directory
2015-11-19 09:40:27 -08:00
FusionPBX bc37dd18d7 Merge pull request #1245 from mafoo/Enhance-Sip_Profiles
Enhance sip profiles
2015-11-19 09:17:22 -08:00
Matthew Vale 18c7a500b7 Bugfix 2015-11-19 14:57:47 +00:00
Matthew Vale 850a1af0c0 Added more ringer types
corrected reference to ssl dir to use $conf_dir
moved countries list out to its own file so it can be maintained easier
(and used by other apps)
2015-11-19 14:54:04 +00:00
Matthew Vale 116298f721 Added External IPv6 support
created the external IPv6 profile
2015-11-19 13:57:23 +00:00
Matthew Vale 8505605202 BugFix + Optional Enable extensions appear in directory
BugFix to respect http_domain_filter when auto creating
setting provision> directory_extensions populates $extensions as a
contacts array in provisioning
2015-11-19 13:17:01 +00:00
Alexey Melnichuk 2aff851929 Fix. fax_emails.php relay on number cleanup in fax_send.php 2015-11-19 14:48:41 +03:00
Alexey Melnichuk c146f9fc4f Add. Allow specify DTMF in parentheses in phone number.
E.g. `123456 (PP789)`
2015-11-19 14:30:06 +03:00
Alexey Melnichuk aaa333eda1 Fix. Use fax_send_mode option in fax_send.php file. 2015-11-19 13:13:47 +03:00
Alexey Melnichuk ed13cbc5ff Fix. Display description as last item on fax_server page 2015-11-19 12:36:35 +03:00
Alexey Melnichuk 17f435fb22 Add. Web UI to configure fax_queue. 2015-11-18 15:37:41 +03:00
markjcrane 4b8e61b094 Fix the call center dialplan creation when adding a call center queue. 2015-11-14 20:18:31 -07:00
markjcrane 75b2742fbf Correct the consistency of the indentation. 2015-11-14 17:56:20 -07:00
markjcrane 2a90eb7926 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-11-14 17:18:58 -07:00
markjcrane 8273ba4e59 Fix call center queue delete. 2015-11-14 17:18:32 -07:00
FusionPBX 057b358f12 Merge pull request #1235 from moteus/fax_send
Fix. multiple calls fax_send caused error.
2015-11-13 09:17:09 -07:00
markjcrane 7581e81522 Add the additional key types to the device key profile. 2015-11-12 19:27:29 -07:00
markjcrane ffe25a3d2e Polycom key type capitalize the first letter of Automata and Normal. 2015-11-12 19:11:31 -07:00
markjcrane c13ed1323f Add additional Polycom key types. 2015-11-12 16:40:02 -07:00
Alexey Melnichuk 4fde7dfc80 Fix. multiple calls fax_send caused error.
Fix. require EventSocket implicitly.
Fix. require `test` class.
2015-11-12 14:00:01 +03:00
FusionPBX a073220e8f Merge pull request #1228 from mafoo/Bugfix-destination_edit
Bugfix destination_edit.php
2015-11-09 07:53:35 -07:00
Matthew Vale 6339a7363d missed none when pasting new code 2015-11-09 11:49:09 +00:00
Matthew Vale 1fd61fb37e Bugfix for destinations_edit.php
the tr_fax_detecion segment is optional so causes the onchange_type javascript to stop when it can't find it.
2015-11-09 11:47:15 +00:00
markjcrane 4463016efe Secure the device mac address when the user doesn't have permission to change it. 2015-11-05 12:25:30 -07:00
markjcrane 5346599c00 Show device copy when user has device_add permission. 2015-11-05 12:11:53 -07:00
markjcrane db79cfbc30 Move the description inside the permission condition and adjust 2 of the permissions. 2015-11-05 12:05:49 -07:00
markjcrane 242ad7bc16 Add new device permissions for mac address, template, label, vendor, model, firmware, and description. 2015-11-05 11:56:50 -07:00
markjcrane 2ffd50dc81 Fix the syntax by adding a missing ). 2015-11-05 11:24:28 -07:00
markjcrane 722e442703 Add new device permissions device_username_password, device_alternate, device_enable. 2015-11-05 11:19:22 -07:00
markjcrane e888f1d1ff Add the provision.path.text to default settings. 2015-11-04 20:01:11 -07:00
markjcrane 98bec06c59 Change switch.provision.dir to provision.path.text. This indicates where to save the provisioning files on the file system. 2015-11-04 19:59:27 -07:00
Matthew Vale fbc9488c05 added England bank holidays
currently it is not possible to integrate floating days (Christmas falling on a Sunday causing Tuesday to become holiday)
or Easter, as it isn't a fixed rule for what day
2015-11-03 15:15:33 +00:00
Matthew Vale f70266d669 bugfix when retrieving region 2015-11-03 14:34:29 +00:00
Matthew Vale 81a5fc0db1 initial rewrite of time_conditions 2015-11-03 14:23:52 +00:00
FusionPBX 63a9865c5f Merge pull request #1176 from moteus/callcenter_config_clear_cache
Fix. Clear the cache when callcenter config changed.
2015-11-03 03:17:26 -07:00
Matthew Vale c47908f4e4 corrected references to voicemail_dir
changed from $_SESSION['switch']['storage']['dir'].'/voicemail/' to correctly use $_SESSION['switch']['voicemail']['dir']
added missing storage_type to app_defaults.php
2015-11-02 17:22:13 +00:00
FusionPBX ee8166d918 Merge pull request #1210 from blackc2004/patch-8
Update extension_edit.php
2015-10-30 09:37:23 -06:00
FusionPBX b829588746 Merge pull request #1211 from blackc2004/patch-7
Update app_languages.php
2015-10-30 09:36:55 -06:00
FusionPBX e8d95a94e3 Merge pull request #1212 from blackc2004/patch-6
Update app_config.php
2015-10-30 09:36:30 -06:00
blackc2004 cdb016277d Update extension.php 2015-10-29 12:24:55 -07:00
blackc2004 292b754cb1 Update extension_edit.php 2015-10-29 12:24:24 -07:00
blackc2004 e2c3717556 Update app_languages.php 2015-10-29 12:23:49 -07:00
blackc2004 3c4a7744e4 Update app_config.php 2015-10-29 12:22:40 -07:00
markjcrane 76994ded8a Update translation for de-at. 2015-10-29 09:43:57 -06:00
markjcrane 8db9682002 Call forward presence ignore busy use a radio button to be uniform with the rest of the page. 2015-10-28 17:39:16 -06:00
markjcrane 1a9bf9920d Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-10-27 16:32:33 -06:00
markjcrane d066049d48 Remove user group from call block until there is per extension call block. 2015-10-27 16:32:20 -06:00
FusionPBX c04bbde2d1 Merge pull request #1206 from moteus/call_control_caller_id
Fix. Use same Outbound Caller info in extenstion and call control.
2015-10-26 12:05:04 -06:00
markjcrane 5eb280423c Move the time condition group to a location to make better use of the vertical space. 2015-10-24 18:55:24 -06:00
markjcrane 38d9245fc8 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-10-24 16:39:37 -06:00
markjcrane ce8175782d Remove the redundant public condition from the inbound route. 2015-10-24 16:39:22 -06:00
FusionPBX 0186d9b6b5 Merge pull request #1203 from badcrc/master
Add. Ability to order the time conditions
2015-10-24 14:37:07 -06:00
markjcrane afbcc01111 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-10-23 15:24:10 -06:00
markjcrane 5c1d1ff05a Change the paging extension_list to destinations. 2015-10-23 15:23:55 -06:00
Alexey Melnichuk 3db89f6c91 Change. Allow use destination number as Outbound CallerID number for extension. 2015-10-23 15:05:24 +03:00
Alexey Melnichuk bce90dfc55 Change. Use `destination_caller_id_number` as call follow_me caller id. 2015-10-23 14:55:48 +03:00
Alexey Melnichuk 0d72051acc Change. Use `destination_caller_id_number` as call forward caller id.
This is same value which uses by `Outbound CallerID Number` for extension.
2015-10-23 14:40:29 +03:00
Alexey Melnichuk 1469112f2c Fix. Extension link on contact edit page. 2015-10-22 16:26:41 +03:00
koldoa 13c9c5df31 Languages updates 2015-10-22 10:59:50 +02:00
koldoa 8eaa0f5122 More Formatting 2015-10-22 10:58:45 +02:00
koldoa 939c6e31b5 Formatting 2015-10-22 10:54:19 +02:00
koldoa f11d6f0e09 Ability to order the time conditions 2015-10-22 10:45:57 +02:00
markjcrane b518a3ff87 Change the way null last is done for Postgres. 2015-10-20 02:05:03 -06:00
markjcrane 0f434652cd Contacts oder by last mod date null last. 2015-10-20 01:53:23 -06:00
markjcrane 6ee9b8f6cc Order contacts by last modified date by default. 2015-10-20 01:39:54 -06:00
markjcrane d11f0e6c5c Fix the follow me app_config.php. 2015-10-19 21:58:23 -06:00
markjcrane af64f66cc7 Fix a null error and translation for select option voicemail. 2015-10-19 20:58:16 -06:00
markjcrane c22b64433c Fix the Contact CSV import so it will import the phone number. 2015-10-19 20:37:13 -06:00
markjcrane 5d3ecc30c8 Add hold music option and update the call_block dialplan. 2015-10-19 18:30:55 -06:00
markjcrane 4d9865c8f0 Prevent overwriting the call block number when updating the number. 2015-10-19 17:35:09 -06:00
markjcrane f91622f918 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-10-16 16:53:59 -07:00
markjcrane f3ccf63a0a Remove the exit on the dialplan destination edit. 2015-10-16 16:52:58 -07:00
koldoa 2d5bce9481 Changed readdir to scandir so we can get sorted template names 2015-10-16 15:04:31 +02:00
markjcrane d32e53395f Fix a bug with outbound routes back button. 2015-10-12 14:25:01 -07:00
markjcrane 3ee03fa844 Fix the gateways list so it displays the hostname in the right place. 2015-10-04 10:50:05 -06:00
markjcrane 58edf1613d Add h hostname to option for the gateways. 2015-10-04 01:29:03 -06:00
markjcrane 876516e307 Force the device_key_vendor to lower case so the key vendor can be case insenstive. 2015-10-02 23:39:12 -06:00
markjcrane f64e96c4c6 Remove absolute_codec_string='PCMU,PCMA' as it failed to allow PCMA. 2015-09-30 20:56:59 -06:00
markjcrane dfc19a954d Set content lenght to prevent chunking when providing HTTP 401. This should fix Yealink provisioning for the new firmware changes. 2015-09-29 14:28:48 -06:00
Alexey Melnichuk 87441198b1 Fix. Clear the cache when callcenter config changed. 2015-09-28 12:10:31 +04:00
markjcrane 01d4219e1a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-26 09:00:11 -06:00
markjcrane 8f93d4d548 Dialplan page add mute=true back again. 2015-09-26 08:56:44 -06:00
FusionPBX 71f52cb3f5 Merge pull request #1169 from rdissauer/fix/provision-domain-filter-off
fixed provisioning with http_domain_filter off
2015-09-24 15:30:54 -06:00
FusionPBX a8d6c50d4b Merge pull request #1167 from rdissauer/translations
latest german translations
2015-09-24 15:21:46 -06:00
FusionPBX 1ea1c55a6b Merge pull request #1170 from rdissauer/feature/high-res-img
prepared img tag for high resolution (retina) images
2015-09-24 15:21:24 -06:00
roman.dissauer 4510176039 latest german translations 2015-09-24 09:48:42 +02:00
roman.dissauer 442c760f04 fixed provisioning with http_domain_filter off 2015-09-24 09:38:26 +02:00
roman.dissauer 590a8e6505 prepared img tag for high resolution (retina) images 2015-09-24 09:31:52 +02:00
markjcrane d6b088553a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-22 18:36:23 -06:00
markjcrane 17f0c8db5f Add comment out the hidden field for now. 2015-09-22 18:36:09 -06:00
markjcrane b9b08218ef Comment out unset autocomplete for the moment. 2015-09-22 18:35:20 -06:00
FusionPBX 6164fad765 Merge pull request #1161 from moteus/cdr_detail_showall
Fix. Show CDR details when set `showall`
2015-09-21 09:13:43 -06:00
markjcrane 4107bd0826 Another case where automcomplete bombs. Accounts -> Extensions password is used for registration not for a login. In FusionPBX if the password is left empty it would automatically create a new password. However auto complete instead puts in the login password this is an undesirable bug that this update fixes by adding a honey pot for the password. 2015-09-19 18:19:23 -06:00
markjcrane e24e62e6f1 Fix the removal of the autocomplete field. 2015-09-19 18:13:15 -06:00
markjcrane 315f38d671 Another situation where autocomplete=off prevented a bug. Provisioning a devcie by adding sip registration information for device provisioning in this case autocomplete always fills in incorrect information. 2015-09-19 17:59:07 -06:00
Alexey Melnichuk 9f96c9f6a3 Fix. Show CDR details when set `showall` 2015-09-18 12:04:52 +04:00
markjcrane 852353605e Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-14 19:08:27 -06:00
markjcrane a02fae42bc Fix the redirect for the ACL. 2015-09-14 19:08:06 -06:00
FusionPBX 36a7d342b0 Merge pull request #1146 from badcrc/master
Random ring groups
2015-09-14 10:38:18 -06:00
markjcrane 5115f74c32 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-09-09 10:02:43 -06:00
markjcrane 2fe5029223 This will hide outbound route toll allow lua from those wihtout the outbound_route_toll_allow_lua permission. This feature works only for countries that are hard coded in the toll allow code. So at this time preferred method of toll allow is via the dialplan. 2015-09-09 10:01:00 -06:00
FusionPBX d773036377 Merge pull request #1150 from moteus/save_disabled_forwadd_number
Fix. Allow change Call Forward number without enable it.
2015-09-09 09:32:22 -06:00
Alexey Melnichuk cc73ae68c9 Fix. Allow change Call Forward number without enable it. 2015-09-09 16:26:41 +04:00
markjcrane 946012d023 Fix DND use error/user_busy instead of loopback/*99[extension] 2015-09-08 14:12:01 -06:00
markjcrane 4043d1c48b Remove v_conference_center_users as v_meeting_users was used instead. 2015-09-07 14:52:15 -06:00
koldoa 99e66d5bfc This should fix some of the group permissions issues from issue #1065 2015-09-07 10:47:57 +02:00
koldoa 15f3cd5514 Translation typo 2015-09-07 08:33:34 +02:00
koldoa 7a65bf2148 Random strategy for ring groups 2015-09-07 08:33:34 +02:00
markjcrane a0c1fc2cb0 Make the destinations more consistent. 2015-09-04 23:23:15 -06:00
markjcrane 3b99f0d09c Count the destinations. 2015-09-04 23:18:13 -06:00
markjcrane 7bd5f9a1ba Add extension count. 2015-09-04 23:12:36 -06:00
markjcrane 971aef9b80 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 0c43e85123 Add a fax server count. 2015-09-04 22:59:13 -06:00
markjcrane 0d8cb2c36d Add count to voice mails and voice mail messages. 2015-09-04 22:38:48 -06:00
markjcrane 3731eb9190 Move the includes in devices. 2015-09-04 22:23:01 -06:00
markjcrane 675c85b85e Add device count. 2015-09-04 22:19:11 -06:00
markjcrane 808846ebca Change the format to display the count. 2015-09-04 22:06:09 -06:00
markjcrane 650e091891 Show the number of users and move the registration count to the front. 2015-09-04 21:51:51 -06:00
Jörn Ott 66425ae25c Allow provisioning with internal addressbook and update snom320 template for it 2015-09-03 15:57:57 +02:00
markjcrane d3a1e48c18 Set inline to false. 2015-09-02 20:49:36 -06:00
markjcrane 51b4c94413 Disable inline for limit in the local_extension dialplan. 2015-09-02 20:31:02 -06:00
markjcrane 6686876fb0 Set HTML autocomplete="off" for the device line username and password. 2015-09-01 01:47:44 -06:00
markjcrane 29ee23b2d6 Add lan example to access controls. 2015-08-25 15:01:50 -06:00
markjcrane 387e9c0287 Make sure access controls is not empty. 2015-08-25 14:52:19 -06:00
markjcrane 4836f5cf7c Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-25 11:58:17 -06:00
markjcrane 514fd37672 Fix the extension device list. 2015-08-25 11:57:59 -06:00
FusionPBX 352a9b087c Merge pull request #1127 from moteus/status_of_valid_profile
Fix. Display only profiles which related to specific FS.
2015-08-25 11:56:16 -06:00
FusionPBX 13c50c151d Merge pull request #1126 from moteus/status_global_gateways
Fix. Display names for global gateways on SIP Status page.
2015-08-25 11:55:19 -06:00
Alexey Melnichuk 55e3563191 Fix. Escape hostname string. 2015-08-25 16:49:56 +04:00
Alexey Melnichuk 65d1a77f7f Fix. Display only profiles which related to specific FS. 2015-08-25 16:46:31 +04:00
Alexey Melnichuk b1dade960b Fix. Display names for global gateways on SIP Status page. 2015-08-25 16:12:12 +04:00
Alexey Melnichuk 094b49828c Fix. Start record when b-leg answer.
This fix problem when DID transfers to IVR.
After that user make direct-dial to extension.
IVR do transfer but a-leg already answered and
api_on_answer did not call.
2015-08-25 14:56:01 +04:00
FusionPBX 484021f6d8 Merge pull request #1122 from moteus/delete_memcache
Fix. Delete some keys from memcache
2015-08-24 08:48:22 -06:00
Alexey Melnichuk ea1f6068c1 Fix. Delete some keys from memcache 2015-08-24 10:34:33 +04:00
markjcrane c7b8d99d1b Increase the pageing results for access controls. 2015-08-22 15:52:27 -06:00
markjcrane 948199497c Add fax_forward_number to the fax class. 2015-08-21 17:10:42 -06:00
markjcrane 7bdd6851fa Add fax prefix tot he fax class. 2015-08-21 17:04:34 -06:00
markjcrane dfa4d1f4b1 Use fax_extension for the directory path needed for outbound faxes. 2015-08-21 16:17:42 -06:00
markjcrane cb4642e56f Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-21 15:44:00 -06:00
markjcrane 59fac15627 Change the fax_extension to fax_destination_number. 2015-08-21 15:43:40 -06:00
FusionPBX 632d152035 Merge pull request #1118 from moteus/clear_cache_number_alias
Fix. clear cache also for number_alias.
2015-08-21 11:33:03 -06:00
Alexey Melnichuk bff7f43abb Fix. clear cache also for number_alias. 2015-08-21 13:22:07 +04:00
markjcrane 850d53359c Move SQL queries out of the content as a best practice and coding standard. Fix number alias when using auth name and auth id. 2015-08-20 20:16:07 -06:00
markjcrane 053571497d Delete child data when deleting access controls. Improve the indentation. 2015-08-20 09:33:02 -06:00
markjcrane dfd10e38e9 Fix a quote mismatch. 2015-08-20 09:23:53 -06:00
markjcrane 1ff1e38844 Fix the path problems for the reading the acl.conf.xml. 2015-08-20 09:06:45 -06:00
markjcrane ca1c489776 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-19 12:41:58 -06:00
markjcrane 4201015784 Fix the fax dialplan which prevented inbound faxes from saving using the new fax dialplan. 2015-08-19 12:41:34 -06:00
Alexey Melnichuk 911fd65aa1 Revert. Both legs can control of call. 2015-08-19 10:06:22 +04:00
Alexey Melnichuk 8d96b580cb Fix. Set voicemail ID. 2015-08-18 15:42:14 +04:00
Alexey Melnichuk ae341a6aba Change. Use bind_bind_digit instead of bind_meta_app.
Change. Allow transfer and turn on recordings only for authorized users.
Fix. Use record_ext in recording in ring_group.

This allow configure other dtmf sequence like `*#` and `##`
2015-08-18 15:38:41 +04:00
koldoa 73d5bf8ed7 View current logged members per fifo queue 2015-08-17 16:39:54 +02:00
koldoa e70493e8f9 New key type for aastra devices 2015-08-17 16:39:54 +02:00
koldoa 890cff5314 New key type for aastra devices 2015-08-17 16:39:54 +02:00
Alexey Melnichuk 34beaff9e3 Fix. Eavesdrop by operator_panel with extension with number-aliases 2015-08-17 16:46:53 +04:00
markjcrane 2947343aca Add fax default setting keep_local. 2015-08-16 01:53:39 -06:00
markjcrane 8ca1eaf93e Give precedence to number_alias over extension in destinations class that generates the destination select list. 2015-08-15 21:49:27 -06:00
markjcrane a573b13b82 update the translations 2015-08-16 01:12:05 +00:00
markjcrane f8d14edaf7 Add latest translation for Access Controls 2015-08-15 23:58:26 +00:00
markjcrane eb95f981a4 Fax variables for inbound, outbound, and both. 2015-08-15 15:26:16 -06:00
markjcrane bb0d6465d8 Add a new fax class to make the fax dialplan. 2015-08-15 14:27:27 -06:00
markjcrane 45680cebb7 Change the default fax_enable_t38_request to false. 2015-08-15 13:20:41 -06:00
markjcrane 893efba8af Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-15 13:17:33 -06:00
markjcrane 1fec017b16 Make the fax/app_defaults.php more efficient and add fax_enable_t38=true and fax_enable_t38_request=true. 2015-08-15 13:17:07 -06:00
reliberate cde85270f3 Destinations: Hide Account Code field on Add/Edit of Outbound Destinations. 2015-08-15 10:41:34 -06:00
reliberate a2b9bae284 Destinations: Hide unrelated form elements on edit of Outbound Destination. 2015-08-15 09:07:01 -06:00
reliberate de4b65ce97 Destination Add/Edit: Hide irrelevant controls if Type is Outbound, dynamically set Context accordingly. 2015-08-14 18:23:49 -06:00
markjcrane e9d5215232 Change type number to text to fix caller id numbers that start with a 0. 2015-08-14 10:47:15 -06:00
FusionPBX 2e9bfabea6 Merge pull request #1099 from moteus/operator_panel_number_alias
Fix. Operator panel with extension with number alias.
2015-08-14 08:35:15 -06:00
FusionPBX 7ff1ed2124 Merge pull request #1098 from moteus/toll_allow_forward
Set Toll Allow for call forward/follow me
2015-08-14 08:34:17 -06:00
Alexey Melnichuk e9712b517e Fix. Operator panel with extension with number alias. 2015-08-14 15:10:21 +04:00
Alexey Melnichuk ff7c7adb41 Change. Use toll_allow of extension who set follow me. 2015-08-14 13:35:50 +04:00
Alexey Melnichuk bfe2fb97f6 Change. Use toll_allow of extension who set call forward. 2015-08-14 13:27:47 +04:00
markjcrane 9f11b01810 ACL nodes remove the bold label for domain and cidr. 2015-08-13 18:55:13 -06:00
markjcrane 19713c99d6 Don't require the description for the new access controls (ACL list). 2015-08-13 18:50:00 -06:00
FusionPBX ecb2a08e30 Merge pull request #1096 from moteus/ext_summary_number_alias
Fix. Display CDR Extension Summary for ext with number alias
2015-08-13 11:26:02 -06:00
FusionPBX 3c7e6e16fd Merge pull request #1093 from moteus/dnd_number_alias
Fix. Use number alias to forward call to VM when DND is on.
2015-08-13 11:25:08 -06:00
Alexey Melnichuk e8f4b37849 Fix. Display CDR Extension Summary for ext with number alias 2015-08-13 18:44:17 +04:00
markjcrane 7759f63c9d Add the Access Controls as the new interface for ACL Lists. 2015-08-12 23:09:07 -06:00
Alexey Melnichuk 9a9871e595 Fix. Use number alias to forward call to VM when DND is on. 2015-08-12 13:02:36 +04:00
FusionPBX e6a85e776b Merge pull request #1018 from moteus/number_alias_as_vm_id
Change. Use number_alias as voicemail_id.
2015-08-11 20:43:20 -06:00
FusionPBX d7e03e4217 Merge pull request #1070 from moteus/follow_me_ignore_busy
Add. Option to ignore busy from destination in follow me dial-string.
2015-08-11 20:40:16 -06:00
markjcrane 12ba3753ca Fix destination context for the destinations select list. 2015-08-11 13:24:07 -06:00
markjcrane 4ad487877a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-11 13:15:28 -06:00
markjcrane f935194fad Add select dialplan_context as context to fix the context for time conditions. 2015-08-11 13:13:58 -06:00
FusionPBX a337e1a8ba Merge pull request #1062 from moteus/win_service
Add. Support windows services.
2015-08-10 11:32:08 -06:00
FusionPBX 75aaf20cfa Merge pull request #1017 from moteus/no_default_domain
Change. Does not use `default` dialplan/directory.
2015-08-10 11:27:19 -06:00
markjcrane 144e22094e Add translations for check_voicemail, company_directory and record. 2015-08-10 10:09:37 -06:00
markjcrane 59eb7a492a Add title-other to app_languages.php. 2015-08-09 11:02:18 -06:00
markjcrane 64d6c425ad Fix the gateways list for call center agents. 2015-08-07 19:21:25 -06:00
markjcrane ebe536c66d Change call_center_contact to user_contact. 2015-08-07 15:24:24 -05:00
markjcrane d2147cb133 Remove switch_select_destination function from the remaining features that used it and replace with the destination php class. 2015-08-07 15:06:07 -05:00
markjcrane 3839f2d337 Comment out the sounds in ivr menu edit use the phrases or recordings instead. 2015-08-07 14:38:33 -05:00
markjcrane dbbecaf2ef Increase the memory efficiency and page load time for IVR Menu edit. 2015-08-07 14:34:58 -05:00
markjcrane 7dccb98465 Convert ring groups to use the new php class. 2015-08-07 14:30:29 -05:00
markjcrane ea13640bbf Remove and extra line and add creation of the object. 2015-08-07 14:25:49 -05:00
markjcrane d9415cd597 Update voicemail to use the destination php class. 2015-08-07 14:24:58 -05:00
markjcrane 0d00c9f72d Move call flows to the new destinations class. 2015-08-07 14:10:24 -05:00
markjcrane 2f40dfac97 Add the missing echo. 2015-08-07 13:39:25 -05:00
markjcrane 28ad9a34af Use the new destinations php class for ivr menu and destinations. 2015-08-07 13:13:55 -05:00
markjcrane 0719fe2465 Add a missing 'and' in the SQL query. 2015-08-06 23:21:10 -05:00
markjcrane 1f496ef53c Make time condition use the new destinations class. 2015-08-06 15:24:42 -05:00
markjcrane 1393201847 Escape the $ for $domain_uuid. 2015-08-06 00:14:46 -05:00
markjcrane 752c54d05c Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
Alexey Melnichuk 4ba483f294 Fix. Empty comma in dialstring 2015-08-05 13:41:27 +04:00
markjcrane bcf1363277 Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 0c76720731 Add title-call_groups to app/extensions. 2015-08-03 18:42:16 -06:00
markjcrane 0d272d630e Add title-call_centers. 2015-08-03 16:36:59 -06:00
markjcrane e485133f91 Update the menu to use the app/call_centers directory. 2015-08-03 16:12:12 -06:00
markjcrane 14e9c2743e Change app/call_center to app/call_centers. 2015-08-03 16:09:38 -06:00
markjcrane 1bd77f955e Change 'title' to 'title-recordings' 2015-08-03 16:05:22 -06:00
markjcrane 7cc4aa21e0 Change title-time-conditions to title-time_conditions. 2015-08-03 15:53:48 -06:00
markjcrane c2375def12 Change title_phrases to title-phrases. 2015-08-03 15:52:39 -06:00
markjcrane cbbe4c2da7 Change the label 'title' to 'title-ring_groups' 2015-08-03 15:46:44 -06:00
markjcrane 193137ffa6 Make the title-<app name> more consistent. Use underscore in the label name instead of a dash. Dash is used between label type and the label name. 2015-08-03 15:17:05 -06:00
markjcrane 7aa6574c0e To be more consistent with naming convention rename app/ivr_menu to app/ivr_menus. 2015-08-03 09:43:15 -06:00
markjcrane c873ca11da Remove smtp settings entirely from app/settings. 2015-08-03 09:41:58 -06:00
markjcrane dd1d7a9ffd Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-02 23:43:53 +00:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 6f6a2fc8d0 Change extension_context to extension_user_context in one location that was missed. 2015-07-31 10:58:38 -06:00
markjcrane a7a472c86a Add a new permission extension_user_context. 2015-07-31 09:37:53 -06:00
markjcrane 2353b9622a Change else if to elseif on extension_edit.php 2015-07-31 09:18:27 -06:00
markjcrane bcb4558f8b Allow 0 to be set for numbers for Call Center Queues. 2015-07-31 09:02:26 -06:00
markjcrane f4c47f176f Simplify the code for the call center dialplan. 2015-07-30 21:06:30 -06:00
FusionPBX ffbb65fcad Merge pull request #1063 from moteus/call_center_dialplan_uuid
Fix. Override dialplan_uuid.
2015-07-30 20:56:20 -06:00
Alexey Melnichuk 3be5ebf29f Add. Option to ignore busy from destination in follow me dial-string. 2015-07-30 16:21:50 +04:00
Alexey Melnichuk 162640f754 Fix. Can not enable follow me via `*21` if it was disabled via web.
Problem is that php code clear `dial_string` field in DB.
And Lua code on enable try use it.
2015-07-30 11:48:01 +04:00
markjcrane 2ea4148f99 Change from if_group to if_permission which is preferred in most cases. 2015-07-27 14:57:37 -06:00
markjcrane 6548179a50 Organize the device profiles according to the key vendor. 2015-07-25 07:57:07 -06:00
Alexey Melnichuk eaae5d3ad7 Fix. Override dialplan_uuid. 2015-07-24 14:46:31 +04:00
Alexey Melnichuk c9870f840e Add. Support windows services. 2015-07-24 11:26:11 +04:00
markjcrane c4517b15c2 Move the 'show application' completely out of the content. Then save the result in a session variable $_SESSION['switch']['applications']. 2015-07-21 09:47:23 -06:00
Alexey Melnichuk 55d01cffd4 Fix. Edit dialplan without running FS may load too long. 2015-07-21 11:44:13 +04:00
Alexey Melnichuk 18491ea2c0 Merge branch 'master' into no_default_domain
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04:00
Alexey Melnichuk b4d968cf09 Fix. remove hot_desking app. 2015-07-21 11:22:16 +04:00
Alexey Melnichuk a4b0b2d271 Merge branch 'master' into number_alias_as_vm_id
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:19:13 +04:00
markjcrane bd54cb44e2 Remove xml and json from the select list as its horribly inefficient. Move accountcode outside of billing as that may be used by others using the account code. 2015-07-20 15:34:23 -06:00
FusionPBX 6b48f88955 Merge pull request #1013 from moteus/issues_1008
Disable of sip profile does not work
2015-07-18 13:08:10 -07:00
FusionPBX d7836a30c0 Merge pull request #1021 from moteus/show_reg_force_domain
Fix. Show registrations to sip profile with force-XXX-domain.
2015-07-18 12:57:10 -07:00
FusionPBX 0cf21b698a Merge pull request #1036 from moteus/remove_debug_output
Fix. Remove debug output.
2015-07-18 12:52:17 -07:00
FusionPBX 446e94ff1a Merge pull request #1015 from moteus/remove_feature_context
Remove using `feature` context.
2015-07-18 12:48:41 -07:00
FusionPBX 40311cebeb Merge pull request #1032 from moteus/win-send-fax
Fix. Send fax via web on Windows.
2015-07-18 12:41:31 -07:00
markjcrane 969c6c6d77 Remove minute from time conditions as its better to use one of the other options. 2015-07-18 12:20:09 -07:00
markjcrane 1bc779aed2 Prevent duplicate call center dialplans. 2015-07-18 11:17:15 -07:00
markjcrane 639b28381d Fix the sip profile loading during the install or when using app -> defaults. 2015-07-16 12:34:01 -07:00
Alexey Melnichuk d1dfe3258c Fix. Remove debug output. 2015-07-13 10:42:14 +04:00
FusionPBX aef6836d75 Merge pull request #1016 from moteus/xml_cdr_escape
Fix. Escape `<>` in all fields in CDR xml.
2015-07-10 08:58:13 -03:00
markjcrane 8130e970ab Fix the call center dialplan so that it does not create duplicates using the new call center class. 2015-07-09 10:48:01 -03:00
Alexey Melnichuk e97ca204fd Fix. Send fax via web on Windows.
* tiffXXX utils did not work with paths like `C:/xxx/ddd.tif`
 * using `gswin32c` instead of `gs`
 * using `copy` function instead of `cp` command
2015-07-09 16:12:27 +04:00
markjcrane fb5c1a6ef9 Fix the dialplan_uuid for call center dialplan. 2015-07-09 01:01:12 -03:00
markjcrane 2b0c9d6016 Fix the call center timeout action for the dialplan. 2015-07-09 00:54:27 -03:00
markjcrane e33943f5a4 This Hot desking has been moved to optional Apps directory. It is now considered to be deprecated and replaced by a better feature. 2015-07-08 12:10:17 -03:00
markjcrane fda7add887 Remove trailing spaces and adjust the vertical spacing. 2015-07-08 09:30:00 -03:00
markjcrane 39960bac8d Don't override the device vendor type. 2015-07-08 01:43:52 -03:00
markjcrane fbcd47394b Add device key type column add the vendor name. 2015-07-08 01:41:24 -03:00
markjcrane 8123974de4 Add several provision default settings. 2015-07-07 18:07:25 -03:00
markjcrane b2cdce4940 Change the table name from device lines to keys. 2015-07-07 14:44:14 -03:00
markjcrane 2b150eca0d Add device key vendor to assign a key to a vendor. 2015-07-07 14:25:00 -03:00
Alexey Melnichuk 7f8a57739e Use existed variable. 2015-07-07 13:46:25 +04:00