Commit Graph

261 Commits

Author SHA1 Message Date
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 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