Commit Graph

90 Commits

Author SHA1 Message Date
DanB
ea8cef96f5 SM-FreeSWITCH - parse variable_* in extra fields 2015-08-20 12:14:40 +02:00
DanB
8ddf45f64b SM-FreeSWITCH config change, cdr_extra_fields -> extra_fields, using them now also in auth and lcr requests, fixes #150 2015-08-20 09:13:10 +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
ad682a5aed LcrReq parameter change StartTime->SetupTime for uniformity with MaxUsageReq 2015-08-13 12:16:30 +02:00
DanB
816d3aac64 Small fix import 2015-07-16 13:14:40 +02:00
DanB
5e8e9ef93f SM-FS: Disable request processing in case of process_cdr=false or dialplan=inline 2015-07-16 12:57:04 +02:00
DanB
e110b00c6c Make sure we produce the same CDR from both channel_hangup_complete and json CDR, closes #92 2015-07-07 19:45:32 +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
200e419dcd Adding Pdd inside StorDb and events 2015-06-05 14:56:39 +02:00
DanB
3bc9f0e4cd DisconnecCause in StoredCdr and DerivedCharging 2015-05-13 23:42:29 +02:00
DanB
aee3486a9c Initial setLcr implementation in SM-FreeSWITCH 2015-04-27 18:10:40 +02:00
DanB
e4dc69755a Parsing of the Supplier from switch events 2015-04-04 18:55:30 +02:00
DanB
133e99ee23 Add utils.ReflectFuncLocation, remove debug for account locks 2015-04-03 17:59:40 +02:00
DanB
60754e86c0 Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-27 18:32:36 +01:00
DanB
7677a5ff89 Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication 2015-03-27 18:29:28 +01:00
DanB
531b58e2ef SMFS - Adding sip_req_user as destination due to special cases like transfer, couple of tests more for session manager connections 2015-03-25 19:21:41 +01: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
96d4b6c28b Multiple SessionManagers started out out of the same engine, configuration refactoring completed for SessionManagers 2015-03-06 20:55:31 +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
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
DanB
178e02efb9 Removing logging introduced for Mo's tests 2014-10-16 19:58:07 +02:00
DanB
d5f67b1490 Log duration returned with error 2014-10-16 19:34:39 +02:00
DanB
ddfbc88cdf Adding some importers 2014-10-16 19:19:24 +02:00
DanB
f9807bbcb0 More logging 2014-10-16 19:18:21 +02:00
DanB
ad69920c29 FSExtraFields fix, thanks DigiDaz 2014-08-25 14:10:40 +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
8017af8aab Changed cgrid hash to build using SetupTime.UTC() 2014-07-11 18:12:51 +03:00
DanB
14c613150f StoredCdr.PassesFieldFilter with grouping in regexp rules, fsevent with PassesFieldFilter method for derived charging 2014-07-11 18:12:50 +03:00
DanB
c904343280 RunFilter in DerivedChargers, ParseEventValue accepting RSRField in FreeSWITCH event 2014-07-11 18:12:49 +03:00
DanB
d3835067cf Session manager fixups for derived charging 2014-06-16 17:58:25 +02:00
Radu Ioan Fericean
fcdc0c03c7 Merge branch 'data'
Conflicts:
	engine/calldesc.go
	mediator/mediator.go
	sessionmanager/fssessionmanager.go
	utils/storedcdr.go
2014-04-29 14:13:48 +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
1953bf4233 Adding META_DEFAULT to FSevent parsing 2014-04-24 19:44:28 +02:00
DanB
90ab47ade9 Session manager refactoring to work with derived charging 2014-04-24 13:39:52 +02:00
DanB
05e4772f6d Fixup SM parse time bug discovered by DigiDaz, adding some more tests 2014-04-18 18:03:05 +02:00
DanB
4e1776d6fd Discarding FS microseconds information, reverting to seconds since MySQL errors in older versions and default FS csv file uses seconds 2014-04-11 17:12:27 +02:00
DanB
f2eade654c ExportDir as parameter to export api 2014-04-10 13:45:02 +02:00
DanB
9fcf43f8b4 Corelate CgrIds between FS answer_event and FsJsonCdr 2014-04-09 12:23:56 +02:00
DanB
a7b71bae43 Fixup CgrId in FS-SM 2014-04-08 21:30:23 +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
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