Commit Graph

4904 Commits

Author SHA1 Message Date
Dan Christian Bogos
9ca2817c8a Merge pull request #558 from razvancrainea/master
/var/log/cgrates directory is no longer created and used
2016-10-05 13:30:08 +02:00
Razvan Crainea
4216c5f061 /var/log/cgrates directory is no longer created and used
Since the directory is no longer created, the postinstall script fails
and the package cannot be installed.

A temporary fix is to manually create the directory, but it is no longer
used anyway in the config file.
2016-10-05 11:34:54 +03:00
DanB
d427aecde5 Simplified failover for redis, should hanle also timeouts 2016-10-04 18:24:30 +02:00
DanB
ed4a14805b Redis pool - Lock on close 2016-10-04 17:40:48 +02:00
DanB
db61fb7b67 Redis close connections on pool reinit, thanks @eloycoto 2016-10-04 17:39:20 +02:00
DanB
fd0cc1717e Improved redis reconnects 2016-10-04 17:16:20 +02:00
Dan Christian Bogos
e2030470e2 Merge pull request #551 from eloycoto/redis-client
Redis: Added method to reconnect on redis if any IOErr reply. Fix #543
2016-10-04 13:39:37 +02:00
DanB
836994c30b RSRFilter test for non empty value 2016-10-04 12:39:46 +02:00
DanB
22177b7519 Link towards AsteriskARI tutorial 2016-10-03 20:59:39 +02:00
DanB
a14e1c5d7b AsteriskARI tutorial files 2016-10-03 20:53:18 +02:00
DanB
214d2b926f Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-03 15:58:13 +02:00
DanB
a706ca09ff Configuration helper message for errors on parsing files, renamed tutorials/asterisk_events into tutorials/asterisk_ari 2016-10-03 15:57:03 +02:00
Dan Christian Bogos
b3445c0b3a Merge pull request #554 from rbarrabe/patch-1
Adding ExtraFields when we fork cdr
2016-09-28 16:39:49 +02:00
rbarrabe
b6b683f03e Adding ExtraFields when we fork cdr
We must add the extrafields in forked cdr because this is used to create the final cdr
2016-09-28 15:42:16 +02:00
DanB
0dbd0bce64 Aringo fix, reconnects operational 2016-09-25 06:35:47 +02:00
DanB
4b69dee50b Update aringo to support reconnects 2016-09-24 20:59:45 +02:00
DanB
e07c02ce6e Configuration checks for SMG in case of SMAsterisk is started, small modifications on tutorial_astevents_calls 2016-09-24 18:56:28 +02:00
Eloy Coto
814e8bd27d Redis: Added method to reconnect on redis if any IOErr reply. Fix #543 2016-09-24 15:22:08 +01:00
DanB
5acb02995b SMAsterisk with bidirectional disconnect, alpha version of SMAsterisk ready for tests, fixes #148 2016-09-23 14:13:17 +02:00
DanB
f261cbddec Configuration - remove smg_conns option in sm_asterisk section, updating default cgrates.json config 2016-09-23 14:10:17 +02:00
DanB
d14976a2de SMGeneric with Call method, cgr-engine passing concrete SMGeneric object instead of interface as internalSMGChan 2016-09-23 13:13:02 +02:00
DanB
0f2a6ede59 BiRPCInternalClient, modifying SMGeneric to work as BiRPCServer interface 2016-09-22 21:21:29 +02:00
DanB
da53e555b9 SMAsterisk with support for SMGClientV1.DisconnectSession 2016-09-21 12:13:04 +02:00
DanB
444a8efc16 Refactoring bidirectional connnections in SMGeneric for session disconnects 2016-09-21 11:33:27 +02:00
DanB
2c8cf6fbc0 SMGeneric with storeSMCost separately and goroutine only for large timespans 2016-09-20 18:26:15 +02:00
DanB
379f537200 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-09-20 17:35:50 +02:00
DanB
3b17eee8e1 SMGeneric saveOperations without goroutines 2016-09-20 17:35:45 +02:00
Dan Christian Bogos
20c8a6f10e Merge pull request #544 from rbarrabe/patch-14
Update timespans.go
2016-09-20 16:29:56 +02:00
rbarrabe
aa51fed0eb Update timespans.go 2016-09-20 15:14:43 +02:00
DanB
e0b8e9dfda Revert SMGeneric Timespans merge 2016-09-20 10:41:21 +02:00
DanB
53456b6e87 Remove timespans merging from SMG 2016-09-20 09:44:45 +02:00
DanB
3c84afc162 SMGeneric saveOperations with async support 2016-09-19 15:02:57 +02:00
DanB
4a010e4a9f SMGeneric - Synchronous saveOperations in sessionEnd 2016-09-19 12:45:39 +02:00
DanB
958de5f968 Updating rpcclient version 2016-09-19 10:40:15 +02:00
DanB
d8761d9cec SMGeneric - debitLoop with channel sleep for real-time select 2016-09-18 17:46:36 +02:00
DanB
3cff1cf23e SMGeneric.InitiateSession returns indefinite limit in case of debit loop 2016-09-18 16:22:53 +02:00
DanB
1c76c37dea SMGeneric - only allow SessionUpdate if debit loop is not active 2016-09-18 16:05:27 +02:00
DanB
59a083bc4c SMAsterisk - configuration cleanup, processCDR option introduced 2016-09-18 15:47:40 +02:00
DanB
0ea4987b8e CDRS fix CostSource when saving CDRs, SMAsterisk - better event naming when converting SMAEvent to SMGEvent 2016-09-18 14:47:19 +02:00
DanB
fea8be851d SMAsterisk - Init, terminate and process CDR for ARI event 2016-09-18 13:11:37 +02:00
DanB
aa10bbd19a SMAsterisk intial handlers for ChannelStateChange and ChannelDestroyed 2016-09-17 16:30:36 +02:00
DanB
9ed019ee53 SMAsterisk - adding eventsCache, SMAsteriskEvent.UpdateFromEvent 2016-09-17 14:06:49 +02:00
DanB
13da5dbc28 SMG - no refund for empty duration, TestSMASetupTime 2016-09-16 20:38:19 +02:00
DanB
21e574e91f Cancel test 2016-09-16 19:41:31 +02:00
DanB
20562f9fa2 SMG - Apply Merge only when timespans are too big 2016-09-16 19:39:51 +02:00
DanB
09df8271c2 SMAsterisk with MaxUsage instead of InitiateSession, SMAsteriskEvent.AsSMGenericCGRAuth 2016-09-16 19:28:59 +02:00
DanB
1048278102 Fix SMGenericV1.MaxUsage 2016-09-16 19:27:55 +02:00
DanB
e164857435 Remove info message for V1StoreSMCost 2016-09-16 18:38:35 +02:00
DanB
ce5ee50271 Fix cached value message in CDRS 2016-09-16 18:28:02 +02:00
DanB
357c3274f7 Avoid double decompressing in session to speed up a bit 2016-09-16 17:32:29 +02:00