Commit Graph

171 Commits

Author SHA1 Message Date
Shane Neuerburg
6c05c42c44 Add command line flag to cgr-engine for logging levels
This adds a new -log_level flag to cgr-engine, defaulting to 5 (INFO). The logger has been extended to drop log messages that do not meet or exceed the log level requested.
2016-10-21 19:31:24 -06:00
DanB
3bd6ec39bd Decouple authorization from lcr in SM-FreeSWITCH, fixes #567 2016-10-20 13:39:01 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
0e264073e3 Alpha implementation for ResourceLimiter, fixes #317 2016-08-08 00:55:24 +02:00
DanB
fe27ee6430 Adding ResourceLimiter within SMFreeSWITCH code 2016-08-07 23:21:23 +02:00
DanB
8369c3829d Adding RLsConns into SMFreeSWITCH 2016-08-07 17:58:12 +02:00
Marcin Kowalczyk
5fa1e01c9f There is an issue with empty_balance_context, type of dialplan is missing so transfer cannot be executed. Proper syntax for uuid transfer between contexts:
freeswitch@freeswitch> uuid_transfer
-USAGE: <uuid> [-bleg|-both] <dest-exten> [<dialplan>] [<context>]

On FS 1.6.7 when calling uuid_transfer without XML before context call is failed with No route to destination
2016-07-04 12:40:07 +02:00
DanB
c8a86788ae CDRs - cache ProcessCdr API 2016-06-15 18:13:32 +02:00
DanB
db99459f62 Fix for SM-FreeSWITCH and SM-Kamailio generating CDRs for prepaid sessions 2016-05-20 09:36:28 +02:00
DanB
0cdc986163 Fix build on hapool 2016-04-22 17:00:05 +02:00
DanB
31456e2a9c Fix merge conflicts, improving creation of new rpc pool 2016-03-24 09:18:38 +01:00
DanB
06d1c8271e Merging master, fixing conflicts 2016-01-06 14:52:29 +01:00
DanB
b1d2cc0195 DiameterAgent create_cdr option 2016-01-05 10:07:05 +01:00
DanB
303f43e9ba SM-FS Cleanup sessions when loosing connection to FS, fixes #282 2016-01-04 13:55:49 +01:00
DanB
a5155e7e27 SM-FS: MaxWaitConnection config parameter 2016-01-04 13:21:23 +01:00
Radu Ioan Fericean
2ae475b355 Merge branch 'master' into hapool 2015-12-31 18:04:13 +02:00
Radu Ioan Fericean
a43a695a3b cdrs expose rpc methods 2015-12-23 00:18:16 +02:00
DanB
79d554fa60 Refactoring StoredCdr->CDR, fixes #312 2015-12-05 18:16:28 +01:00
Radu Ioan Fericean
b36d5cdb1d Merge branch 'master' into hapool 2015-11-30 20:12:41 +02:00
Brice Heppner
0328f065bd Detect active single-leg channels 2015-11-30 12:15:56 +00:00
Radu Ioan Fericean
ffdd960d39 cache all calls from session manager 2015-11-27 14:46:51 +02:00
Radu Ioan Fericean
f68dc3fcfd using rpc client instead of connector 2015-11-25 19:27:01 +02:00
rinor
53a8b80ed3 small fix: log and function name
- sessionmanager/fssessionmanager.go : fix log
- cmd/cgr-engine/cgr-engine.go       : rename RegisterHanlersToServer to RegisterHandlersToServer
- engine/cdrs.go                     : rename RegisterHanlersToServer to RegisterHandlersToServer
2015-11-23 22:50:31 +01:00
DanB
2ee6802d4c Query costs for 0 duration prepaid calls in CDRS, fixes #290 2015-11-18 09:24:23 +01:00
DanB
6ba5887b37 Adding timezone in Event.MissingParams function 2015-11-09 13:03:23 +01:00
DanB
d9ab417d87 Refectored session locking inside SM-FreeSWITCH, fixes #271 2015-11-01 12:36:26 +01:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
DanB
1efd09a655 Configurable default_timezone for timestamps which are missing it, fixes #149, fixes #108 2015-08-19 12:15:28 +02:00
DanB
c638683756 Paginator for GetLcr requests 2015-08-04 21:38:05 +02:00
DanB
9bd7ef2c37 SM-FreeSWITCH: fix postpaid calls not being allowed out, Various local test fixes and preparations for release 2015-07-31 16:29:46 +02:00
DanB
61d9919df6 Simplified rateCdr in CDRS 2015-06-16 17:26:14 +02:00
DanB
d24c5a1872 Ident simplify in syncactivecalls of SM 2015-06-15 19:36:36 +02:00
DanB
9e0b234d55 Active synchronization for channels between CGR and FreeSWITCH, adding new channel_sync_interval configuration in session manager, should fix and close #77 2015-06-15 19:31:19 +02:00
DanB
a33422f224 Initial SessionManagerV1 API methods 2015-06-14 21:24:49 +02:00
DanB
2d440a046d FreeSWITCH cgr_computelcr channel variable processing, fix logging of callcosts from session manager, improved tutorial_fs testing 2015-06-14 19:02:58 +02:00
DanB
276695b37d Processing cgr_ignorepark channel variable for SM-FreeSWITCH 2015-06-12 10:42:32 +02:00
DanB
b984360548 Adding subscribe_park configuration in sm-freeswitch 2015-06-11 19:15:04 +02:00
Radu Ioan Fericean
78764e9979 refund tests 2015-06-10 14:40:20 +03:00
DanB
8b0811267e Adding CreateCdr parameter to session manager 2015-06-09 12:23:15 +02:00
Radu Ioan Fericean
afea97d0b5 use cdrs for callcost logging 2015-06-09 11:45:30 +03:00
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