Commit Graph

211 Commits

Author SHA1 Message Date
DanB
dcb4fa77e0 Adding CdrHost to StoredCdr out of OsipsEvent 2014-07-27 10:21:25 +02:00
DanB
96d1775dd1 Adding AsStoredCdr method 2014-07-26 17:05:12 +02:00
DanB
a1d96d805e Initial SM-OpenSIPS and OpenSIPSEvent parsing with tests 2014-07-26 14:23:36 +02:00
DanB
e93b8a6c6f engine.Responder with ProcessCdr method, moved cdrs and mediator to engine 2014-07-25 17:44:50 +02:00
DanB
48bbe1af89 FS SessionManager - Timeout should be after connect, ticket #26 2014-07-21 19:21:25 +02:00
DanB
3c4a247052 Adding min_callduration option in session manager 2014-07-16 11:34:51 +02:00
DanB
d47e1bf53b DerivedCharging run filters are now chained 2014-07-11 10:28:01 +02:00
DanB
22670e12a8 Logic to handle multiple derived charging run filters inside mediator and session manager 2014-07-09 15:21:42 +02:00
DanB
0986c1371b Adding ev.PassesFieldFilter tests 2014-07-09 13:39:57 +02:00
DanB
3a8d78e798 fsevent.ParseEventValue tests refactored to cope with time differences on different build machines 2014-07-09 12:57:06 +02:00
DanB
b5f26c00b8 Changed cgrid hash to build using SetupTime.UTC() 2014-07-09 12:31:45 +02:00
DanB
7bdd49b649 StoredCdr.PassesFieldFilter with grouping in regexp rules, fsevent with PassesFieldFilter method for derived charging 2014-07-08 14:32:20 +02:00
DanB
a13ebf828c Disabling derived charging filter in session manager until better implementation 2014-07-07 18:17:09 +02:00
DanB
362d2d4b22 Disabling debug message for derived charging filter in mediator 2014-07-07 18:16:21 +02:00
DanB
31b421c755 Loader for derived charging filters, using derived chargers filters within mediator and session manager, filter implementation inside StoredCdr 2014-07-07 11:34:23 +02:00
DanB
9b37e97cc2 RunFilter in DerivedChargers, ParseEventValue accepting RSRField in FreeSWITCH event 2014-07-04 20:05:27 +02:00
DanB
d3835067cf Session manager fixups for derived charging 2014-06-16 17:58:25 +02:00
DanB
222602dfff Postpaid calls no longer handled by session manager 2014-06-16 11:26:05 +02:00
DanB
c973ea99e2 Fixups CdrExporter, derived charging should not transfer but kill the session if errors onAnswer 2014-06-15 12:22:06 +02:00
DanB
66d9377c53 DerivedChargers DurationField -> UsageField 2014-05-19 10:21:20 +02:00
Radu Ioan Fericean
ede467c899 Merge branch 'lcr'
Conflicts:
	engine/calldesc.go
	engine/handler_derivedcharging.go
	mediator/mediator.go
	utils/apitpdata.go
2014-04-29 14:20:15 +03: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
DanB
e39187eab9 TOR -> Category in relation with DerivedCharging 2014-04-28 12:06:42 +02:00
Radu Ioan Fericean
509e3cde45 refactoring fixses 2014-04-26 01:52:15 +03:00
Radu Ioan Fericean
9d0f252aad lcr load and torfield to categoryfield 2014-04-26 01:45:51 +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
2a253892c5 Refactoring the code around derived charging to support integration with responder for internal requests, some of the copyright headers updated with new slogan 2014-04-23 20:48:43 +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
Radu Ioan Fericean
d6f601e9ab use increments compression 2014-04-08 20:47:28 +03: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
37b21d2bb5 Fixup re-cache in case of SetRatingProfile api 2014-03-13 17:01:02 +01:00
DanB
e09cc8527e Empty call costs in session should not be saved since they break 2014-03-12 19:00:21 +01:00
DanB
3f30cdb7ed Concurrency fixup on saveOperations in emulation mode 2014-03-08 18:34:22 +01:00
DanB
b9681f2d1c Adding checkConfigSanity integrated in config type 2014-03-08 17:37:02 +01: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
edf5007f9e Session manager following api changes in FSock 2014-01-29 11:02:37 +01:00
DanB
9210b20924 Fmt on sources :( 2014-01-25 10:49:00 +01:00
DanB
30681fa7d4 FS-CSV Tutorial updates 2014-01-12 19:15:00 +01:00
DanB
c6bbd32298 Adding pseudoprepaid in session manager un-park 2014-01-12 18:54:04 +01:00
DanB
157ef5359b Merge branch 'master' of https://github.com/cgrates/cgrates 2014-01-12 18:37:40 +01:00