Commit Graph

117 Commits

Author SHA1 Message Date
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
DanB
d0a1a564c6 Merge branch 'master' of https://github.com/cgrates/cgrates 2015-11-12 12:50:26 +01:00
Radu Ioan Fericean
3e3e525de5 return -UNAUTHORIZED_DESTINATION when rp not found
fixes #277
2015-11-12 13:06:30 +02:00
DanB
ad6099ac73 Adding SMGExternalConnections, renaming some of the SMG related structs for clearer code 2015-11-12 11:48:24 +01:00
DanB
8dca50972f Adding skel for SMGenericV1 integration tests 2015-11-10 10:05:19 +01:00
DanB
f0cbc0262b GetEndTime in Event interface gets fieldName and timezone as parameters 2015-11-09 09:47:20 +01:00
Radu Ioan Fericean
73685bb336 better rounding in callcost 2015-11-08 15:12:36 +02:00
DanB
d9ab417d87 Refectored session locking inside SM-FreeSWITCH, fixes #271 2015-11-01 12:36:26 +01:00
Radu Ioan Fericean
f6ccd50bb5 update callcost to use rounded timespans cost
should provide a fix for #260
2015-10-28 09:21:50 +02:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
Radu Ioan Fericean
ffb86e703e fixes after merge 2015-09-08 18:03:42 +03:00
Radu Ioan Fericean
a009ede334 Merge branch 'master' into hapool 2015-08-19 13:59:38 +03:00
DanB
1efd09a655 Configurable default_timezone for timestamps which are missing it, fixes #149, fixes #108 2015-08-19 12:15:28 +02:00
Radu Ioan Fericean
eef3ab763b one more debug log removed 2015-07-23 11:43:48 +03:00
Radu Ioan Fericean
951392cfa6 one more debug log removed 2015-07-23 11:43:15 +03:00
Radu Ioan Fericean
7d302691b6 created connector pool 2015-07-17 19:27:53 +03:00
Radu Ioan Fericean
99cf2cbd91 remove debug logging 2015-07-16 21:10:34 +03:00
Radu Ioan Fericean
4f142abc4b better logging just to make sure 2015-07-16 20:10:47 +03:00
Radu Ioan Fericean
cd8d42fc68 fix for duration index 2015-07-16 20:08:43 +03:00
Radu Ioan Fericean
e462f2051d fixes for refund operation 2015-07-16 19:47:43 +03:00
Radu Ioan Fericean
2ba3ce8ca3 fixing and logging 2015-07-16 19:42:51 +03:00
Radu Ioan Fericean
3e3861768e refund logging 2015-07-16 19:12:43 +03:00
Radu Ioan Fericean
60a3e1a9e3 logging all the way 2015-07-16 17:35:41 +03:00
Radu Ioan Fericean
994c3bf76a full loging for merged callcosts 2015-07-16 15:25:18 +03:00
Radu Ioan Fericean
d5ca85573f added call details logging 2015-07-16 10:58:13 +03:00
DanB
4fdc4bfd87 Remove .Debug messages in CDRS 2015-06-17 19:45:45 +02:00
DanB
2c7bad2230 Adding some more debug 2015-06-17 18:06:30 +02:00
Radu Ioan Fericean
fcb5fee2fc normal test passing 2015-06-16 22:09:10 +03:00
DanB
aa84cf23cd ActiveSession in sessionmanager 2015-06-15 10:54:30 +02:00
Radu Ioan Fericean
9ffc2a4715 refactored errors 2015-06-13 16:45:09 +03:00
Radu Ioan Fericean
78764e9979 refund tests 2015-06-10 14:40:20 +03:00
Radu Ioan Fericean
e0e89ef852 check for callcost log existance 2015-06-09 22:12:21 +03:00
Radu Ioan Fericean
56986230ad refund everything on duplicate callcost log 2015-06-09 21:02:08 +03:00
Radu Ioan Fericean
ab9280dbe5 first draft of stale sessions protection 2015-06-09 14:37:48 +03: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
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