{"action":"created","issue":{"url":"https://api.github.com/repos/cgrates/cgrates/issues/1024","repository_url":"https://api.github.com/repos/cgrates/cgrates","labels_url":"https://api.github.com/repos/cgrates/cgrates/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/cgrates/cgrates/issues/1024/comments","events_url":"https://api.github.com/repos/cgrates/cgrates/issues/1024/events","html_url":"https://github.com/cgrates/cgrates/issues/1024","id":307198902,"number":1024,"title":"ApierV2.GetCdrs produces \"error\": \"SERVER_ERROR: invalid character '\\\"' after top-level value\"","user":{"login":"Rolfr57","id":34366088,"avatar_url":"https://avatars0.githubusercontent.com/u/34366088?v=4","gravatar_id":"","url":"https://api.github.com/users/Rolfr57","html_url":"https://github.com/Rolfr57","followers_url":"https://api.github.com/users/Rolfr57/followers","following_url":"https://api.github.com/users/Rolfr57/following{/other_user}","gists_url":"https://api.github.com/users/Rolfr57/gists{/gist_id}","starred_url":"https://api.github.com/users/Rolfr57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rolfr57/subscriptions","organizations_url":"https://api.github.com/users/Rolfr57/orgs","repos_url":"https://api.github.com/users/Rolfr57/repos","events_url":"https://api.github.com/users/Rolfr57/events{/privacy}","received_events_url":"https://api.github.com/users/Rolfr57/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"TeoV","id":30497669,"avatar_url":"https://avatars2.githubusercontent.com/u/30497669?v=4","gravatar_id":"","url":"https://api.github.com/users/TeoV","html_url":"https://github.com/TeoV","followers_url":"https://api.github.com/users/TeoV/followers","following_url":"https://api.github.com/users/TeoV/following{/other_user}","gists_url":"https://api.github.com/users/TeoV/gists{/gist_id}","starred_url":"https://api.github.com/users/TeoV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeoV/subscriptions","organizations_url":"https://api.github.com/users/TeoV/orgs","repos_url":"https://api.github.com/users/TeoV/repos","events_url":"https://api.github.com/users/TeoV/events{/privacy}","received_events_url":"https://api.github.com/users/TeoV/received_events","type":"User","site_admin":false},"assignees":[{"login":"TeoV","id":30497669,"avatar_url":"https://avatars2.githubusercontent.com/u/30497669?v=4","gravatar_id":"","url":"https://api.github.com/users/TeoV","html_url":"https://github.com/TeoV","followers_url":"https://api.github.com/users/TeoV/followers","following_url":"https://api.github.com/users/TeoV/following{/other_user}","gists_url":"https://api.github.com/users/TeoV/gists{/gist_id}","starred_url":"https://api.github.com/users/TeoV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeoV/subscriptions","organizations_url":"https://api.github.com/users/TeoV/orgs","repos_url":"https://api.github.com/users/TeoV/repos","events_url":"https://api.github.com/users/TeoV/events{/privacy}","received_events_url":"https://api.github.com/users/TeoV/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-21T11:00:33Z","updated_at":"2018-03-21T11:22:10Z","closed_at":null,"author_association":"NONE","body":"CGRateS 0.9.1~rc8 git+192ecfd (2018-02-06T14:23:30+02:00) \r\n\r\nHi.\r\nHello, we are trying to dump cdrs for all accounts belonging to a tenant using jsonrpc(ApierV2.GetCdrs)\r\n\r\nThis call now results in an error:\r\n{\r\n  \"params\": [\r\n    {\r\n      \"Tenants\": [\r\n        \"ActionCoach\"\r\n      ],\r\n      \"Accounts\": [\r\n      ],\r\n      \"TimeStart\": \"2015-06-24T13:24:26+02:00\",\r\n      \"TimeEnd\": \"2018-03-20T13:24:26+01:00\",\r\n      \"Limit\": 100,\r\n      \"Offset\": 0\r\n    }\r\n  ],\r\n  \"id\": 0,\r\n  \"method\": \"ApierV2.GetCdrs\"\r\n}\r\n\r\nThis worked for previous version of CGRateS we had. Now we use:\r\nCGRateS 0.9.1~rc8 git+192ecfd (2018-02-06T14:23:30+02:00) \r\n\r\nWe have also started cgrates in the foreground with loglevel=7 to std out. Nothing at all to see here.\r\n(cgr-engine -config_dir=/etc/cgrates -log_level=7 -logger=*stdout)\r\n\r\nIf we limit the cdr-search to known accounts, everything seems to work fine. If we remove the limitation we get an error:\r\n{\r\n    \"id\": 0,\r\n    \"result\": null,\r\n    \"error\": \"SERVER_ERROR: invalid character '\\\"' after top-level value\"\r\n}\r\nAlso it seems the value of tenant is irrelevant as long as it is a valid one. I.e. we get the same error regardless what name tenant we put in. If we enter a value not corresponding to a tenant we simply get (as expected):\r\n{\r\n    \"id\": 0,\r\n    \"result\": null,\r\n    \"error\": \"NOT_FOUND\"\r\n}\r\n\r\nThis example call works seemingly as expected:\r\n{\r\n  \"params\": [\r\n    {\r\n      \"Tenants\": [\r\n        \"ActionCoach\"\r\n      ],\r\n      \"Accounts\": [\r\n          \"441216676475\",\r\n          \"441474887699\",\r\n          \"441934808467\",\r\n          \"441934808468\",\r\n          \"441234480706\",\r\n          \"441934808466\",\r\n          \"442038770018\",\r\n          \"442038770019\",\r\n          \"441223750358\",\r\n          \"441244470872\",\r\n          \"441234817960\"\r\n      ],\r\n      \"TimeStart\": \"2015-06-24T13:24:26+02:00\",\r\n      \"TimeEnd\": \"2018-03-20T13:24:26+01:00\",\r\n      \"Limit\": 100,\r\n      \"Offset\": 0\r\n    }\r\n  ],\r\n  \"id\": 0,\r\n  \"method\": \"ApierV2.GetCdrs\"\r\n}"},"comment":{"url":"https://api.github.com/repos/cgrates/cgrates/issues/comments/374905229","html_url":"https://github.com/cgrates/cgrates/issues/1024#issuecomment-374905229","issue_url":"https://api.github.com/repos/cgrates/cgrates/issues/1024","id":374905229,"user":{"login":"Rolfr57","id":34366088,"avatar_url":"https://avatars0.githubusercontent.com/u/34366088?v=4","gravatar_id":"","url":"https://api.github.com/users/Rolfr57","html_url":"https://github.com/Rolfr57","followers_url":"https://api.github.com/users/Rolfr57/followers","following_url":"https://api.github.com/users/Rolfr57/following{/other_user}","gists_url":"https://api.github.com/users/Rolfr57/gists{/gist_id}","starred_url":"https://api.github.com/users/Rolfr57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rolfr57/subscriptions","organizations_url":"https://api.github.com/users/Rolfr57/orgs","repos_url":"https://api.github.com/users/Rolfr57/repos","events_url":"https://api.github.com/users/Rolfr57/events{/privacy}","received_events_url":"https://api.github.com/users/Rolfr57/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T11:22:10Z","updated_at":"2018-03-21T11:22:10Z","author_association":"NONE","body":"Config:\r\n{\r\n\r\n// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments\r\n// Copyright (C) ITsysCOM GmbH\r\n\r\n\"general\": {\r\n//\t\"default_request_type\": \"*prepaid\",\r\n\t\"logger\": \"*syslog\",\t\t// controls the destination of logs <*syslog|*stdout>\r\n\t\"log_level\": 7,\r\n},\r\n\r\n\"stor_db\": {\r\n\t\"db_type\": \"mysql\",\r\n\t\"db_host\": \"127.0.0.1\",\r\n\t\"db_port\": 3306,                     // the port to reach the stordb\r\n        \"db_name\": \"cgrates\",                // stor database name\r\n        \"db_user\": \"cgrates\", \r\n\t\"db_password\": \"CGRateS.org\",\r\n},\r\n\r\n\r\n\"rals\": {\r\n\t\"enabled\": true,\r\n\t\"cdrstats_conns\": [\r\n\t\t{\"address\": \"*internal\"}\r\n\t],\r\n\t\"pubsubs_conns\": [\r\n\t\t{\"address\": \"*internal\"}\r\n\t],\r\n\t\"users_conns\": [\r\n\t\t{\"address\": \"*internal\"}\r\n\t],\r\n\t\"aliases_conns\": [\r\n\t\t{\"address\": \"*internal\"}\r\n\t],\r\n},\r\n\r\n\"listen\": {\r\n        \"rpc_json\": \"10.40.2.21:2012\",                  // RPC JSON listening address\r\n        \"rpc_gob\": \"10.40.2.21:2013\",                   // RPC GOB listening address\r\n        \"http\": \"10.30.2.21:2080\",                      // HTTP listening address\r\n},\r\n\r\n\"http\": {\r\n\t\"json_rpc_url\": \"/jsonrpc\",\r\n\t\"ws_url\": \"/ws\",\r\n\t\"use_basic_auth\": false,\r\n//\t\"auth_users\": {},\t\t\t// basic authentication usernames and base64-encoded passwords (eg: { \"username1\": \"cGFzc3dvcmQ=\", \"username2\": \"cGFzc3dvcmQy \" })\r\n},\r\n\r\n\r\n\"scheduler\": {\r\n\t\"enabled\": true,\r\n},\r\n\r\n\r\n\"cdrs\": {\r\n\t\"enabled\": true,\t\t\t// start the CDR Server service:  <true|false>\r\n\t\"cdrstats_conns\": [\r\n\t\t{\"address\": \"*internal\"}\r\n\t],\r\n},\r\n\r\n\r\n\"cdrstats\": {\r\n\t\"enabled\": true,\t\t\t// starts the cdrstats service: <true|false>\r\n},\r\n\r\n\r\n\"cdre\": {\r\n\t\"*default\": {\r\n\t\t\"cdr_format\": \"csv\",\t\t// exported CDRs format <csv>\r\n\t\t\"field_separator\": \",\",\r\n\t\t\"data_usage_multiply_factor\": 1,\t// multiply data usage before export (eg: convert from KBytes to Bytes)\r\n\t\t\"sms_usage_multiply_factor\": 1,\t\t// multiply data usage before export (eg: convert from SMS unit to call duration in some billing systems)\r\n        \"generic_usage_multiply_factor\": 1,\t\t// multiply data usage before export (eg: convert from GENERIC unit to call duration in some billing systems)\r\n\t\t\"cost_multiply_factor\": 1,\t\t// multiply cost before export, eg: add VAT\r\n\t\t\"cost_rounding_decimals\": -1,\t\t\t\t\t// rounding decimals for Cost values. -1 to disable rounding\r\n\t\t\"cost_shift_digits\": 0,\t\t\t\t\t\t\t// shift digits in the cost on export (eg: convert from EUR to cents)\r\n\t\t\"mask_destination_id\": \"MASKED_DESTINATIONS\",\t// destination id containing called addresses to be masked on export\r\n\t\t\"mask_length\": 0,\t\t\t\t\t\t\t\t// length of the destination suffix to be masked\r\n\t\t\"export_dir\": \"/tmp/cgr_osipsnative/cgrates/cdre\",\t\t\t// path where the exported CDRs will be placed\r\n\t\t\"header_fields\": [],\t\t\t\t\t\t\t// template of the exported header fields\r\n\t\t\"content_fields\": [\t\t\t\t\t\t\t\t// template of the exported content fields\r\n\t\t\t{\"tag\": \"CgrId\", \"type\": \"*composed\", \"value\": \"CGRID\"},\r\n\t\t\t{\"tag\":\"RunId\", \"type\": \"*composed\", \"value\": \"RunID\"},\r\n\t\t\t{\"tag\":\"Tor\", \"type\": \"*composed\", \"value\": \"ToR\"},\r\n\t\t\t{\"tag\":\"AccId\", \"type\": \"*composed\", \"value\": \"OriginID\"},\r\n\t\t\t{\"tag\":\"ReqType\", \"type\": \"*composed\", \"value\": \"RequestType\"},\r\n\t\t\t{\"tag\":\"Direction\", \"type\": \"*composed\", \"value\": \"Direction\"},\r\n\t\t\t{\"tag\":\"Tenant\", \"type\": \"*composed\", \"value\": \"Tenant\"},\r\n\t\t\t{\"tag\":\"Category\", \"type\": \"*composed\", \"value\": \"Category\"},\r\n\t\t\t{\"tag\":\"Account\", \"type\": \"*composed\", \"value\": \"Account\"},\r\n\t\t\t{\"tag\":\"Subject\", \"type\": \"*composed\", \"value\": \"Subject\"},\r\n\t\t\t{\"tag\":\"Destination\", \"type\": \"*composed\", \"value\": \"Destination\"},\r\n\t\t\t{\"tag\":\"SetupTime\", \"type\": \"*datetime\", \"value\": \"SetupTime\", \"layout\": \"2006-01-02T15:04:05Z07:00\"},\r\n\t\t\t{\"tag\":\"AnswerTime\", \"type\": \"*datetime\", \"value\": \"AnswerTime\", \"layout\": \"2006-01-02T15:04:05Z07:00\"},\r\n\t\t\t{\"tag\":\"Usage\", \"type\": \"*composed\", \"value\": \"Usage\"},\r\n\t\t\t{\"tag\":\"Cost\", \"type\": \"*composed\", \"value\": \"Cost\"},\r\n\t\t],\r\n\t\t\"trailer_fields\": [],\t\t\t\t\t\t\t// template of the exported trailer fields\r\n\t},\r\n\t\"customer_tpl\": {\r\n\t\t\"cdr_format\": \"csv\",\t\t\t\t\t\t\t// exported CDRs format <csv>\r\n\t\t\"field_separator\": \";\",\r\n\t\t\"data_usage_multiply_factor\": 1,\t\t\t\t// multiply data usage before export (eg: convert from KBytes to Bytes)\r\n\t\t\"sms_usage_multiply_factor\": 1,\t\t\t\t\t// multiply data usage before export (eg: convert from SMS unit to call duration in some billing systems)\r\n        \"generic_usage_multiply_factor\": 1,\t\t\t\t\t// multiply data usage before export (eg: convert from GENERIC unit to call duration in some billing systems)\r\n\t\t\"cost_multiply_factor\": 1,\t\t\t\t\t\t// multiply cost before export, eg: add VAT\r\n\t\t\"cost_rounding_decimals\": -1,\t\t\t\t\t// rounding decimals for Cost values. -1 to disable rounding\r\n\t\t\"cost_shift_digits\": 0,\t\t\t\t\t\t\t// shift digits in the cost on export (eg: convert from EUR to cents)\r\n\t\t\"mask_destination_id\": \"MASKED_DESTINATIONS\",\t// destination id containing called addresses to be masked on export\r\n\t\t\"mask_length\": 0,\t\t\t\t\t\t\t\t// length of the destination suffix to be masked\r\n\t\t\"export_directory\": \"/tmp/cgr_osipsnative/cgrates/cdre\",\t\t\t// path where the exported CDRs will be placed\r\n\t\t\"header_fields\": [],\t\t\t\t\t\t\t// template of the exported header fields\r\n\t\t\"content_fields\": [\t\t\t\t\t\t\t\t// template of the exported content fields\r\n\t\t\t{\"tag\": \"CgrId\", \"type\": \"*composed\", \"value\": \"CGRID\"},\r\n\t\t\t{\"tag\":\"AccId\", \"type\": \"*composed\", \"value\": \"OriginID\"},\r\n\t\t\t{\"tag\":\"ReqType\", \"type\": \"*composed\", \"value\": \"RequestType\"},\r\n\t\t\t{\"tag\":\"Tenant\", \"type\": \"*composed\", \"value\": \"Tenant\"},\r\n\t\t\t{\"tag\":\"Category\", \"type\": \"*composed\", \"value\": \"Category\"},\r\n\t\t\t{\"tag\":\"Subject\", \"type\": \"*composed\", \"value\": \"Account\"},\r\n\t\t\t{\"tag\":\"Destination\", \"type\": \"*datetime\", \"value\": \"~Destination:s/^1(\\\\d+)/+$1/:s/^\\\\+(\\\\d+)/00$1/\"},\r\n\t\t\t{\"tag\":\"AnswerTime\", \"type\": \"*datetime\", \"value\": \"AnswerTime\", \"layout\": \"2006-01-02T15:04:05Z07:00\"},\r\n\t\t\t{\"tag\":\"Usage\", \"type\": \"*composed\", \"value\": \"Usage\"},\r\n\t\t\t{\"tag\":\"Cost\", \"type\": \"*composed\", \"value\": \"Cost\"},\r\n\t\t],\r\n\t\t\"trailer_fields\": [],\r\n\t},\r\n},\r\n\r\n\r\n\"pubsubs\": {\r\n\t\"enabled\": true,\t\t\t\t// starts PubSub service: <true|false>.\r\n},\r\n\r\n\r\n\"aliases\": {\r\n\t\"enabled\": true,\t\t\t\t// starts PubSub service: <true|false>.\r\n},\r\n\r\n\r\n\"users\": {\r\n\t\"enabled\": true,\t\t\t\t// starts User service: <true|false>.\r\n\t\"indexes\": [\"Uuid\"],\t\t\t// user profile field indexes\r\n},\r\n\r\n\r\n\"sessions\": {\r\n\t\"enabled\": true,\r\n\t\"listen_bijson\": \"10.40.2.21:2014\",\r\n\t\"rals_conns\": [\r\n\t\t{\"address\": \"*internal\"}\t\t\t// address where to reach the RALs <\"\"|*internal|127.0.0.1:2013>\r\n\t],\r\n\t\"cdrs_conns\": [\r\n\t\t{\"address\": \"*internal\"}\t\t\t// address where to reach CDR Server, empty to disable CDR capturing <*internal|x.y.z.y:1234>\r\n\t],\r\n\t\"debit_interval\": \"30s\",\r\n\t\"max_call_duration\": \"6h\",\r\n\t\"client_protocol\": 0,\r\n},\r\n\r\n}\r\n\r\nCDRs:\r\n\r\nid;cgrid;run_id;origin_host;source;origin_id;tor;request_type;tenant;category;account;subject;destination;setup_time;answer_time;usage;extra_fields;cost_source;cost;cost_details;extra_info;created_at;updated_at;deleted_at\r\n1166;3105b77ee6ab1049abd0838396bdc2079dd52a4a;*charge;;SMG_;ddb9e43-5c700bd9-2266dc-7f637b8d2ce8-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Price1GBP;4,41234E+11;21.03.2018 10:45;21.03.2018 10:45;42000000000;\"{\"\"DisconnectCause\"\":\"\"Downstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Price1GBP\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234331356\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:45:05+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:45:47+01:00\"\",\"\"Cost\"\":0,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":42000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":null,\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":42}],\"\"RoundIncrement\"\":null,\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Price1GBP\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_PRICE1_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":42000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.37017,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:45;21.03.2018 10:45;\\N\r\n1167;7002c2fa6142a0f61342c21a413812eef2688726;*raw;;SMG_;7e545de5-6388ffd3-226781-7f637b8dc168-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Simetric;4,41234E+11;21.03.2018 10:47;21.03.2018 10:48;1,27E+11;\"{\"\"DisconnectCause\"\":\"\"Downstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";;-1;null;;21.03.2018 10:50;21.03.2018 10:50;\\N\r\n1168;7002c2fa6142a0f61342c21a413812eef2688726;*default;;SMG_;7e545de5-6388ffd3-226781-7f637b8dc168-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Simetric;4,41234E+11;21.03.2018 10:47;21.03.2018 10:48;1,27E+11;\"{\"\"DisconnectCause\"\":\"\"Downstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0,0077;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Simetric\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234360187\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0.00762,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:48:03+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:50:10+01:00\"\",\"\"Cost\"\":0.00762,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0.0035,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":127000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0.00006,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Value\"\":-0.37779,\"\"RateInterval\"\":null},\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":127}],\"\"RoundIncrement\"\":{\"\"Duration\"\":0,\"\"Cost\"\":0.00008000000000000021,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Value\"\":-0.37779,\"\"RateInterval\"\":null},\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":0},\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Simetric\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_Simetric_COST_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":127000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.37779,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:50;21.03.2018 10:50;\\N\r\n1169;7002c2fa6142a0f61342c21a413812eef2688726;*charge;;SMG_;7e545de5-6388ffd3-226781-7f637b8dc168-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Price1GBP;4,41234E+11;21.03.2018 10:47;21.03.2018 10:48;1,27E+11;\"{\"\"DisconnectCause\"\":\"\"Downstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Price1GBP\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234360187\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:48:03+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:50:10+01:00\"\",\"\"Cost\"\":0,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":127000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":null,\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":127}],\"\"RoundIncrement\"\":null,\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Price1GBP\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_PRICE1_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":127000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.37788,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:50;21.03.2018 10:50;\\N\r\n1170;ef7c720fa51746608591fdbc47ea466070321f9a;*raw;;SMG_;b083fc4-d4f44fd-226854-7f637b8df2e8-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Simetric;4,41234E+11;21.03.2018 10:51;21.03.2018 10:51;82000000000;\"{\"\"DisconnectCause\"\":\"\"Upstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";;-1;null;;21.03.2018 10:52;21.03.2018 10:52;\\N\r\n1171;ef7c720fa51746608591fdbc47ea466070321f9a;*default;;SMG_;b083fc4-d4f44fd-226854-7f637b8df2e8-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Simetric;4,41234E+11;21.03.2018 10:51;21.03.2018 10:51;82000000000;\"{\"\"DisconnectCause\"\":\"\"Upstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0,005;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Simetric\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234364446\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0.00492,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:51:23+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:52:45+01:00\"\",\"\"Cost\"\":0.00492,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0.0035,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":82000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0.00006,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Value\"\":-0.3828,\"\"RateInterval\"\":null},\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":82}],\"\"RoundIncrement\"\":{\"\"Duration\"\":0,\"\"Cost\"\":0.00008000000000000021,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Value\"\":-0.3828,\"\"RateInterval\"\":null},\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":0},\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Simetric\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_Simetric_COST_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":82000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.3828,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:52;21.03.2018 10:52;\\N\r\n1172;ef7c720fa51746608591fdbc47ea466070321f9a;*charge;;SMG_;b083fc4-d4f44fd-226854-7f637b8df2e8-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Price1GBP;4,41234E+11;21.03.2018 10:51;21.03.2018 10:51;82000000000;\"{\"\"DisconnectCause\"\":\"\"Upstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Price1GBP\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234364446\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:51:23+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:52:45+01:00\"\",\"\"Cost\"\":0,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":82000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":null,\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":82}],\"\"RoundIncrement\"\":null,\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Price1GBP\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_PRICE1_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":82000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.38288,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:52;21.03.2018 10:52;\\N\r\n1173;56ca3285bd079fea53879434b7db9e1fafb5d144;*raw;;SMG_;66e517a3-99720f0-2268cd-7f637b8e2468-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Simetric;4,41234E+11;21.03.2018 10:53;21.03.2018 10:53;77000000000;\"{\"\"DisconnectCause\"\":\"\"Upstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";;-1;null;;21.03.2018 10:54;21.03.2018 10:54;\\N\r\n1174;56ca3285bd079fea53879434b7db9e1fafb5d144;*default;;SMG_;66e517a3-99720f0-2268cd-7f637b8e2468-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Simetric;4,41234E+11;21.03.2018 10:53;21.03.2018 10:53;77000000000;\"{\"\"DisconnectCause\"\":\"\"Upstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0,0047;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Simetric\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234343264\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0.00462,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:53:25+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:54:42+01:00\"\",\"\"Cost\"\":0.00462,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0.0035,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":77000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0.00006,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Value\"\":-0.3875,\"\"RateInterval\"\":null},\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":77}],\"\"RoundIncrement\"\":{\"\"Duration\"\":0,\"\"Cost\"\":0.00008000000000000021,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Value\"\":-0.3875,\"\"RateInterval\"\":null},\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":0},\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Simetric\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_Simetric_COST_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":77000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.3875,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:54;21.03.2018 10:54;\\N\r\n1175;56ca3285bd079fea53879434b7db9e1fafb5d144;*charge;;SMG_;66e517a3-99720f0-2268cd-7f637b8e2468-4102280a-13ca-7217;*voice;*postpaid;ActionCoach;call;4,41234E+11;Price1GBP;4,41234E+11;21.03.2018 10:53;21.03.2018 10:53;77000000000;\"{\"\"DisconnectCause\"\":\"\"Upstream BYE\"\",\"\"EmailAddress\"\":\"\"ipco-support@ipco.no\"\"}\";CDRS;0;\"{\"\"Direction\"\":\"\"*out\"\",\"\"Category\"\":\"\"call\"\",\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"Subject\"\":\"\"Price1GBP\"\",\"\"Account\"\":\"\"441234480706\"\",\"\"Destination\"\":\"\"441234343264\"\",\"\"TOR\"\":\"\"*voice\"\",\"\"Cost\"\":0,\"\"Timespans\"\":[{\"\"TimeStart\"\":\"\"2018-03-21T10:53:25+01:00\"\",\"\"TimeEnd\"\":\"\"2018-03-21T10:54:42+01:00\"\",\"\"Cost\"\":0,\"\"RateInterval\"\":{\"\"Timing\"\":{\"\"Years\"\":[],\"\"Months\"\":[],\"\"MonthDays\"\":[],\"\"WeekDays\"\":[1,2,3,4,5,6,0],\"\"StartTime\"\":\"\"00:00:00\"\",\"\"EndTime\"\":\"\"\"\"},\"\"Rating\"\":{\"\"ConnectFee\"\":0,\"\"RoundingMethod\"\":\"\"*up\"\",\"\"RoundingDecimals\"\":4,\"\"MaxCost\"\":0,\"\"MaxCostStrategy\"\":\"\"\"\",\"\"Rates\"\":[{\"\"GroupIntervalStart\"\":0,\"\"Value\"\":0,\"\"RateIncrement\"\":1000000000,\"\"RateUnit\"\":60000000000}]},\"\"Weight\"\":10},\"\"DurationIndex\"\":77000000000,\"\"Increments\"\":[{\"\"Duration\"\":1000000000,\"\"Cost\"\":0,\"\"BalanceInfo\"\":{\"\"Unit\"\":null,\"\"Monetary\"\":null,\"\"AccountID\"\":\"\"ActionCoach:441234480706\"\"},\"\"CompressFactor\"\":77}],\"\"RoundIncrement\"\":null,\"\"MatchedSubject\"\":\"\"*out:ActionCoach:call:Price1GBP\"\",\"\"MatchedPrefix\"\":\"\"44\"\",\"\"MatchedDestId\"\":\"\"DST_44\"\",\"\"RatingPlanId\"\":\"\"RP_PRICE1_GBP\"\",\"\"CompressFactor\"\":1}],\"\"RatedUsage\"\":77000000000,\"\"AccountSummary\"\":{\"\"Tenant\"\":\"\"ActionCoach\"\",\"\"ID\"\":\"\"441234480706\"\",\"\"BalanceSummaries\"\":[{\"\"UUID\"\":\"\"de4b7824-1ec9-4235-a337-fb1305a67104\"\",\"\"ID\"\":\"\"1\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":0,\"\"Disabled\"\":false},{\"\"UUID\"\":\"\"3fe44d52-6b8b-4854-bdbd-c41afc7f9a3f\"\",\"\"ID\"\":\"\"*default\"\",\"\"Type\"\":\"\"*monetary\"\",\"\"Value\"\":-0.38758,\"\"Disabled\"\":false}],\"\"AllowNegative\"\":false,\"\"Disabled\"\":false}}\";;21.03.2018 10:54;21.03.2018 10:54;\\N\r\n\r\n"}}
{"actor":{"display_login":"Rolfr57"}}