Commit Graph

131 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
DanB
720a26f6ca cgr_reqtype=*none to disable request processing in session manager 2015-04-28 18:36:09 +02:00
DanB
aee3486a9c Initial setLcr implementation in SM-FreeSWITCH 2015-04-27 18:10:40 +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
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
df767aa142 Avoid concurrency in case of hangup coming in before answer for prepaid calls 2015-03-09 13:44:53 +01:00
DanB
d2cb001051 Fix session manager not properly reading events in multi connection mode 2015-03-09 13:34:17 +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
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
DanB
bcb7848c5b Skel of kamailio session manager 2014-12-19 18:55:01 +01:00
DanB
178e02efb9 Removing logging introduced for Mo's tests 2014-10-16 19:58:07 +02:00
DanB
da2b1275f7 Small fix debug 2014-10-16 18:56:42 +02:00
DanB
d379726cc5 Log in groups 2014-10-16 18:56:10 +02:00
DanB
53a1b07016 Adding some more log for Mo's case 2014-10-16 18:33:37 +02:00
DanB
879a86aa04 Adding log to session manager for Mo's troubleshooting 2014-10-16 14:17:29 +02:00
DanB
bba82e7c91 SM-FreeSWITCH: process all CDRs instead of just prepaid/pseudoprepaid, adding cdrstats to tariffplans/tutorial folder 2014-08-13 14:38:08 +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
7abf8cb12c SM-OpenSIPS with AUTHORIZATION for pseudoprepaid support implementation, sample opensips.cfg configuration 2014-07-30 17:28:59 +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
a1d96d805e Initial SM-OpenSIPS and OpenSIPSEvent parsing with tests 2014-07-26 14:23:36 +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
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
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
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
Radu Ioan Fericean
d6f601e9ab use increments compression 2014-04-08 20:47:28 +03: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