Commit Graph

80 Commits

Author SHA1 Message Date
DanB
685b0b1e63 Moving Server into utils so we can access it from SM also 2015-10-29 09:40:58 +01:00
DanB
4ee1200c64 CDRS not processing CDR further if it cannot store it (eg on duplicates), fixes #243 2015-10-18 19:48:50 +02:00
DanB
77316a16e4 First cut of SureTax implementation, with integration tests 2015-10-18 19:42:56 +02:00
DanB
831e633281 Compress a bit GetFileName of CdrReplicationCfg 2015-10-13 12:43:33 +02:00
DanB
af1d8e3cc5 Small modifications on CDR rplication, http_text does not make much sense 2015-10-13 12:34:33 +02:00
Eloy Coto
140ef92928 Issue #234:
Added http_post and http_text on Cdrs Replication
    Added as default 1 attemps in cdrs_replication (Old json version
    doesn't have this option)
    Added url scape on servername when file fallback is created. If not
    can't be created
2015-10-09 15:15:02 +01:00
DanB
abbfd8270c Rated and Cost fields inside derived charging 2015-10-05 08:33:27 +02:00
DanB
2e61fcf5bb HttpPoster implementation in CDR replication and actions with call_url, new configuration parameters added: http_failed_dir, replication attempts, fixes #201, Rated bug fix in CDRC, Cost imported via CDRC in templates now 2015-10-02 18:13:29 +02:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
Radu Ioan Fericean
33176caae3 return callcost with -1 cost on error 2015-09-29 12:42:20 +03:00
DanB
50197116df Moved aliasing for CDRs into CdrServer to have it centralized for other methods pushing CDRs 2015-09-19 21:21:22 +02:00
Radu Ioan Fericean
631ca167a6 added LoadAlias method and used it in responder
fixes #177
2015-09-18 13:32:19 +03:00
Radu Ioan Fericean
95a091f936 started using glide for vendor packages 2015-09-17 13:25:30 +03:00
Radu Ioan Fericean
fd63470916 added timer for guardian lock
fixes #172
2015-09-14 21:22:12 +03:00
Radu Ioan Fericean
0a1fc7d96d added new connections to cdrs service 2015-09-04 16:59:36 +03:00
DanB
22018d21ce Remove .Debug from CDRs 2015-08-26 15:45:21 +02:00
DanB
263311cab1 DefaultTimezone configuration fix for cdrs_primary table 2015-08-26 14:52:09 +02:00
DanB
5dd828810b Remove debug log from replicateCdr 2015-08-24 11:15:15 +02:00
DanB
cf3cdc8530 Default fields fix for cdrs.processCdr 2015-08-22 18:31:34 +02:00
DanB
e8fb0e8395 Make sure empty subject will use account data in CDRS requests 2015-08-20 13:26:02 +02:00
DanB
1efd09a655 Configurable default_timezone for timestamps which are missing it, fixes #149, fixes #108 2015-08-19 12:15:28 +02:00
DanB
9bd7ef2c37 SM-FreeSWITCH: fix postpaid calls not being allowed out, Various local test fixes and preparations for release 2015-07-31 16:29:46 +02:00
DanB
a158793845 UserS methods in both CallDescriptor and StoredCdr, fixes #129 2015-07-29 17:11:40 +02:00
DanB
0261252b69 Add LoadUserProfile in the CDRs core 2015-07-29 12:32:17 +02:00
DanB
3b2668b22c Revert "Removing CDR replication debug statements"
This reverts commit d74784206b.
2015-07-24 15:05:29 +02:00
DanB
d74784206b Removing CDR replication debug statements 2015-07-23 13:12:02 +02:00
DanB
5c073f5164 Add *http_post replication for CDRs, fixes #121 2015-07-17 18:18:29 +02:00
Radu Ioan Fericean
e89c06952e renamed AccLock to Guardian 2015-07-10 23:28:53 +03:00
DanB
840c46ef1a Populate Subject with Account information when missing, fixes #78 2015-07-08 11:37:26 +02:00
Radu Ioan Fericean
3a637d12f4 removed cdrs debug logging 2015-06-24 11:24:05 +03:00
Radu Ioan Fericean
abdb6ff1f6 better debug logging 2015-06-19 09:28:53 +03:00
Radu Ioan Fericean
1ae2020c0f some debugging info 2015-06-18 19:40:21 +03:00
DanB
1e006c3ad3 Fix guard 2015-06-18 18:15:03 +02:00
DanB
97805baa0b Adding guard back to CDRS 2015-06-18 18:10:55 +02:00
DanB
9b8dcd4ffd Remove .Debug statements from CDRS 2015-06-18 16:59:11 +02:00
DanB
0b9753ad79 CDRS to only process rawCdr synchronously and all the rest async to speed up the process and avoid struct locks - if any 2015-06-18 16:57:15 +02:00
DanB
4fdc4bfd87 Remove .Debug messages in CDRS 2015-06-17 19:45:45 +02:00
DanB
3d8be3c60b Adding async processing to the CDRs out of http interface, lock checkDuplicate in CDRS 2015-06-17 19:34:41 +02:00
DanB
07f43532ed Delay without fib() 2015-06-17 18:45:18 +02:00
DanB
2c7bad2230 Adding some more debug 2015-06-17 18:06:30 +02:00
DanB
89149ecf0b LogCallCost should check error by type and not message 2015-06-17 17:41:10 +02:00
DanB
dbf88f0896 Adding debug info for #97 2015-06-17 16:38:29 +02:00
DanB
dbf49f2aae Add prepaid to getCostFromRater for recalculation when no costs from session manager 2015-06-17 14:26:58 +02:00
DanB
7fd136eaf2 Merge branch 'master' of https://github.com/cgrates/cgrates 2015-06-17 11:59:45 +02:00
DanB
ca19583f81 Small CDRS fix, reported issue in #97, adding free minutes example in tutorial TP, adding some more tests in fs tutorial 2015-06-17 11:59:32 +02:00
Radu Ioan Fericean
fcb5fee2fc normal test passing 2015-06-16 22:09:10 +03:00
DanB
61d9919df6 Simplified rateCdr in CDRS 2015-06-16 17:26:14 +02:00
DanB
9e0b234d55 Active synchronization for channels between CGR and FreeSWITCH, adding new channel_sync_interval configuration in session manager, should fix and close #77 2015-06-15 19:31:19 +02:00
DanB
2d440a046d FreeSWITCH cgr_computelcr channel variable processing, fix logging of callcosts from session manager, improved tutorial_fs testing 2015-06-14 19:02:58 +02:00
Radu Ioan Fericean
9ffc2a4715 refactored errors 2015-06-13 16:45:09 +03:00