Commit Graph

354 Commits

Author SHA1 Message Date
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 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
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
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 fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07: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
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00: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
Luis Daniel Lucio Quiroz 2fccf1c09e Bill the incoming call
wrong variable, use the correct one.
2016-01-08 23:44:06 -05:00
FusionPBX 6cb7477952 Merge pull request #1369 from blackc2004/patch-30
Update xml_cdr_search.php
2016-01-05 11:39:07 -07: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
markjcrane 033e69b4ac Fix a problem with xml_cdr/app_languages.php. 2015-12-21 00:02:50 -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
FusionPBX bd914ba376 Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07: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
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
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 f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00: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
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
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 590a8e6505 prepared img tag for high resolution (retina) images 2015-09-24 09:31:52 +02:00
Alexey Melnichuk 9f96c9f6a3 Fix. Show CDR details when set `showall` 2015-09-18 12:04:52 +04:00
Alexey Melnichuk e8f4b37849 Fix. Display CDR Extension Summary for ext with number alias 2015-08-13 18:44:17 +04:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00: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
Alexey Melnichuk d1dfe3258c Fix. Remove debug output. 2015-07-13 10:42:14 +04:00
Alexey Melnichuk d7a1829d32 Use non greedy match. 2015-07-02 19:12:12 +04:00
Alexey Melnichuk 1764700fd7 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 f1171227b9 Add latest translations 2015-06-30 11:30:02 +00:00
Mark Crane ed7ac31c7b Remove call center log table and remove redundant semi-colons. 2015-06-21 05:43:06 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
luis daniel lucio quiroz cdcb5bcd35 little space, nothing special 2015-06-05 16:10:55 +00:00
Mark Crane 5f78d5b41d 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 d6980a929c fix a pricing display bug when billing installed 2015-05-01 18:52:01 +00:00
luis daniel lucio quiroz e2602f7824 better sql queries for billing 2015-05-01 18:35:40 +00:00
luis daniel lucio quiroz 9f346abfd0 lcr_currency wrong set 2015-05-01 17:39:13 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Digital Daz befc947b8d Slight change to correct sql queries for times, thanks Nate. 2015-04-29 20:45:32 +00:00
Nate Jones 6ca1cdb3b5 CDR Details: Define column % widths. 2015-04-15 18:44:22 +00:00
Nate Jones d79216bcad CDR: Restore 'Recording' label. 2015-04-14 08:01:02 +00:00
Nate Jones bb75eeb191 Various: Added playback progress indicator for audio files (CDR, VM, etc). 2015-04-13 22:26:50 +00:00
Nate Jones 862d4bf7aa CDR: Template and layout adjustments to prevent wrapping. 2015-04-13 20:06:46 +00:00
Nate Jones aa58d9ef23 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 5eeecf50fd 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 3b8b7ad0ca 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 63aba24bc7 CDR Stats: Added missing 'and' in SQL queries. 2015-04-05 02:26:31 +00:00
Mark Crane 54e93c8beb XML CDR, Add a fix for unescaped data in <sip_Remote-Party-ID>. 2015-04-04 16:09:11 +00:00
Nate Jones d68a273c64 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 fe427d4cb3 let the xml_cdr download/play, regardless mono/multi tenant 2015-04-03 16:23:24 +00:00
Nate Jones e5ece69b1a 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 d30a509de0 Contacts / CDR: Minified top paging controls. 2015-04-01 09:00:17 +00:00
Nate Jones b8301a8090 CDR: Hide Show All button after clicked, moved to top for consistency. 2015-04-01 00:51:09 +00:00
luis daniel lucio quiroz 87763506bb let the xml_cdr find the wav file, regardles mono/multi tenant 2015-03-31 16:20:55 +00:00
Nate Jones 5b37c7b040 CDR & Devices: Hide Show All buttons after showing all. 2015-03-31 03:16:20 +00:00
Mark Crane 73a2aa44e8 Remove extra line spaces. 2015-03-22 00:01:39 +00:00
Mark Crane 1baef57ad9 Add CDR http_enabled to default settings and add the settings more efficiently. 2015-03-21 23:59:56 +00:00
Mark Crane 2943ad648b 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 67e0e14bfc CDR: Fixed Issue 885, clicking records now results in the correct details being loaded. 2015-03-20 02:50:30 +00:00
Mark Crane 60bca06375 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 37bf2da79b 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 5dd8efb071 Fix the CDR statistics show all. 2015-03-07 12:39:42 +00:00
Mark Crane 7ec6817a5d Set debug to false. 2015-03-07 10:59:00 +00:00
Mark Crane 65fe97fb50 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 669fb08d4e Add show all code donated by Chris Black 2015-03-06 17:15:09 +00:00
luis daniel lucio quiroz 455f0b2e45 do not show others extension to non-admin users 2015-02-27 15:25:49 +00:00
Nate Jones ea97d9288d CDR Delete: Removed unnecessary output. 2015-02-19 23:32:20 +00:00
Nate Jones 1f65abe238 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 ded7cb3266 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones 6c9fa8ea2f Visual adjustments. 2015-02-15 09:15:34 +00:00
Nate Jones d96f016ea5 Code cleanup. 2015-02-15 08:46:20 +00:00
Nate Jones 0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Mark Crane de62073126 Remove the trailing line feed. Goal is to remove all trailing line feeds. 2015-02-13 23:22:30 +00:00
Mark Crane 0225e59372 Minor formatting adjusts to the xml cdr import. 2015-02-12 16:42:58 +00:00
Mark Crane 9342d0386e 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 786a860d48 callee instaed of caller when billing incoming calls 2015-01-22 15:29:43 +00:00
Digital Daz c6c2251e0e Add missing preset label for extension summary 2015-01-21 09:17:43 +00:00
Digital Daz c404e2febf Fixed up ALOC in extensions summary 2015-01-21 01:46:34 +00:00
Digital Daz 25353f1ab6 Add some preselects to extensions summary, 'Last Hour', 'Today', 'Yesterday', 'This Month' and 'This Year' 2015-01-21 01:06:22 +00:00
Digital Daz 4ed3ef9a80 Add extra options to xml_cdr language file. 2015-01-21 00:51:39 +00:00
Nate Jones 147d03169d Use the new multi-lingual code on fusionpbx/app sub directories. 2015-01-18 10:04:43 +00:00
luis daniel lucio quiroz e5a69f5a7c no strlen on billing maths 2014-12-29 05:35:08 +00:00
Mark Crane 9369fd8d0d Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane bbf2a3badc Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
Mark Crane 7d4b48c53a Add no answer, aloc, and busy to the extension summary. 2014-12-25 19:00:14 +00:00
Mark Crane 08c70e72a0 Add no answer, aloc, and busy to extension summary app_languages. 2014-12-25 02:03:21 +00:00
Mark Crane 85f72056d2 Add the description translation to app_languages.php. 2014-12-24 06:38:17 +00:00
Nate Jones 6ddb7129c5 Issue 764 Fix: Explicitly defined desired fields in CDR select query, as suggested. 2014-12-10 03:57:48 +00:00
luis daniel lucio quiroz 1baf135c3d we do not try to convert rate if price is zero, this will speed up things 2014-12-06 15:04:38 +00:00
Nate Jones a5a6af2ba8 CDR: Minor visual adjustment on table cell if CID Name not present. 2014-12-06 10:34:29 +00:00
Nate Jones bf6a8dd2b0 CDR: Added ability to export records in PDF format. 2014-12-06 10:30:44 +00:00
luis daniel lucio quiroz 2b43ddd76f fix odd billing currency error when using different currencies 2014-11-25 22:22:28 +00:00
Philippe Rioual 14ca352a4f updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Johan Brannlund de4cf94bc0 Fix *2 recording path for single-tenant (right patch for dev branch this time) 2014-10-12 15:29:31 +00:00
Nate Jones 5e67869394 CDR Paging: Minor tweak. 2014-09-28 08:35:49 +00:00
Mark Crane 4099ae950d Move paging controls to the bottom to be consistent with all other pages 2014-09-21 02:09:02 +00:00
Mark Crane 1d7be1ada7 Add the translation for TTA on CDR 2014-09-20 01:13:14 +00:00
Nate Jones b4aa618cc2 CDR: Recording playback - disabled preloading, return Tools column and icons to middle, hide if duration is zero. 2014-09-11 18:25:00 +00:00
Nate Jones 6d049b8f5b CDR: Added new HTML5 recording playback and download controls. 2014-09-11 03:14:52 +00:00
Mark Crane c73db7193e A small fix for the CDR page format 2014-09-09 09:15:32 +00:00
Nate Jones 49bbc2e986 CDR: Added TTA (Time To Answer) column, tool-tip explanations to call direction icons, and paging controls to top of beginning of CDR list. 2014-09-08 18:06:36 +00:00
luis daniel lucio quiroz 92de1d3f6d billing postgresql compatibility 2014-09-04 20:58:20 +00:00
luis daniel lucio quiroz 96445298e8 sql queries fixed to be compatible with mysql AND pgsql 2014-08-29 15:34:51 +00:00
luis daniel lucio quiroz 61b9a6eee1 seems to be final fix for billling multi-currency issue 2014-08-28 16:11:24 +00:00
luis daniel lucio quiroz b5dc3e751c some billing sql queries fixes, for a extrange reason when currencies are different there was a lack of accuracy 2014-08-23 04:28:43 +00:00
Mark Crane c7f56a53ab FusionPBX 3.6.0 Release 2014-08-17 15:13:25 +00:00
Nate Jones fe40c4ede9 Enhanced Theme: Added Default Settings to control footer colors and opacity.
Other minor code enhancements.
2014-08-17 04:33:57 +00:00
James Rose b85eab3fd8 added the ability to use cdr group to give full call detail records access to non admins. 2014-08-13 03:17:12 +00:00
Mark Crane d23e1023c5 Add bridge uuid for cdr wav and mp3s 2014-08-07 04:43:14 +00:00
Nate Jones a07f7871e3 Extension Summary: New report - displays per extension call count and usage statistics within a given date range. 2014-08-06 05:21:13 +00:00
Nate Jones e8a944ea57 CDR: Remove unnecessary </td> tag. 2014-08-06 00:42:32 +00:00
Mark Crane 1f837a600c Make the xml cdr generated xml easier to read 2014-08-03 11:14:56 +00:00
Nate Jones eef73fd005 Input Type Switch Button: Changed from left triangle (&#10782;) to left triangle (&#9665;), as wasn't displaying properly in FF on Mac. 2014-08-03 07:02:12 +00:00
Nate Jones 89c3683ce2 CDR: Minor/style mods to date/time Range fields. 2014-08-03 05:23:44 +00:00
Nate Jones 7b648618ad CDR: Search Source explicitly by extension number. 2014-08-03 04:03:44 +00:00
Nate Jones ba6fb139a8 CDR: Moved date/time picker JS to template, Domain Selector now working again on CDR page. 2014-08-02 12:49:22 +00:00
Nate Jones 3ee965621b CDR: Added Date/Time calendar picker, enhanced searching ability - added Start, Answered and End ranges. 2014-08-02 10:57:02 +00:00
Nate Jones 132415f1a8 Copyright: Fixed CDR Details and Dialplan Edit so copyright line stays where intended. Enhanced theme restored. 2014-07-27 15:52:34 +00:00
luis daniel lucio quiroz d2aa3e21e2 default currency support using default settings 2014-07-24 00:41:32 +00:00
Mark Crane 5e0d82c06d Unset the prepared statements used in the app_defaults.php files. 2014-07-23 22:00:03 +00:00
Omar Irbouh c9c044939f sql escape json content 2014-07-20 16:41:36 +00:00
Omar Irbouh 46c8524c97 sql escape json content 2014-07-20 16:39:16 +00:00
luis daniel lucio quiroz bfd1901fe9 a variable was wrong 2014-07-18 00:13:44 +00:00
luis daniel lucio quiroz 1ded40211e more support to fussion schema 2014-07-17 23:46:04 +00:00
luis daniel lucio quiroz cad5e1c195 billing app update support 2014-07-17 19:31:50 +00:00
Mark Crane 0cfe8298bb Add translations for the CDR advanced search 2014-07-17 19:04:20 +00:00
Mark Crane 8f676d1053 Missed updating before commit repairing xml_cdr.php 2014-07-17 17:47:20 +00:00
Mark Crane 14ca8e1963 XML CDR add call direction to the advanced search 2014-07-17 17:35:14 +00:00
Mark Crane 5c5ec5e4f6 Revert the previous commit. 2014-07-17 16:52:31 +00:00
Mark Crane 9808049c47 CDR change direction to call_direction 2014-07-17 16:23:49 +00:00
Mark Crane c0f16be420 Set XML CDR debug to false 2014-07-15 06:33:10 +00:00
Mark Crane 803b55e31a fix the xml cdr import'; 2014-07-12 08:43:13 +00:00
luis daniel lucio quiroz 3be2e36801 adding more support for xml_cdr to multicurrency bill 2014-07-12 07:49:41 +00:00
Mark Crane b33aa3a71b Fix the cdr app_defaults 2014-07-11 02:03:47 +00:00
Mark Crane 3e89192ced Add cdr limit to default settings 2014-07-11 01:44:44 +00:00
Mark Crane a756e8a2c3 Add CDR limit 2014-07-11 01:34:47 +00:00