Commit Graph

81 Commits

Author SHA1 Message Date
DanB
5043de5d17 Completing the SM-OpenSIPS component based on E_ACC_EVENT and E_ACC_MISSED_EVENT with automatic CDR generation 2015-05-10 19:31:08 +02:00
DanB
5ce11a28a3 Action *cdrlog to StorDb, moved GetCallCost and LogCallCost in CdrStorage, local tests for *cdrlog 2015-04-29 19:50:03 +02:00
Radu Ioan Fericean
93b4872db9 set max cost so far in session manager 2015-03-23 16:58:12 +02: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
f3354080fc Responder.GetDerivedMaxSessionTime and GetSessionRuns now taking concrete types as parameters instead of interfaces for easy RPC integration, added fs_evsock tutorial files, removed fs_csv and fs_json to keep tutorial simple to maintain 2015-03-10 12:04:40 +01:00
DanB
cb2ab3224b Refactored FreeSWITCH SessionManager to make use of multiple connections, give up sharing of configuration at package level, make better use of interfaces to communicate with Sessions 2015-03-06 17:30:12 +01:00
DanB
6d4844afcf Fix ApierV1.LoadTariffPlanFromFolder on non-existent folder (thanks @catokx), increased category field to 32 char in SQL tables 2015-03-05 12:15:22 +01:00
DanB
db4a146924 Part two - fix session initialization leading to nil pointer error in session manager, refactored tutorial init scripts, use /tmp as run_dir 2015-03-04 18:29:47 +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
3c2c21e990 Responder.GetDerivedMaxSessionTime with build in derived charging calculation 2014-12-22 08:29:05 +01:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
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