Commit Graph

285 Commits

Author SHA1 Message Date
TeoV
39d276b6d4 In agents use AsCGREvent function for freeswitch and kamailio 2018-05-09 17:36:05 +02:00
DanB
180ad31f5c Diameter integrating AttributeS/ResourceS/Suppliers/Threshold APIs, fixes #999 2018-05-07 18:50:28 +02:00
DanB
979bdd1be1 Diameter agent refactoring to use new SessionSv1 APIs as well as CGRReply in responses 2018-05-07 18:50:28 +02:00
DanB
63cb392b98 RadiusAgent procVars.AsV1APIArgs 2018-05-07 18:50:28 +02:00
TeoV
3a3989c507 Update agents/kamevent_test.go 2018-04-24 16:41:24 +02:00
TeoV
66909f9eeb Clean the code 2018-04-24 16:41:24 +02:00
TeoV
bbc2f5d90a Finish call test for Kamailio 2018-04-24 16:41:24 +02:00
TeoV
e82d9f41f8 Update kamailio config 2018-04-24 16:41:24 +02:00
DanB
b11da1dc23 Radius integration test with data converters and *cgrReply 2018-04-17 19:38:43 +02:00
DanB
eabacead26 CGRReply with data converters within radius agent 2018-04-17 19:28:16 +02:00
DanB
02c93a248c Radius - use > as separator within Vendor attribute selection, so we can be consistent 2018-04-17 13:49:35 +02:00
TeoV
a5f77d5a8b Add config for dispatcher 2018-04-12 14:04:52 +02:00
TeoV
734a551903 Add SuppliersMaxCost in freeswtich and kaamailio , fixes #1039 , fixes #1036 2018-04-10 13:50:37 +02:00
DanB
ae233df00b KamailioAgent: hash_id and hash_entry not longer reserved in events 2018-03-23 10:12:50 +01:00
TeoV
65a1ed19bd Update errors for freeswitch 2018-03-16 18:17:20 +01:00
TeoV
6c07d0bf11 Update Test correlation between FsEvent->SMGEvent.CgrID and FsCdr 2018-03-14 15:13:00 +01:00
TeoV
dcbfd518d4 Add Test correlation between FsEvent->SMGEvent.CgrID and FsCdr 2018-03-14 15:13:00 +01:00
Anevo
2cd6877915 CDR Cost source to *cdrs and *sessions 2018-03-14 15:12:35 +01:00
TeoV
eeee8b9945 Add cgr_acd variable in freeswitch (used for GetSuppliers) 2018-03-12 16:15:15 +01:00
TeoV
6204d66dcd Update integration test after last commit 2018-03-12 16:15:15 +01:00
TeoV
0c6bd8cf81 Send event from SessionS to StatS 2018-03-09 15:19:49 +01:00
TeoV
bb9c5400eb Rename in session ProcessThreshold -> ProcessThresholds 2018-03-07 15:25:57 +01:00
TeoV
1338e43edb Use utils.BoolPointer for populate args.ProcessThreshold in fsevent and kamevent 2018-03-07 15:25:57 +01:00
TeoV
eb8bcd7508 Add event from SessionS to ThresholdS 2018-03-07 15:25:57 +01:00
DanB
e196c5db14 KamailioAgent - don't process events where we cannot generate SessionS arguments 2018-03-06 18:54:25 +01:00
TeoV
0f597a2b5b Use utils.BoolPointer for populate args.ProcessThreshold in fsevent and kamevent 2018-03-05 18:05:50 +01:00
TeoV
6d382048df Add event from SessionS to ThresholdS 2018-03-05 18:05:50 +01:00
TeoV
66c3abfe6a Update integration test to be sync with go 1.10 2018-02-19 16:57:25 +01:00
TeoV
6f4a0025dd Update test for go 1.10 and update travis to run on go 1.10 2018-02-19 16:57:25 +01:00
DanB
a1cacadcc4 Adding cgr_host in FreeSWITCH events to solve CGRID when traffic flows over 2 different interfaces 2018-02-18 09:48:01 +01:00
DanB
f1e3e5822d Adding extra fields in events translated inside FreeSWITCH Agent 2018-02-17 16:36:39 +01:00
TeoV
296ef1bf97 Avoid panic error for Attributes (Substitute:*none) and update test with new modify 2018-02-15 14:42:54 +01:00
DanB
b6a1f0a1db KamailioAgent - Usage value mangling instead of header 2018-02-09 20:11:22 +01:00
DanB
4b50e29337 KamailioAgent with s as Usage 2018-02-09 18:58:59 +01:00
TeoV
e1508a0a29 Add more test for agents/librad.go 2018-02-09 12:33:28 +01:00
DanB
a617484722 Automatic usage in case of Suppliers 2018-02-07 09:49:03 +01:00
TeoV
823e2147d2 One conversion for FSEv -> CGREvent and KamEv -> CGREvent 2018-02-06 16:09:54 +01:00
DanB
ba570b5661 SupplierS costForEvent considering SetupTime instead of answer one 2018-02-05 19:05:29 +01:00
DanB
5b2b28d633 Simplified asterisk agent Call method 2018-02-05 17:41:46 +01:00
DanB
7d7865c0cb Radius *usage_seconds, reflect IfaceAsFloat64 method 2018-02-05 10:00:35 +01:00
DanB
a230f032d8 Radius processorVars with *cgrReply support to retrieve values in templates 2018-02-05 10:00:35 +01:00
DanB
a3e14effc3 RadiusAgent with CGRReply in templates 2018-02-05 10:00:35 +01:00
DanB
1f7bfa00cc Fix SessionDisconnect call on FreeSWITCH and Kamailio agents, adding CGRReply structure 2018-02-05 10:00:35 +01:00
TeoV
9ed38da866 Fixes #937 2018-02-02 10:03:35 +01:00
TeoV
6aa8ee90f7 Update Kamailio and Freeswitch agent (SessionSv1ProcessCDR need CGREvent as parameter) 2018-02-01 17:10:07 +01:00
TeoV
3be693fcac Add test for all methods of FSEvent and KamEvent 2018-02-01 12:30:05 +01:00
TeoV
8fc4c3a39b Clean Code On FSEvent 2018-01-31 18:31:07 +01:00
TeoV
976cd20713 SM_Cost -> SessionsCost and update FSEvent and KamEvent 2018-01-31 18:31:07 +01:00
TeoV
8d1e7b327c Test FsEvent AsMapStringInterface 2018-01-31 11:32:45 +01:00
edwardro22
47476bdbf0 Fixed integration tests 2018-01-29 12:11:24 +01:00