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
2015-07-02 00:17:15 -06:00
2015-01-26 18:32:08 +00:00
2014-04-09 04:36:17 +00:00
Description
No description provided
925 MiB
Languages
PHP 80%
JavaScript 16.6%
Lua 3.2%