Commit Graph

104 Commits

Author SHA1 Message Date
FusionPBX 1a40dfe9ee Update v_xml_cdr_import.php 2018-10-24 10:51:56 -06:00
FusionPBX 32f794fb3f Update v_xml_cdr_import.php 2018-10-17 22:03:31 -06:00
FusionPBX 711e008b3a Update v_xml_cdr_import.php 2018-10-17 15:45:23 -06:00
FusionPBX dc2925e922 Update v_xml_cdr_import.php 2018-10-17 15:41:14 -06:00
FusionPBX 9eb861e971 Update v_xml_cdr_import.php 2018-07-02 21:01:37 -06:00
FusionPBX 6a46b541dc Update v_xml_cdr_import.php 2018-05-19 16:59:24 -06:00
FusionPBX eaea0d53c5 Update v_xml_cdr_import.php 2018-05-09 16:48:20 -06:00
FusionPBX 910ba8fd08 Update v_xml_cdr_import.php 2018-04-22 11:51:36 -06:00
FusionPBX 093f9d3f0a Update v_xml_cdr_import.php 2018-04-18 16:29:57 -06:00
FusionPBX 37a83627ce Update v_xml_cdr_import.php 2018-04-18 11:52:45 -06:00
FusionPBX fcda5def50 Update v_xml_cdr_import.php 2018-03-15 23:21:56 -06:00
FusionPBX 14155c1ded Update v_xml_cdr_import.php 2018-02-23 08:40:25 -07:00
FusionPBX 11bfa81edd Update v_xml_cdr_import.php 2018-02-13 10:17:14 -07:00
FusionPBX e6a5299593 Update v_xml_cdr_import.php 2018-02-05 13:26:30 -07:00
FusionPBX 0703fce4d2 Update v_xml_cdr_import.php 2018-01-29 17:30:12 -07:00
FusionPBX 8e4fb530fa Update v_xml_cdr_import.php 2017-10-20 18:02:58 -06:00
FusionPBX 23428c82ee Update v_xml_cdr_import.php 2017-10-20 17:57:57 -06:00
FusionPBX 5497ac121e Update v_xml_cdr_import.php 2017-10-20 16:46:29 -06:00
FusionPBX 27dd6fec90 Update v_xml_cdr_import.php 2017-10-15 11:50:09 -06:00
FusionPBX ed9719d821 Update v_xml_cdr_import.php 2017-10-15 11:38:49 -06:00
FusionPBX 70c645810a Update v_xml_cdr_import.php 2017-10-05 12:51:13 -06:00
FusionPBX 62eb855819 Update v_xml_cdr_import.php 2017-09-22 19:23:39 -06:00
FusionPBX 0c8f962488 Update v_xml_cdr_import.php 2017-09-22 19:05:24 -06:00
FusionPBX d6e382d5c4 Update v_xml_cdr_import.php 2017-09-14 17:25:51 -05:00
FusionPBX 539944a527 Update v_xml_cdr_import.php 2017-09-11 02:46:50 -05:00
FusionPBX 8cfef14a4b Update v_xml_cdr_import.php 2017-09-11 01:34:31 -05:00
FusionPBX bf1d52d4e8 Update v_xml_cdr_import.php 2017-09-11 01:26:58 -05:00
FusionPBX 449bad348e Update v_xml_cdr_import.php 2017-09-10 13:13:18 -06:00
FusionPBX a922a3532a Update v_xml_cdr_import.php 2017-09-10 11:54:24 -06:00
FusionPBX b0bef2fc80 Update v_xml_cdr_import.php 2017-06-21 19:34:06 -06:00
Alexey Melnichuk 9050da03cc Add. Handle `b` legs in CDR. (#2626)
* Add. Handle `b` legs in CDR.

CDR list/statistic by default handle only `a` legs.
So it prevent display wrong result when b-leg turn on.
Add ability to write to db `b` legs only for specific call directions.

To be able see b-legs in CDR need set xml_cdr_b_leg permission.
To add specific call direction to filter need add element to `cdr/b_leg/array` in default/domain settings.

* Add. `b_leg` to defalut settings.
2017-06-02 22:31:20 -06:00
FusionPBX 52bb56fdf2 Update v_xml_cdr_import.php 2017-05-29 15:14:38 -06:00
FusionPBX a787715900 Update v_xml_cdr_import.php 2017-05-29 10:48:30 -06:00
FusionPBX 06f8010854 Update v_xml_cdr_import.php 2016-12-22 21:10:22 -07:00
FusionPBX 0c600c9df8 Update v_xml_cdr_import.php 2016-12-22 20:50:09 -07:00
FusionPBX ea4ef9b9c4 Update v_xml_cdr_import.php 2016-12-21 14:14:45 -07:00
FusionPBX 97681298cc Update v_xml_cdr_import.php 2016-09-03 20:48:27 -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
markjcrane ee3ae4b7c2 If last_sent_callee_id_number is set use it as the destination_number. 2016-06-01 16:45:50 -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
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
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
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -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 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
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