CDR and related TOR -> ToR field

This commit is contained in:
DanB
2015-12-28 13:37:43 +01:00
parent b8f90ee94f
commit eadd0cbb79
50 changed files with 203 additions and 203 deletions

View File

@@ -626,7 +626,7 @@ func (self *AttrExpFileCdrs) AsCDRsFilter(timezone string) (*CDRsFilter, error)
cdrFltr := &CDRsFilter{
CGRIDs: self.CgrIds,
RunIDs: self.MediationRunIds,
TORs: self.TORs,
ToRs: self.TORs,
OriginHosts: self.CdrHosts,
Sources: self.CdrSources,
RequestTypes: self.ReqTypes,
@@ -700,7 +700,7 @@ func (self *AttrGetCdrs) AsCDRsFilter(timezone string) (*CDRsFilter, error) {
cdrFltr := &CDRsFilter{
CGRIDs: self.CgrIds,
RunIDs: self.MediationRunIds,
TORs: self.TORs,
ToRs: self.TORs,
OriginHosts: self.CdrHosts,
Sources: self.CdrSources,
RequestTypes: self.ReqTypes,
@@ -839,8 +839,8 @@ type CDRsFilter struct {
NotOriginHosts []string // Filter out specific cdr hosts
Sources []string // If provided, it will filter cdrsource
NotSources []string // Filter out specific CDR sources
TORs []string // If provided, filter on TypeOfRecord
NotTORs []string // Filter specific TORs out
ToRs []string // If provided, filter on TypeOfRecord
NotToRs []string // Filter specific TORs out
RequestTypes []string // If provided, it will fiter reqtype
NotRequestTypes []string // Filter out specific request types
Directions []string // If provided, it will fiter direction
@@ -896,8 +896,8 @@ type RPCCDRsFilter struct {
NotOriginHosts []string // Filter out specific cdr hosts
Sources []string // If provided, it will filter cdrsource
NotSources []string // Filter out specific CDR sources
TORs []string // If provided, filter on TypeOfRecord
NotTORs []string // Filter specific TORs out
ToRs []string // If provided, filter on TypeOfRecord
NotToRs []string // Filter specific TORs out
RequestTypes []string // If provided, it will fiter reqtype
NotRequestTypes []string // Filter out specific request types
Directions []string // If provided, it will fiter direction
@@ -945,8 +945,8 @@ func (self *RPCCDRsFilter) AsCDRsFilter(timezone string) (*CDRsFilter, error) {
NotCGRIDs: self.NotCGRIDs,
RunIDs: self.RunIDs,
NotRunIDs: self.NotRunIDs,
TORs: self.TORs,
NotTORs: self.NotTORs,
ToRs: self.ToRs,
NotToRs: self.NotToRs,
OriginHosts: self.OriginHosts,
NotOriginHosts: self.NotOriginHosts,
Sources: self.Sources,

View File

@@ -104,7 +104,7 @@ const (
MSGPACK = "msgpack"
CSV_LOAD = "CSVLOAD"
CGRID = "CGRID"
TOR = "TOR"
TOR = "ToR"
ORDERID = "OrderID"
ACCID = "OriginID"
CDRSOURCE = "Source"