Commit Graph

311 Commits

Author SHA1 Message Date
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
luis daniel lucio quiroz 807ae5317c let the xml_cdr download/play, regardless mono/multi tenant 2015-04-03 16:23:24 +00:00
Nate Jones 4764516894 CDR: Hide Missed Calls button after clicked. Visual adjustment when top paging buttons aren't present.
Contacts: Visual adjustment when top paging buttons aren't present.
2015-04-01 09:06:02 +00:00
Nate Jones 5077ee1179 Contacts / CDR: Minified top paging controls. 2015-04-01 09:00:17 +00:00
Nate Jones 9ccc2ce97c CDR: Hide Show All button after clicked, moved to top for consistency. 2015-04-01 00:51:09 +00:00
luis daniel lucio quiroz 8604ce0870 let the xml_cdr find the wav file, regardles mono/multi tenant 2015-03-31 16:20:55 +00:00
Nate Jones 608329dfb9 CDR & Devices: Hide Show All buttons after showing all. 2015-03-31 03:16:20 +00:00
Mark Crane 46a66f9771 Remove extra line spaces. 2015-03-22 00:01:39 +00:00
Mark Crane cbf7ed1c1a Add CDR http_enabled to default settings and add the settings more efficiently. 2015-03-21 23:59:56 +00:00
Mark Crane 621f5036e5 Add another work around for FreeSWITCH XML CDR that is not escaped correctly in FreeSWITCH 1.4.17. 2015-03-21 20:52:59 +00:00
Nate Jones 6ec0de14ad CDR: Fixed Issue 885, clicking records now results in the correct details being loaded. 2015-03-20 02:50:30 +00:00
Mark Crane 9e28e6a8b5 Update XML CDR import replace xml_cdr -> http_enabled -> text with cdr -> http_enabled -> boolean. 2015-03-18 12:53:40 +00:00
Nate Jones 61f1e00d32 CDR: Prevent users with no assigned extensions from viewing records. Search form mods. Fix issue with CDR Delete removing the wrong call recording. 2015-03-14 00:03:16 +00:00
Mark Crane 98305d23e9 Fix the CDR statistics show all. 2015-03-07 12:39:42 +00:00
Mark Crane 1b0c8ccc98 Set debug to false. 2015-03-07 10:59:00 +00:00
Mark Crane 37e3355237 Escape sip_full_from, sip_full_to, caller_id so that the HTTP POST for CDR will work. Will remove once FreeSWITCH corrects the bug and its in a release version. 2015-03-07 10:45:33 +00:00
Mark Crane 426df6e524 Add show all code donated by Chris Black 2015-03-06 17:15:09 +00:00
luis daniel lucio quiroz 7d83237154 do not show others extension to non-admin users 2015-02-27 15:25:49 +00:00
Nate Jones 6b6f749e51 CDR Delete: Removed unnecessary output. 2015-02-19 23:32:20 +00:00
Nate Jones e5d29fed34 CDR: Some fixes and enhancements...
- Ability to delete single and multiple CDR records, if desired (permission required, includes recording, if any).

- Search criteria kept through paging, deleting, sorting, and upon using the provided 'Back' button on the CDR Details page.

- Added some missing language translations.
2015-02-19 23:28:40 +00:00
Nate Jones 91fe322c00 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones d8751d1e62 Visual adjustments. 2015-02-15 09:15:34 +00:00
Nate Jones 2b0396063a Code cleanup. 2015-02-15 08:46:20 +00:00
Nate Jones dbd9fbc07b Visual adjustments. 2015-02-15 07:59:02 +00:00
Mark Crane 13b71977ef Remove the trailing line feed. Goal is to remove all trailing line feeds. 2015-02-13 23:22:30 +00:00
Mark Crane d7f46b4fdb Minor formatting adjusts to the xml cdr import. 2015-02-12 16:42:58 +00:00
Mark Crane 163c8a1e8c Remove the importing XML CDR from the file system when the xml_cdr.php is loaded. This will make the page load faster. Use a POST to the web server or a cron job to load from the file system. 2015-02-11 16:39:54 +00:00
luis daniel lucio quiroz 0d769dbf75 callee instaed of caller when billing incoming calls 2015-01-22 15:29:43 +00:00
Digital Daz 56770f3b31 Add missing preset label for extension summary 2015-01-21 09:17:43 +00:00
Digital Daz 9b94049314 Fixed up ALOC in extensions summary 2015-01-21 01:46:34 +00:00
Digital Daz 58d1830fda Add some preselects to extensions summary, 'Last Hour', 'Today', 'Yesterday', 'This Month' and 'This Year' 2015-01-21 01:06:22 +00:00