Commit Graph

80 Commits

Author SHA1 Message Date
DanB
3bc9f0e4cd DisconnecCause in StoredCdr and DerivedCharging 2015-05-13 23:42:29 +02:00
DanB
aee3486a9c Initial setLcr implementation in SM-FreeSWITCH 2015-04-27 18:10:40 +02:00
DanB
e4dc69755a Parsing of the Supplier from switch events 2015-04-04 18:55:30 +02:00
DanB
133e99ee23 Add utils.ReflectFuncLocation, remove debug for account locks 2015-04-03 17:59:40 +02:00
DanB
60754e86c0 Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-27 18:32:36 +01:00
DanB
7677a5ff89 Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication 2015-03-27 18:29:28 +01:00
DanB
531b58e2ef SMFS - Adding sip_req_user as destination due to special cases like transfer, couple of tests more for session manager connections 2015-03-25 19:21:41 +01:00
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
96d4b6c28b Multiple SessionManagers started out out of the same engine, configuration refactoring completed for SessionManagers 2015-03-06 20:55:31 +01:00
DanB
10bbf73596 DisconnectSession with event instead of uuid to be more flexible in components where uuid is not enough to kill dialog (eg kamailio) 2015-01-01 16:59:35 +01:00
DanB
ea3a9e6dee Responder.GetSessionRuns, SM-Kamailio with prepaid support 2015-01-01 15:57:21 +01:00
DanB
ff60061a84 Event interface containing AsEvent instead of New, for better readability outside of sessionmanager package, storedCdr supporting event interface for testing purposes, Responder.GetDerivedMaxSessionTime tests 2014-12-22 18:47:12 +01:00
DanB
3c2c21e990 Responder.GetDerivedMaxSessionTime with build in derived charging calculation 2014-12-22 08:29:05 +01:00
DanB
fb019955ca Adding Kamevent parsing 2014-12-21 11:42:41 +01:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
DanB
178e02efb9 Removing logging introduced for Mo's tests 2014-10-16 19:58:07 +02:00
DanB
d5f67b1490 Log duration returned with error 2014-10-16 19:34:39 +02:00
DanB
ddfbc88cdf Adding some importers 2014-10-16 19:19:24 +02:00
DanB
f9807bbcb0 More logging 2014-10-16 19:18:21 +02:00
DanB
ad69920c29 FSExtraFields fix, thanks DigiDaz 2014-08-25 14:10:40 +02:00
DanB
71a932e343 FS Event parsing cgr_category instead of cgr_tor, zero FS configuration support for passive billing scenarios 2014-08-05 16:03:02 +02:00
DanB
8017af8aab Changed cgrid hash to build using SetupTime.UTC() 2014-07-11 18:12:51 +03:00
DanB
14c613150f StoredCdr.PassesFieldFilter with grouping in regexp rules, fsevent with PassesFieldFilter method for derived charging 2014-07-11 18:12:50 +03:00
DanB
c904343280 RunFilter in DerivedChargers, ParseEventValue accepting RSRField in FreeSWITCH event 2014-07-11 18:12:49 +03:00
DanB
d3835067cf Session manager fixups for derived charging 2014-06-16 17:58:25 +02:00
Radu Ioan Fericean
fcdc0c03c7 Merge branch 'data'
Conflicts:
	engine/calldesc.go
	mediator/mediator.go
	sessionmanager/fssessionmanager.go
	utils/storedcdr.go
2014-04-29 14:13:48 +03:00
Radu Ioan Fericean
48de7f3c30 Merge branch 'master' into refactor
Conflicts:
	sessionmanager/fssessionmanager.go
	sessionmanager/session.go
2014-04-25 21:42:48 +03:00
Radu Ioan Fericean
25cb5be8c0 refactor CallDuration in DurationIndex and TOR in Category 2014-04-25 21:16:21 +03:00
DanB
330fb7b894 Fixup duration parsing, adding some tests 2014-04-25 19:35:59 +02:00
DanB
1953bf4233 Adding META_DEFAULT to FSevent parsing 2014-04-24 19:44:28 +02:00
DanB
90ab47ade9 Session manager refactoring to work with derived charging 2014-04-24 13:39:52 +02:00
DanB
05e4772f6d Fixup SM parse time bug discovered by DigiDaz, adding some more tests 2014-04-18 18:03:05 +02:00
DanB
4e1776d6fd Discarding FS microseconds information, reverting to seconds since MySQL errors in older versions and default FS csv file uses seconds 2014-04-11 17:12:27 +02:00
DanB
f2eade654c ExportDir as parameter to export api 2014-04-10 13:45:02 +02:00
DanB
9fcf43f8b4 Corelate CgrIds between FS answer_event and FsJsonCdr 2014-04-09 12:23:56 +02:00
DanB
a7b71bae43 Fixup CgrId in FS-SM 2014-04-08 21:30:23 +02:00
DanB
a3fff42338 FsCgrId -> Sha1, making the CgrId even more uniquely by hashing it with setup time 2014-04-08 17:51:18 +02:00
DanB
8d61099de1 SessionManager - Multiple sessions emulated out of one request to support scenarios like reseller chains 2014-03-08 16:22:22 +01:00
DanB
5ae7a18283 Adding setupTime to CDRs for later stats calculation 2014-03-06 15:47:39 +01:00
DanB
dd2eb2f97a session_manager/event interface with field filter, preparing for multiple sessions 2014-02-17 16:25:22 +01:00
DanB
092853d571 Adding StorCdr type, removing unused CDR interface methods 2013-11-08 18:37:07 +01:00
DanB
f07a0cc885 Fixing mediator and related for postpaid rating into storDb 2013-08-07 06:20:56 +02:00
DanB
d1fd3e4e09 Changing OUT-> *out everywhere, tests fscdr 2013-08-04 13:17:55 +02:00
Radu Ioan Fericean
8fac5a1ff1 cstmid to tenant 2013-08-02 17:46:07 +03:00
Radu Ioan Fericean
4a9c4eff43 fs event returning *out 2013-08-02 17:01:42 +03:00
DanB
a75c2e7324 Mediator refactoring to support CDR as imput instead of csv row - adding separation of names and indexes, StartTime->AnswerTime, adding reqtype=rated 2013-06-06 12:37:36 +02:00
DanB
e3154f5824 Adding new parameters to config, improved testing of config 2013-05-23 13:43:33 +02:00
DanB
83ef5b6d6f Adding CDRS configuration, better handling and testing of the defaults 2013-05-22 12:32:30 +02:00
Radu Ioan Fericean
d7f666e323 more refactorings and cdr test 2013-05-19 20:06:08 +03:00