Commit Graph

6501 Commits

Author SHA1 Message Date
edwardro22
3aec58d044 Added test for resources MissingStructFields 2018-01-16 14:34:59 +01:00
edwardro22
09bb81f3bc Added Tests for CDR.AsCGREvent() and CDR.UpdateFromCGREvent() 2018-01-16 14:34:59 +01:00
edwardro22
3f070738bb Disable redis connection for cgr-loader -to_stordb flag and updated DataDB() to handle uninitialized datamanager 2018-01-16 14:34:59 +01:00
DanB
479d57a4a3 Updating freeswitch_conf samples in tutorial 2018-01-12 19:11:08 +01:00
DanB
e7b49c280b Support for RunID: *none in SessionS 2018-01-12 19:11:08 +01:00
DanB
b53d2127ac FreeSWITCHAgent with operational *prepaid calls, SessionS with support of Sessions with RunID: *none 2018-01-12 19:11:08 +01:00
DanB
63a83e655b FreeSWITCHAgent with operational *prepaid calls, SessionS with support of Sessions with RunID: *none 2018-01-12 19:11:08 +01:00
DanB
9b1280eb74 FsAgent capable of in-call session disconnects 2018-01-12 19:11:08 +01:00
DanB
dc174e8b7c Extracting username in FsCdr, updated tests 2018-01-12 19:11:08 +01:00
DanB
c946d045cf Removing AttributeS processing in Responder methods, adding AttributeS in SessionS processed requests, GetAttributes in UpdateSession 2018-01-12 19:11:08 +01:00
DanB
84187c9896 Responder ignoring ErrNotFound from AttributeS 2018-01-12 19:11:08 +01:00
DanB
e546656902 GetLcrSuppliers method out of SMGenericV1 2018-01-12 19:11:08 +01:00
DanB
a76a9f4894 SessionS bidirection rpc methods updated, tutorials/fs_evsock config changes 2018-01-12 19:11:08 +01:00
DanB
d932e624b3 Stale utils.ACCID -> utils.OriginID 2018-01-12 19:11:08 +01:00
DanB
62cdc5c4b9 SessionSv1.ProcessEvent with integration tests 2018-01-12 19:11:08 +01:00
DanB
216980ebe6 SessionSv1.UpdateSession, SessionSv1.TerminateSession, SessionSv1.ProcessCDR with integration tests 2018-01-12 19:11:08 +01:00
DanB
a225bd974e SessionSv1.InitiateSession integration tests 2018-01-12 19:11:08 +01:00
DanB
e27b72268f SessionSv1.AuthorizeEvent with integration tests 2018-01-12 19:11:07 +01:00
DanB
3850f11b14 SMGv1 -> SessionSv1 in apier/v1 package 2018-01-12 19:11:07 +01:00
DanB
6be0654bb1 Merge fixes in resources integration tests 2018-01-12 19:11:07 +01:00
DanB
c30ab1bb43 Adding back old smgenericv1_it_test so we can stay backwards compatible 2018-01-12 19:11:07 +01:00
DanB
158d209b67 Integration test for sessions replication updated with config session_replication_conns 2018-01-12 19:11:07 +01:00
DanB
58da425ac0 Updating tests with SessionSCfg() function 2018-01-12 19:11:07 +01:00
DanB
e55009bc60 Updating sample configs with sessions instead of smg 2018-01-12 19:11:07 +01:00
DanB
21159c7c07 Configuratin changes: smg -> sessions, smg_replication_conns -> session_replication_conns 2018-01-12 19:11:07 +01:00
DanB
9bf6fd3fa5 Apier test fixes for MANDATORY_IE_MISSING error 2018-01-12 19:11:07 +01:00
DanB
3503fba31f Moving SMAsterisk and SMFreeSWITCH to agents package, renaming some errors for FsA disconnecting calls, tests improvements 2018-01-12 19:11:07 +01:00
DanB
25b73491f5 SMG does not connect by default to attributes, resources or suppliers 2018-01-12 19:09:38 +01:00
DanB
46024d171d Configuration changes: sm_asterisk -> asterisk_agent, sm_freeswitch -> freeswitch_agent 2018-01-12 19:09:38 +01:00
DanB
9bb19bea53 First CUT of SM-FreeSWITCH using SMG instead of own session management, including resources, suppliers and attributes 2018-01-12 19:09:38 +01:00
DanB
8a30d80095 Configuration updates: sm_generic -> smg, sm_freeswitch connecting to smg instead of rals/cdrs 2018-01-12 19:09:38 +01:00
edwardro22
1c11a52c93 Added integration test for ResourceS and implemented cache refresh method 2018-01-12 19:05:05 +01:00
edwardro22
e178245f7b removed newlines without purpose 2018-01-12 19:05:05 +01:00
edwardro22
0ed8baa3e6 Cleaned code 2018-01-12 19:05:05 +01:00
edwardro22
1b7e0c8e8c Fixed pull conflicts and added filterindexecache_it_test.go 2018-01-12 19:05:05 +01:00
TeoV
26b80f2440 Send NodeID to Logger 2018-01-12 19:02:20 +01:00
TeoV
b15a1166cd Replace InstanceID -> NodeID 2018-01-12 19:02:20 +01:00
TeoV
6e384d0dea CDR filter on OriginIDs 2018-01-12 15:23:24 +01:00
TeoV
537b0241df V1AllocateResource return ErrResourceUnavailable 2018-01-12 13:47:41 +01:00
TeoV
856ab20969 Add SupplierProfile and AttributeProfile in ReloadCache 2018-01-12 13:47:41 +01:00
TeoV
a653517f5b Add ErrResourceUnalocated and update tests 2018-01-12 13:47:41 +01:00
TeoV
63c496c1a1 Remove unecessary CacheDataFromDB 2018-01-12 13:47:41 +01:00
TeoV
e26691eb9c ResourceSv1.AuthorizeEvent return allocation message and error ErrResourceUnauthorized 2018-01-12 11:01:27 +01:00
TeoV
1a72cfba47 Update rest of test and uniformize code 2018-01-12 10:36:11 +01:00
TeoV
f1f839af92 Update caching in Datamanager and unify test in onstor_it_test.go 2018-01-12 10:36:11 +01:00
TeoV
0cba1e7488 Optimize model_helpers.go 2018-01-12 10:36:11 +01:00
TeoV
022aa48070 Rename ArgRemoveAttrProfile 2018-01-12 10:36:11 +01:00
basitengr
38f1ab3da0 Cleaned CDR examples
We will add more CDR filter examples with next update
2018-01-10 09:34:15 +01:00
abasit
ec27a7f320 Organized use cases in separate files for better management 2018-01-10 09:34:15 +01:00
abasit
bd908e8413 Placed API tutorial in separate folder for further work 2018-01-10 09:34:15 +01:00