Commit Graph

441 Commits

Author SHA1 Message Date
FusionPBX 335084e9d8 Update v_xml_cdr_import.php 2016-12-22 21:10:22 -07:00
FusionPBX d57c9dcafd Update v_xml_cdr_import.php 2016-12-22 20:50:09 -07:00
FusionPBX 89b5bce71a Update xml_cdr.php
Hide the the paging controls in Call Detail Records if there are are not enough records to page.
2016-12-22 19:02:16 -07:00
FusionPBX c2ce12d7b4 Update xml_cdr_search.php 2016-12-22 18:41:19 -07:00
FusionPBX 0bc667d3b0 Update xml_cdr_inc.php 2016-12-22 17:54:10 -07:00
FusionPBX 148ed74f8f Update xml_cdr.php 2016-12-22 17:37:47 -07:00
FusionPBX f22287d22d Update xml_cdr.php 2016-12-22 17:03:05 -07:00
FusionPBX a3e28f5094 Update xml_cdr_inc.php 2016-12-22 16:59:34 -07:00
FusionPBX ad94dfe7f3 Update xml_cdr_inc.php 2016-12-21 17:02:10 -07:00
FusionPBX 39bd024238 Update xml_cdr.php 2016-12-21 16:58:21 -07:00
FusionPBX 4f10b455c9 Update xml_cdr_search.php 2016-12-21 16:25:22 -07:00
FusionPBX b667a78d4a Update v_xml_cdr_import.php 2016-12-21 14:14:45 -07:00
FusionPBX 6f8dc1093b Update xml_cdr.php 2016-12-21 14:02:56 -07:00
FusionPBX be19ad6bfb Update xml_cdr_details.php
Fix the recording links in the xml cdr details.
2016-11-23 22:01:37 -07:00
FusionPBX 2c7715dcfd Update xml_cdr.php 2016-11-23 05:24:33 -07:00
FusionPBX 29021963fa Update xml_cdr.php 2016-10-25 18:06:34 -06:00
FusionPBX 549332b457 Update xml_cdr.php 2016-10-25 18:02:26 -06:00
FusionPBX 4ce86cbd37 Update app_defaults.php 2016-10-22 22:53:41 -06:00
FusionPBX bbc2f4f97d Update xml_cdr_inc.php 2016-09-30 01:00:55 -06:00
FusionPBX 6d722bd34f Update v_xml_cdr_import.php 2016-09-03 20:48:27 -06:00
minotaur01 e5b1793e98 CDR Functiality Fix Extended Data Logic (#1897)
Raw data field was not being pulled so logic was broken, added derived
field raw_data_exists to sql statement, instead of pulling raw data with
query. Also added logic to hide the view extended data icon on the right
side of table.
2016-09-03 12:03:35 -06:00
minotaur01 f69853e87c CDR Display functionality change (#1894)
Dont make the row clickable if the extended data field (json) is empty
2016-09-02 13:29:33 -06:00
FusionPBX 06ba800018 Update xml_cdr_extension_summary.php 2016-08-23 03:32:25 -06:00
FusionPBX 453296390c Update xml_cdr_extension_summary.php 2016-08-23 03:12:24 -06:00
FusionPBX dfbb53bfed Update xml_cdr_extension_summary.php 2016-08-23 03:10:57 -06:00
FusionPBX 324db16bb6 Update xml_cdr_extension_summary.php
Add a download csv button to the Extension Summary.
2016-08-23 03:05:56 -06:00
FusionPBX 20aae6a266 Update xml_cdr_extension_summary.php
Extensio Summary - Change the default to today instead of last 7 days.
2016-08-14 11:47:49 -06:00
markjcrane 291d466dd5 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-07-26 20:52:07 -06:00
markjcrane 98f326a7f6 Adjust the indentation and organization of these to xml cdr files. 2016-07-26 20:51:50 -06:00
FusionPBX c4ef8596d1 Update xml_cdr_inc.php
Disable paging for the XML PDF export and modified slightly for the CSV export.
2016-07-26 20:49:23 -06:00
FusionPBX 0722bf3254 Update xml_cdr.php
Show the image in CDR only if direction is set.
2016-07-09 16:29:42 -06:00
markjcrane 6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
reliberate 68c442e063 Music on Hold: Style/layout tweaks.
Recordings:  Updated to support new audio playback indicator. Show upload date/time (when not using base64).
VM Messages:  Updated to support new audio playback indicator.
VM Greetings:  Updated to support new audio playback indicator.
CDR:  Updated to support new audio playback indicator.
2016-06-22 12:42:03 -06:00
FusionPBX 7b683c4842 Update xml_cdr.php
Fix the order by number alias addition by grouping it with ( and ).
2016-06-15 11:48:53 -06:00
Alexey Melnichuk 40fe5f3138 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
FusionPBX 3066f73d4f Update xml_cdr_extension_summary.php
Update the extension summary to use the new class. Add an option to export to CSV.
2016-06-14 22:51:38 -06:00
FusionPBX 6a9b6dff73 Update xml_cdr.php
Update the xml cdr class to generate a complete extension / user summary array.
2016-06-14 22:44:34 -06:00
FusionPBX 11efb35712 Update xml_cdr.php
In the xml_cdr class change method xml_array from $row to $key. Key is more descriptive and should prevent bugs in the future.
2016-06-11 16:17:35 -06:00
FusionPBX c6b15a6537 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
markjcrane 227e7900ab Time to start using jsonb in the xml cdr table. 2016-06-08 19:25:51 -06:00
FusionPBX 692c5c36be Update xml_cdr_extension_summary.php
Add the domain_uuid.
2016-06-05 21:54:54 -06:00
FusionPBX a8f7bcc9f2 Update xml_cdr.php
Use the class variables.
2016-06-05 21:53:28 -06:00
markjcrane f341277148 Get the extensions then the summary array. 2016-06-05 17:53:12 -06:00
markjcrane d2d0e1f6e6 Remove the second quick_select variable that was accidently added. 2016-06-05 17:51:23 -06:00
markjcrane 405a6ad32d Adding user summary (extension summary) to the xml_cdr class. 2016-06-05 17:19:06 -06:00
FusionPBX 8f89358346 Update xml_cdr_inc.php
Work on the XML CDR export to CSV.
2016-06-03 19:47:35 -06:00
markjcrane d56b8ab6a1 If last_sent_callee_id_number is set use it as the destination_number. 2016-06-01 16:45:50 -06:00
Mafoo 59ddf92f1b 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 a8b667cd0b Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane de362abfb5 Fix a minor issue. 2016-05-11 18:42:30 -06:00
markjcrane dabdbbeb95 Additional work on caller id name and number. 2016-05-11 18:37:01 -06:00
markjcrane 63384b3aa1 Add the new column source_number. 2016-05-11 18:21:36 -06:00
markjcrane d515d49faa Additional work on the destination_number on the new xml cdr import tool. 2016-05-11 17:58:43 -06:00
markjcrane 6344476e69 Fix the syntax to the last commit. 2016-05-11 17:05:06 -06:00
markjcrane 2660ea0893 Add source_number and change the destination_number to the number sent to the carrier. 2016-05-11 16:23:42 -06:00
markjcrane 1637b5c518 Fix a missing bracket from the last commit. 2016-05-07 16:15:15 -06:00
markjcrane 9f43ed627d To prevent all warnings for XML CDR Details check all arrays. 2016-05-07 12:28:07 -06:00
markjcrane fcb860d75a Fix the warning on XML CDR details. 2016-05-07 11:48:46 -06:00
reliberate fb2f13bb9c CDR: Fix PHP warnings regarding paging. 2016-05-05 13:54:17 -06:00
markjcrane 164fd03c98 Disable limit and offset when exporting CDR to CSV. 2016-05-04 22:35:05 -06:00
markjcrane 3abaff004c Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane 0db8ddb949 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 f1a55f52ae Improve the xml cdr class. 2016-04-30 00:33:35 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
FusionPBX e97782fbee 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
markjcrane 7b413a8058 Update the xml_cdr php class to get it operational. 2016-04-27 23:51:53 -06:00
markjcrane 8d9d76f7dc Add a new xml_cdr php class. 2016-04-27 13:24:59 -06:00
Harry G. Coin fd313a7c66 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 91a92d8e5e \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 89e5ecbcdf 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
markjcrane ed06174cda Set extension summary to use GET instead of POST. 2016-04-14 21:11:05 -06:00
markjcrane 7fc9e44768 Update the extension summary in preparation to expand it further. 2016-04-14 15:08:16 -06:00
reliberate 53b07c67f7 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
reliberate cd7843b7f3 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 7c5176cf41 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 3419a18989 Recordings/CDR: Fix audio playback and progress bar style. 2016-03-28 09:09:33 -06:00
reliberate 13e3aa4fa8 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
reliberate f7aca7239c 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
mafoo ce8137b407 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
reliberate a9237ef3fa 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
markjcrane 3e1e822fbd Add domain_uuid to the CDR result set. 2016-02-23 19:42:10 -07:00
markjcrane e44cfabcb9 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 2874807570 Add showall hidden option to the regular CDR search form. 2016-02-23 19:19:03 -07:00
markjcrane 7437048eb4 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 d58122aa56 Change a POST to a GET on the advanced search for CDR. 2016-02-23 18:15:07 -07:00
markjcrane bfd2d791b9 Fix the checkbox on the show all for the advanced search. 2016-02-23 18:09:00 -07:00
markjcrane eb5c341383 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 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 9b1cb7c43e Fix the check to see if domain_name is not set. 2016-02-10 17:15:31 -07:00
markjcrane 2e5e2aa3b3 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
Mafoo ad324f4744 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
Mafoo 2669f6f1a9 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 23b4b7c9bf Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Matthew Vale b20a38f454 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
Matthew Vale 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Luis Daniel Lucio Quiroz 39cbe216df Bill the incoming call
wrong variable, use the correct one.
2016-01-08 23:44:06 -05:00
FusionPBX 411c18477a Merge pull request #1369 from blackc2004/patch-30
Update xml_cdr_search.php
2016-01-05 11:39:07 -07:00
blackc2004 8a293a1c21 Update xml_cdr.php 2016-01-05 10:13:54 -08:00
blackc2004 68d260921c Update xml_cdr_search.php 2016-01-05 10:12:39 -08:00
markjcrane 16e29df2c7 Fix a problem with xml_cdr/app_languages.php. 2015-12-21 00:02:50 -07:00
markjcrane a2a98ee036 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
FusionPBX 84b46ab76e Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
FusionPBX dc2a637c54 Merge pull request #1323 from moteus/xml_cdr_record
Fix. Display recording in CDR
2015-12-14 20:24:45 -08:00
Alexey Melnichuk 7e6a0ce062 Fix. Play/Download recordings 2015-12-11 15:53:05 +03:00
Matthew Vale 665824b949 Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Alexey Melnichuk f2a1f9f086 Fix. Display recording in CDR 2015-12-11 10:46:51 +03:00
blackc2004 904de0b267 remove print 2015-12-10 11:10:32 -08:00
blackc2004 f15a1c7a9c 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 c1ff104eed Merge pull request #2 from fusionpbx/master
test2
2015-12-10 08:17:05 -08:00
Matthew Vale b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
FusionPBX 00b5dc622e Merge pull request #1311 from blackc2004/patch-22
Update app_languages.php
2015-12-09 14:53:51 -08:00
FusionPBX 406e7ed127 Merge pull request #1312 from blackc2004/patch-23
Update xml_cdr_inc.php
2015-12-09 14:53:25 -08:00
blackc2004 de1ab15095 test 2015-12-09 14:44:22 -08:00
blackc2004 b77560d27f Update xml_cdr_search.php 2015-12-09 14:09:12 -08:00
blackc2004 73da7ffaf3 Update xml_cdr_inc.php 2015-12-09 14:08:33 -08:00
blackc2004 284aa93458 Update app_languages.php 2015-12-09 14:07:58 -08:00
markjcrane ff8b838b5e 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
FusionPBX 1277559af8 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 180ee43f0f prepared img tag for high resolution (retina) images 2015-09-24 09:31:52 +02:00
Alexey Melnichuk 1d4e62b2f5 Fix. Show CDR details when set `showall` 2015-09-18 12:04:52 +04:00
Alexey Melnichuk 24bd0274f7 Fix. Display CDR Extension Summary for ext with number alias 2015-08-13 18:44:17 +04:00
root fead5df810 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 4a55588898 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
Alexey Melnichuk 3c394e8fc3 Fix. Remove debug output. 2015-07-13 10:42:14 +04:00
Alexey Melnichuk 130394ff01 Use non greedy match. 2015-07-02 19:12:12 +04:00
Alexey Melnichuk 90d91c8b5a Fix. Escape `<>` in all fields in CDR xml.
When using redirect cdr also can contain e.g. `sip_redirect_contact_0` / `sip_redirected_to`.
I use `preg_replace_callback` to proceed all fields.
May be it more correct use urlencode because if we get xml with non UTF8 char we lost CDR.
```php
$xml_string = preg_replace_callback("/<([^><]+)>(.*?)<\/\g1>/",
	function ($matches) {
		// var_dump($matches);
		return '<' . $matches[1] . '>' .
			urlencode($matches[2]).
		'</' . $matches[1] . '>';
	},
	$xml_string
);
```
2015-07-02 19:08:48 +04:00
Mark Crane 0480048950 Add latest translations 2015-06-30 11:30:02 +00:00
Mark Crane c703ec09a2 Remove call center log table and remove redundant semi-colons. 2015-06-21 05:43:06 +00:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane b64c850a9a Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 2b69ac00d7 Synchronize the translations. 2015-06-06 02:37:26 +00:00
luis daniel lucio quiroz e51c6a925b little space, nothing special 2015-06-05 16:10:55 +00:00
Mark Crane e7703ad3b7 Filter for sip_P-Preferred-Identity in xml cdr import as a work around for invalid XML sent over HTTP POST. 2015-05-15 09:26:13 +00:00
luis daniel lucio quiroz 61baff0ad6 fix a pricing display bug when billing installed 2015-05-01 18:52:01 +00:00
luis daniel lucio quiroz 7d8566d595 better sql queries for billing 2015-05-01 18:35:40 +00:00
luis daniel lucio quiroz da7e958808 lcr_currency wrong set 2015-05-01 17:39:13 +00:00
Nate Jones ab403f5f3c Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Digital Daz 3b221ca1ae Slight change to correct sql queries for times, thanks Nate. 2015-04-29 20:45:32 +00:00
Nate Jones 9dcfdbb71b CDR Details: Define column % widths. 2015-04-15 18:44:22 +00:00
Nate Jones 660f14ed6b CDR: Restore 'Recording' label. 2015-04-14 08:01:02 +00:00
Nate Jones 1631962f83 Various: Added playback progress indicator for audio files (CDR, VM, etc). 2015-04-13 22:26:50 +00:00
Nate Jones d5c2a2653b CDR: Template and layout adjustments to prevent wrapping. 2015-04-13 20:06:46 +00:00
Nate Jones a38af349e0 Extension Summary: Better search form functionality (auto-submit on Quick Select change, added "This Week" option, reset Quick Select if Start or End date/time defined and vice-versa), language additions. 2015-04-10 18:08:09 +00:00
Nate Jones 37d0141687 Extension Summary: List domain on Show All, change Quick Select 'Default' label to 'Last 7 Days', update Description column style to be consistent. 2015-04-10 16:46:22 +00:00
Mark Crane d6636aee17 Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Nate Jones 919a7e2bd2 CDR Stats: Added missing 'and' in SQL queries. 2015-04-05 02:26:31 +00:00
Mark Crane defd4d10d6 XML CDR, Add a fix for unescaped data in <sip_Remote-Party-ID>. 2015-04-04 16:09:11 +00:00
Nate Jones 8c00436e80 CDR: Integrate existing permissions for Recording Playback and Download buttons.
Misc: Background visual adjustments for Playback and Download icons.
2015-04-03 21:07:24 +00:00