Commit Graph

68 Commits

Author SHA1 Message Date
DanB
fc546fe6b6 Adding FSMinDurLowBalance, FSLowBalanceAnnFile,FSEmptyBalanceContext, FSEmptyBalanceAnnFile and logic behind to support playing annoucements and transfers before disconnecting prepaid calls within FreeSWITCH SessionManager 2014-07-28 20:02:51 +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
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
90ab47ade9 Session manager refactoring to work with derived charging 2014-04-24 13:39:52 +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
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
c6bbd32298 Adding pseudoprepaid in session manager un-park 2014-01-12 18:54:04 +01:00
Radu Ioan Fericean
f6758d0d0f More fixes for debit loop call duration 2014-01-12 19:34:56 +02:00
Radu Ioan Fericean
995cfd9785 fixed debit loop callend issue 2014-01-12 19:08:47 +02:00
DanB
b3a3c1f599 Adding runid in logdb 2013-12-27 10:26:02 +01:00
Radu Ioan Fericean
7632a8f14e tests passing on get max session time 2013-10-04 16:18:28 +03:00
Radu Ioan Fericean
1ee31ca004 started rating unit implementation 2013-09-09 22:16:07 +03:00
Radu Ioan Fericean
c3102e8375 reverted too using time sleep instead of a ticker because of the loop execution order 2013-08-23 15:54:29 +03:00
Radu Ioan Fericean
0785874357 call duration fixes and switch relative start/end time 2013-08-07 13:37:25 +03:00
Radu Ioan Fericean
6c79fd2092 rater lib changed to engine 2013-07-24 13:38:45 +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
b2d8f40360 Adding FreeSWITCH documentation in the miscelaneous section 2013-04-21 13:55:24 +02:00
Radu Ioan Fericean
26b5ac0779 initial code for loop index and call duration 2013-04-15 18:36:06 +03:00
DanB
1f7f79def8 Mediator modify to support db only rates, bug fixup on passing references to indexes, config modification with default indexes pointing to -1/db logs, mongodb as default logdb storage 2013-04-12 19:01:09 +02:00
DanB
2e649e7330 Adding prepaid1centpsec rate sample files 2013-04-11 15:29:30 +02:00
DanB
44d5ef8854 BUG fixup on calls which were started previous to CGRateS start 2013-04-10 14:37:48 +02:00
Radu Ioan Fericean
659d1d5d9e copyright ITsysCOM 2013-03-25 12:54:06 +02:00
Radu Ioan Fericean
79cb4bb6cc better shutdown 2012-10-10 16:12:42 +03:00
Radu Ioan Fericean
db08f7e146 better loging 2012-10-10 11:49:53 +03:00
Radu Ioan Fericean
0c23c3b7c9 hidden fsock inside package 2012-10-06 12:58:43 +03:00
Radu Ioan Fericean
0ed72bea3a renamed timespans package to rater 2012-10-01 15:23:10 +03:00
Radu Ioan Fericean
8af3a7c2c8 added source for logging operations 2012-09-24 15:55:17 +03:00
Radu Ioan Fericean
36cf1bd4c7 more notify messages 2012-09-19 15:15:43 +03:00
Radu Ioan Fericean
d410735156 different start ime feilds 2012-09-19 13:11:06 +03:00
Radu Ioan Fericean
49564501a3 improved call handling with reqtype 2012-09-14 18:57:39 +03:00
Radu Ioan Fericean
dcf8c427a9 started postgres storage 2012-08-14 00:51:48 +03:00
Radu Ioan Fericean
06c6e2989f only try to log if logger != nil 2012-08-10 20:09:55 +03:00
Radu Ioan Fericean
0e45c2f7e7 susing syslog logger in session manager 2012-08-06 15:29:36 +03:00
Radu Ioan Fericean
be8442fc6e sm test passing again 2012-08-03 18:53:11 +03:00
Radu Ioan Fericean
65b88190d8 if there is no account found in the answer event leve the call alone 2012-08-03 15:38:34 +03:00
Radu Ioan Fericean
a04f53fbd2 added in session aswell 2012-08-03 13:21:43 +03:00
Radu Ioan Fericean
3b410b6caa protection for empty callcosts again 2012-08-03 11:20:34 +03:00
Radu Ioan Fericean
21a94a8499 using global logger database 2012-07-31 13:05:25 +03:00
Radu Ioan Fericean
fb40cbdd19 added account atribute to callcost 2012-07-13 16:41:33 +03:00
Radu Ioan Fericean
1ff3548d9e updated command line tools 2012-07-07 11:04:17 +03:00
Radu Ioan Fericean
846fce4b27 commands compilable again, worked on debit action 2012-07-03 18:14:59 +03:00