models

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TWCCode          = "TWC"
	CFACode          = "CFA"
	CFNACode         = "CFNA"
	CFBYCode         = "CFBY"
	BXFERCode        = "BXFER"
	CXFERCode        = "CXFER"
	HOLDCode         = "HOLD"
	RESUMECode       = "RESUME"
	PhoneNumberSplit = "#:"

	CubeLegTypeTelephony  = 1
	CubeLegTypeVoIP       = 2
	CubeLegTypeMMOIP      = 3
	CubeLegTypeFrameRelay = 4
	CubeLegTypeATM        = 5

	CubeSessionProtocols = []string{"sip", "Cisco", "sipv2", "other"}

	CubeLegTypes = []int{CubeLegTypeTelephony, CubeLegTypeVoIP, CubeLegTypeMMOIP, CubeLegTypeFrameRelay, CubeLegTypeATM}

	H323CauseCodes = []string{
		"1B",
		"43",
		"15",
		"3A",
		"1C",
		"42",
		"45",
		"13",
		"24",
		"21",
		"2D",
		"2B",
		"1F",
		"1",
		"12",
		"11",
		"2C",
		"A",
		"2",
		"38",
		"B",
		"17",
		"8",
		"46",
		"4",
		"3F",
		"29",
		"35",
		"31",
		"1E",
		"3",
		"26",
		"2A",
		"28",
		"2F",
		"10",
		"18",
		"5",
		"39",
		"19",
		"9",
		"32",
		"16",
		"23",
		"27",
		"1D",
		"36",
		"34",
		"33",
		"2E",
		"6",
		"22",
		"44",
		"41",
		"1A",
		"25",
		"7",
		"37",
		"4F",
		"51",
		"52",
		"53",
		"54",
		"55",
		"56",
		"57",
		"58",
		"59",
		"5A",
		"5B",
		"5C",
		"5D",
		"5F",
		"60",
		"61",
		"62",
		"63",
		"64",
		"65",
		"66",
		"67",
		"6F",
		"7F",
		"80",
		"0",
		"14",
	}
	TwoWayCallTypes = []string{TWCCode}

	CallForwardTypes = []string{CFACode, CFNACode, CFBYCode}

	TransferTypes = []string{BXFERCode, CXFERCode}

	HoldTypes = []string{HOLDCode, RESUMECode}

	PhoneNumberSplitType = []string{PhoneNumberSplit}
)

Functions

This section is empty.

Types

type CubeCDR

type CubeCDR struct {
	ID                  string
	InvalidNTPReference bool
	Hostname            *string `gorm:"uniqueIndex:cube_cdr_index"`
	Filename            *string
	FileTimestamp       *int64
	RecordTimestamp     *int64
	CallId              *int64 `gorm:"uniqueIndex:cube_cdr_index"`
	CdrType             *int64

	AccountCode                     *string
	AcomLevel                       *int64
	AlertTime                       *int64
	BackwardCallId                  *string
	BytesIn                         *int64
	BytesOut                        *int64
	CallForwardCount                *string
	CallForwardFeatureCorrelationId *string
	CallForwardFeatureID            *string
	CallForwardFeatureStatus        *string
	CallForwardLegID                *int64
	CallForwardReason               *string
	CallForwardedFromNumber         *string
	CallForwardedNumber             *string
	CallForwardedToNumber           *string
	CallForwardingFromNumber        *string
	CallingPartyCategory            *string
	CarrierId                       *string
	ChargeNumber                    *string
	ChargedUnits                    *int64
	Clid                            *string
	CodecBytes                      *int64
	CodecTypeRate                   *string
	CustBizGrpId                    *string
	DisconnectText                  *string
	Dnis                            *string
	DspId                           *string
	EarlyPackets                    *int64
	FacDigit                        *string
	FacStatus                       *string
	FaxrelayDirection               *string
	FaxrelayEcmStatus               *string
	FaxrelayEncapProtocol           *string
	FaxrelayFaxSuccess              *string
	FaxrelayInitHsMod               *int64
	FaxrelayJitBufOvflow            *int64
	FaxrelayMaxJitBufDepth          *int64
	FaxrelayMrHsMod                 *int64
	FaxrelayNsfCountryCode          *string
	FaxrelayNsfManufCode            *string
	FaxrelayNumPages                *int64
	FaxrelayPktConceal              *int64
	FaxrelayRxPackets               *int64
	FaxrelayStartTime               *string
	FaxrelayStopTime                *string
	FaxrelayTxPackets               *int64
	FeatureId                       *string
	FeatureIdField1                 *string `gorm:"uniqueIndex:cube_cdr_index"`
	FeatureIdField2                 *int64  `gorm:"uniqueIndex:cube_cdr_index"`
	FeatureOpStatus                 *string
	FeatureOpTime                   *string
	FeatureOperation                *string
	GapfillWithInterpolation        *int64
	GapfillWithPrediction           *int64
	GapfillWithRedundancy           *int64
	GapfillWithSilence              *int64
	GkXlatedCdn                     *string
	GkXlatedCgn                     *string
	GtdGwRxdCnn                     *string
	GtdGwRxdOcn                     *string
	GtdOrigCic                      *string
	GtdTermCic                      *string
	GwCollectedCdn                  *string
	GwFinalXlatedCdn                *string
	GwFinalXlatedCgn                *string
	GwFinalXlatedRdn                *string
	GwRxdCdn                        *string
	GwRxdCgn                        *string
	GwRxdRdn                        *string
	H323CallOrigin                  *string
	H323ConfId                      *string `gorm:"uniqueIndex:cube_cdr_index"`
	H323ConnectTime                 *int64
	H323DisconnectCause             *string
	H323DisconnectTime              *int64
	H323IvrOut                      *string
	H323SetupTime                   *int64
	H323VoiceQuality                *int64
	HeldDN                          *int64
	HiwaterPlayoutDelay             *int64
	HoldFeatureCorrelationId        *string
	HoldFeatureID                   *string
	HoldLegID                       *string
	HoldPhoneTag                    *string
	HoldReason                      *string
	HoldSharedLine                  *int64
	HoldStatus                      *string
	HoldUsername                    *string
	HoldingDN                       *int64
	InCarrierId                     *string
	InIntrfcDesc                    *string
	InLpcorGroup                    *string
	InTrunkgroupLabel               *string
	IncomingArea                    *string
	InfoType                        *string
	InternalErrorCode               *string
	IpHop                           *int64
	IpPbxMode                       *string
	IpPhoneInfo                     *string
	LatePackets                     *int64
	LegType                         *int `gorm:"uniqueIndex:cube_cdr_index"`
	LocalHostname                   *string
	LogicalIfIndex                  *int64
	LostPackets                     *int64
	LowaterPlayoutDelay             *int64
	MaxBitrate                      *string
	NoiseLevel                      *int64
	OntimeRvPlayout                 *int64
	OriginatingLineInfo             *string
	OutCarrierId                    *string
	OutIntrfcDesc                   *string
	OutLpcorGroup                   *string
	OutTrunkgroupLabel              *string
	OutgoingArea                    *string
	OverrideSessionTime             *int64
	PaksIn                          *int64
	PaksOut                         *int64
	PeerAddress                     *string
	PeerId                          *int64
	PeerIfIndex                     *int64
	PeerSubAddress                  *string
	ReceiveDelay                    *int64
	RedirectedStationAddress        *string
	RedirectedStationNOA            *string
	RedirectedStationNPI            *string
	RedirectedStationPI             *string
	RemoteMediaAddress              *string
	RemoteMediaId                   *string
	RemoteMediaUdpPort              *int64
	RemoteUdpPort                   *int64
	RoundTripDelay                  *int64
	ServiceDescriptor               *string
	SessionProtocol                 *string
	Subscriber                      *string
	SuppSvcXferBy                   *string
	TWCCalledNumber                 *string
	TWCCallingNumber                *string
	TWCFeatureCorrelationId         *string
	TWCFeatureID                    *string
	TWCFeatureStatus                *int64
	TWCLegID                        *int64
	TransferConsultationID          *int64
	TransferFeatureCorrelationId    *string
	TransferFeatureID               *string
	TransferFeatureStatus           *string
	TransferForwardingReason        *string
	TransferLegID                   *string
	TransferStatus                  *int64
	TransferredFromPart             *string
	TransferredNumber               *string
	TransferredToParty              *string
	TransmissionMediumReq           *string
	TxDuration                      *int64
	Username                        *string
	VadEnable                       *bool
	VoiceFeature                    *string
	VoiceTxDuration                 *int64
}

type CubeCDRs

type CubeCDRs []*CubeCDR

type CucmCdr

type CucmCdr struct {
	ID                                      string
	OriginPkid                              *string `gorm:"unique;not null"`
	FileClusterId                           *string
	FileNodeId                              *string
	FileDateTime                            *int64
	FileSequenceNumber                      *int64
	Cdrrecordtype                           *int64
	Globalcallid_Callmanagerid              *int64
	Globalcallid_Callid                     *int64
	Origlegcallidentifier                   *int64
	Datetimeorigination                     *int64
	Orignodeid                              *int64
	Origspan                                *int64
	Origipaddr                              *string
	Callingpartynumber                      *string
	Callingpartyunicodeloginuserid          *string
	Origcause_Location                      *int64
	Origcause_Value                         *int64
	Origprecedencelevel                     *int64
	Origmediatransportaddress_IP            *string
	Origmediatransportaddress_Port          *int64
	Origmediacap_Payloadcapability          *int64
	Origmediacap_Maxframesperpacket         *int64
	Origmediacap_G723bitrate                *int64
	Origvideocap_Codec                      *int64
	Origvideocap_Bandwidth                  *int64
	Origvideocap_Resolution                 *int64
	Origvideotransportaddress_IP            *string
	Origvideotransportaddress_Port          *int64
	Origrsvpaudiostat                       *int64
	Origrsvpvideostat                       *int64
	Destlegcallidentifier                   *int64
	Destnodeid                              *int64
	Destspan                                *int64
	Destipaddr                              *string
	Originalcalledpartynumber               *string
	Finalcalledpartynumber                  *string
	Finalcalledpartyunicodeloginuserid      *string
	Destcause_Location                      *int64
	Destcause_Value                         *int64
	Destprecedencelevel                     *int64
	Destmediatransportaddress_IP            *string
	Destmediatransportaddress_Port          *int64
	Destmediacap_Payloadcapability          *int64
	Destmediacap_Maxframesperpacket         *int64
	Destmediacap_G723bitrate                *int64
	Destvideocap_Codec                      *int64
	Destvideocap_Bandwidth                  *int64
	Destvideocap_Resolution                 *int64
	Destvideotransportaddress_IP            *string
	Destvideotransportaddress_Port          *int64
	Destrsvpaudiostat                       *int64
	Destrsvpvideostat                       *int64
	Datetimeconnect                         *int64
	Datetimedisconnect                      *int64
	Lastredirectdn                          *string
	Originalcalledpartynumberpartition      *string
	Callingpartynumberpartition             *string
	Finalcalledpartynumberpartition         *string
	Lastredirectdnpartition                 *string
	Duration                                *int64
	Origdevicename                          *string
	Destdevicename                          *string
	Origcallterminationonbehalfof           *int64
	Destcallterminationonbehalfof           *int64
	Origcalledpartyredirectonbehalfof       *int64
	Lastredirectredirectonbehalfof          *int64
	Origcalledpartyredirectreason           *int64
	Lastredirectredirectreason              *int64
	Destconversationid                      *int64
	Globalcallid_Clusterid                  *string
	Joinonbehalfof                          *int64
	Comment                                 *string
	Authcodedescription                     *string
	Authorizationlevel                      *int64
	Clientmattercode                        *string
	Origdtmfmethod                          *int64
	Destdtmfmethod                          *int64
	Callsecuredstatus                       *int64
	Origconversationid                      *int64
	Origmediacap_Bandwidth                  *int64
	Destmediacap_Bandwidth                  *int64
	Authorizationcodevalue                  *string
	Outpulsedcallingpartynumber             *string
	Outpulsedcalledpartynumber              *string
	Origipv4v6addr                          *string
	Destipv4v6addr                          *string
	Origvideocap_Codec_Channel2             *int64
	Origvideocap_Bandwidth_Channel2         *int64
	Origvideocap_Resolution_Channel2        *int64
	Origvideotransportaddress_IP_Channel2   *string
	Origvideotransportaddress_Port_Channel2 *int64
	Origvideochannel_Role_Channel2          *int64
	Destvideocap_Codec_Channel2             *int64
	Destvideocap_Bandwidth_Channel2         *int64
	Destvideocap_Resolution_Channel2        *int64
	Destvideotransportaddress_IP_Channel2   *string
	Destvideotransportaddress_Port_Channel2 *int64
	Destvideochannel_Role_Channel2          *int64
	Incomingprotocolid                      *int64
	Incomingprotocolcallref                 *string
	Outgoingprotocolid                      *int64
	Outgoingprotocolcallref                 *string
	Currentroutingreason                    *int64
	Origroutingreason                       *int64
	Lastredirectingroutingreason            *int64
	Huntpilotpartition                      *string
	Huntpilotdn                             *string
	Calledpartypatternusage                 *int64
	Incomingicid                            *string
	Incomingorigioi                         *string
	Incomingtermioi                         *string
	Outgoingicid                            *string
	Outgoingorigioi                         *string
	Outgoingtermioi                         *string
	Outpulsedoriginalcalledpartynumber      *string
	Outpulsedlastredirectingnumber          *string
	Wascallqueued                           *int64
	Totalwaittimeinqueue                    *int64
	Callingpartynumber_Uri                  *string
	Originalcalledpartynumber_Uri           *string
	Finalcalledpartynumber_Uri              *string
	Lastredirectdn_Uri                      *string
	Mobilecallingpartynumber                *string
	Finalmobilecalledpartynumber            *string
	Origmobiledevicename                    *string
	Destmobiledevicename                    *string
	Origmobilecallduration                  *int64
	Destmobilecallduration                  *int64
	Mobilecalltype                          *int64
	Originalcalledpartypattern              *string
	Finalcalledpartypattern                 *string
	Lastredirectingpartypattern             *string
	Huntpilotpattern                        *string
	Origdevicetype                          *string
	Destdevicetype                          *string
	Origdevicesessionid                     *string
	Destdevicesessionid                     *string
}

type CucmCmr

type CucmCmr struct {
	ID                                  string
	Originpkid                          *string `gorm:"unique;not null"`
	FileClusterId                       *string
	FileNodeId                          *string
	FileDateTime                        *int64
	FileSequenceNumber                  *int64
	Cdrrecordtype                       *int64
	Globalcallid_Callmanagerid          *int64
	Globalcallid_Callid                 *int64
	Nodeid                              *int64
	Directorynum                        *string
	Callidentifier                      *int64
	Datetimestamp                       *int64
	Numberpacketssent                   *int64
	Numberoctetssent                    *int64
	Numberpacketsreceived               *int64
	Numberoctetsreceived                *int64
	Numberpacketslost                   *int64
	Jitter                              *int64
	Latency                             *int64
	Directorynumpartition               *string
	Globalcallid_Clusterid              *string
	Devicename                          *string
	Duration                            *int64
	Videocontenttype                    *string
	Videoduration                       *int64
	Numbervideopacketssent              *int64
	Numbervideooctetssent               *int64
	Numbervideopacketsreceived          *int64
	Numbervideooctetsreceived           *int64
	Numbervideopacketslost              *int64
	Videoaveragejitter                  *int64
	Videoroundtriptime                  *int64
	Videoonewaydelay                    *int64
	Videoreceptionmetrics               *string
	Videotransmissionmetrics            *string
	Videocontenttype_Channel2           *string
	Videoduration_Channel2              *int64
	Numbervideopacketssent_Channel2     *int64
	Numbervideooctetssent_Channel2      *int64
	Numbervideopacketsreceived_Channel2 *int64
	Numbervideooctetsreceived_Channel2  *int64
	Numbervideopacketslost_Channel2     *int64
	Videoaveragejitter_Channel2         *int64
	Videoroundtriptime_Channel2         *int64
	Videoonewaydelay_Channel2           *int64
	Videoreceptionmetrics_Channel2      *string
	Videotransmissionmetrics_Channel2   *string
	Localsessionid                      *string
	Remotesessionid                     *string
	Headsetsn                           *string
	Headsetmetrics                      *string
	VQCCR                               *float64
	VQICR                               *float64
	Vqicrmx                             *float64
	VQCS                                *int64
	VQSCS                               *int64
	Vqver                               *float64
	Vqvorxcodec                         *string
	VQCID                               *int64
	Vqvopktsizems                       *int64
	Vqvopktlost                         *int64
	Vqvopktdis                          *int64
	Vqvoonewaydelayms                   *int64
	Vqmaxjitter                         *int64
	VQMLQK                              *float64
	Vqmlqkav                            *float64
	Vqmlqkmn                            *float64
	Vqmlqkmx                            *float64
	Vqmlqkvr                            *float64
}

type OracleCDR

type OracleCDR struct {
	Accountingstatus              *string
	Nasipaddress                  *string
	Nasport                       *string
	Accountingsessionid           *string
	Ingresssessionid              *string
	Egresssessionid               *string
	Sessionprotocoltype           *string
	Callingstationid              *string
	Calledstationid               *string
	Accountingterminationcause    *string
	Accountingsessiontime         *string
	Ciscosetuptime                *string
	Ciscoconnecttime              *string
	Ciscodisconnecttime           *string
	Ciscodisconnectcause          *string
	Egressnetworkinterfaceid      *string
	Egressvlantagvalue            *string
	Ingressnetworkinterfaceid     *string
	Ingressvlantagvalue           *string
	Egressrealm                   *string
	Ingressrealm                  *string
	Flowidentifier                *string
	Flowtype                      *string
	Flowinputrealm                *string
	Flowinputsrcaddr              *string
	Flowinputsrcport              *string
	Flowinputdestaddress          *string
	Flowinputdestport             *string
	Flowoutputrealm               *string
	Flowoutputsrcaddress          *string
	Flowoutputsrcport             *string
	Flowoutputdestaddr            *string
	Flowoutputdestport            *string
	Rtcpcallingpacketslost        *string
	Rtcpcallingavgjitter          *string
	Rtcpcallingavglatency         *string
	Rtcpcallingmaxjitter          *string
	Rtcpcallingmaxlatency         *string
	Rtpcallingpacketslost         *string
	Rtpcallingavgjitter           *string
	Rtpcallingmaxjitter           *string
	Rtpcallingoctets              *string
	Rtpcallingpackets             *string
	Callingrfactor                *string
	Callingmos                    *string
	Flowidentifier2               *string
	Flowtype2                     *string
	Flowinputrealm2               *string
	Flowinputsrcaddr2             *string
	Flowinputsrcport2             *string
	Flowinputdestaddress2         *string
	Flowinputdestport2            *string
	Flowoutputrealm2              *string
	Flowoutputsrcaddress2         *string
	Flowoutputsrcport2            *string
	Flowoutputdestaddr2           *string
	Flowoutputdestport2           *string
	Rtcpcalledpacketslost         *string
	Rtcpcalledavgjitter           *string
	Rtcpcalledavglatency          *string
	Rtcpcalledmaxjitter           *string
	Rtcpcalledmaxlatency          *string
	Rtpcalledpacketslost          *string
	Rtpcalledavgjitter            *string
	Rtpcalledmaxjitter            *string
	Rtpcalledoctets               *string
	Rtpcalledpackets              *string
	Calledrfactor                 *string
	Calledmos                     *string
	Firmwareversion               *string
	Localtimezone                 *string
	Postdialdelay                 *string
	Primaryroutingnumber          *string
	Ingresslocaladdress           *string
	Ingressremoteaddress          *string
	Egresslocaladdress            *string
	Egressremoteaddress           *string
	Sessiondisposition            *string
	Disconnectinitiator           *string
	Disconnectcause               *string
	Sipstatuscode                 *string
	Egressroutingnumber           *string
	Callingmediastoptime          *string
	Calledmediastoptime           *string
	Flowmediatype                 *string
	Flowmediatype2                *string
	Rtpcallingoctetstransmitted   *string
	Rtpcallingpacketstransmitted  *string
	Rtpcalledoctetstransmitted    *string
	Rtpcalledpacketstransmitted   *string
	Msrpcalledoctets              *string
	Msrpcalledpackets             *string
	Msrpcalledoctetstransmitted   *string
	Msrpcalledpacketstransmitted  *string
	Msrpcallingoctets             *string
	Msrpcallingpackets            *string
	Msrpcallingoctetstransmitted  *string
	Msrpcallingpacketstransmitted *string
	Nodefunctionality             *string
	Cdrsequencenumber             *string
}

type RawCubeCDR

type RawCubeCDR struct {
	RecordTimestamp          *string
	CallId                   *string
	CdrType                  *string
	LegType                  *string
	H323ConfId               *string
	PeerAddress              *string
	PeerSubAddress           *string
	H323SetupTime            *string
	AlertTime                *string
	H323ConnectTime          *string
	H323DisconnectTime       *string
	H323DisconnectCause      *string
	DisconnectText           *string
	H323CallOrigin           *string
	ChargedUnits             *string
	InfoType                 *string
	PaksOut                  *string
	BytesOut                 *string
	PaksIn                   *string
	BytesIn                  *string
	Username                 *string
	Clid                     *string
	Dnis                     *string
	GtdOrigCic               *string
	GtdTermCic               *string
	TxDuration               *string
	PeerId                   *string
	PeerIfIndex              *string
	LogicalIfIndex           *string
	AcomLevel                *string
	NoiseLevel               *string
	VoiceTxDuration          *string
	AccountCode              *string
	CodecBytes               *string
	CodecTypeRate            *string
	OntimeRvPlayout          *string
	RemoteUdpPort            *string
	RemoteMediaUdpPort       *string
	VadEnable                *string
	ReceiveDelay             *string
	RoundTripDelay           *string
	HiwaterPlayoutDelay      *string
	LowaterPlayoutDelay      *string
	GapfillWithInterpolation *string
	GapfillWithRedundancy    *string
	GapfillWithSilence       *string
	GapfillWithPrediction    *string
	EarlyPackets             *string
	LatePackets              *string
	LostPackets              *string
	MaxBitrate               *string
	FaxrelayStartTime        *string
	FaxrelayStopTime         *string
	FaxrelayMaxJitBufDepth   *string
	FaxrelayJitBufOvflow     *string
	FaxrelayInitHsMod        *string
	FaxrelayMrHsMod          *string
	FaxrelayNumPages         *string
	FaxrelayTxPackets        *string
	FaxrelayRxPackets        *string
	FaxrelayDirection        *string
	FaxrelayPktConceal       *string
	FaxrelayEcmStatus        *string
	FaxrelayEncapProtocol    *string
	FaxrelayNsfCountryCode   *string
	FaxrelayNsfManufCode     *string
	FaxrelayFaxSuccess       *string
	OverrideSessionTime      *string
	H323IvrOut               *string
	InternalErrorCode        *string
	H323VoiceQuality         *string
	RemoteMediaAddress       *string
	RemoteMediaId            *string
	CarrierId                *string
	CallingPartyCategory     *string
	OriginatingLineInfo      *string
	ChargeNumber             *string
	TransmissionMediumReq    *string
	ServiceDescriptor        *string
	OutgoingArea             *string
	IncomingArea             *string
	OutTrunkgroupLabel       *string
	OutCarrierId             *string
	DspId                    *string
	InTrunkgroupLabel        *string
	InCarrierId              *string
	CustBizGrpId             *string
	SuppSvcXferBy            *string
	VoiceFeature             *string
	FeatureOperation         *string
	FeatureOpStatus          *string
	FeatureOpTime            *string
	FeatureId                *string
	GwRxdCdn                 *string
	GwRxdCgn                 *string
	GtdGwRxdOcn              *string
	GtdGwRxdCnn              *string
	GwRxdRdn                 *string
	GwFinalXlatedCdn         *string
	GwFinalXlatedCgn         *string
	GwFinalXlatedRdn         *string
	GkXlatedCdn              *string
	GkXlatedCgn              *string
	GwCollectedCdn           *string
	IPHop                    *string
	RedirectedStation        *string
	Subscriber               *string
	InIntrfcDesc             *string
	OutIntrfcDesc            *string
	SessionProtocol          *string
	LocalHostname            *string
	BackwardCallId           *string
	FeatureIdField1          *string
	FeatureIdField2          *string
	FeatureIdField3          *string
	FeatureIdField4          *string
	FeatureIdField5          *string
	FeatureIdField6          *string
	FeatureIdField7          *string
	FeatureIdField8          *string
	FeatureIdField9          *string
	FeatureIdField10         *string
	FeatureIdField11         *string
	FeatureIdField12         *string
	IpPhoneInfo              *string
	IpPbxMode                *string
	InLpcorGroup             *string
	OutLpcorGroup            *string
	FacDigit                 *string
	FacStatus                *string
	Hostname                 *string
	Filename                 *string
	FileTimestamp            *string
}

func (*RawCubeCDR) Parse

func (raw *RawCubeCDR) Parse(filename string) (*CubeCDR, error)

type RawCubeCDRs

type RawCubeCDRs []*RawCubeCDR

type RawCucmCdr

type RawCucmCdr struct {
	Pkid                                    *string
	FileClusterId                           *string
	FileNodeId                              *string
	FileDateTime                            *int64
	FileSequenceNumber                      *int64
	Cdrrecordtype                           *string
	Globalcallid_Callmanagerid              *string
	Globalcallid_Callid                     *string
	Origlegcallidentifier                   *string
	Datetimeorigination                     *string
	Orignodeid                              *string
	Origspan                                *string
	Origipaddr                              *string
	Callingpartynumber                      *string
	Callingpartyunicodeloginuserid          *string
	Origcause_Location                      *string
	Origcause_Value                         *string
	Origprecedencelevel                     *string
	Origmediatransportaddress_IP            *string
	Origmediatransportaddress_Port          *string
	Origmediacap_Payloadcapability          *string
	Origmediacap_Maxframesperpacket         *string
	Origmediacap_G723bitrate                *string
	Origvideocap_Codec                      *string
	Origvideocap_Bandwidth                  *string
	Origvideocap_Resolution                 *string
	Origvideotransportaddress_IP            *string
	Origvideotransportaddress_Port          *string
	Origrsvpaudiostat                       *string
	Origrsvpvideostat                       *string
	Destlegcallidentifier                   *string
	Destnodeid                              *string
	Destspan                                *string
	Destipaddr                              *string
	Originalcalledpartynumber               *string
	Finalcalledpartynumber                  *string
	Finalcalledpartyunicodeloginuserid      *string
	Destcause_Location                      *string
	Destcause_Value                         *string
	Destprecedencelevel                     *string
	Destmediatransportaddress_IP            *string
	Destmediatransportaddress_Port          *string
	Destmediacap_Payloadcapability          *string
	Destmediacap_Maxframesperpacket         *string
	Destmediacap_G723bitrate                *string
	Destvideocap_Codec                      *string
	Destvideocap_Bandwidth                  *string
	Destvideocap_Resolution                 *string
	Destvideotransportaddress_IP            *string
	Destvideotransportaddress_Port          *string
	Destrsvpaudiostat                       *string
	Destrsvpvideostat                       *string
	Datetimeconnect                         *string
	Datetimedisconnect                      *string
	Lastredirectdn                          *string
	Originalcalledpartynumberpartition      *string
	Callingpartynumberpartition             *string
	Finalcalledpartynumberpartition         *string
	Lastredirectdnpartition                 *string
	Duration                                *string
	Origdevicename                          *string
	Destdevicename                          *string
	Origcallterminationonbehalfof           *string
	Destcallterminationonbehalfof           *string
	Origcalledpartyredirectonbehalfof       *string
	Lastredirectredirectonbehalfof          *string
	Origcalledpartyredirectreason           *string
	Lastredirectredirectreason              *string
	Destconversationid                      *string
	Globalcallid_Clusterid                  *string
	Joinonbehalfof                          *string
	Comment                                 *string
	Authcodedescription                     *string
	Authorizationlevel                      *string
	Clientmattercode                        *string
	Origdtmfmethod                          *string
	Destdtmfmethod                          *string
	Callsecuredstatus                       *string
	Origconversationid                      *string
	Origmediacap_Bandwidth                  *string
	Destmediacap_Bandwidth                  *string
	Authorizationcodevalue                  *string
	Outpulsedcallingpartynumber             *string
	Outpulsedcalledpartynumber              *string
	Origipv4v6addr                          *string
	Destipv4v6addr                          *string
	Origvideocap_Codec_Channel2             *string
	Origvideocap_Bandwidth_Channel2         *string
	Origvideocap_Resolution_Channel2        *string
	Origvideotransportaddress_IP_Channel2   *string
	Origvideotransportaddress_Port_Channel2 *string
	Origvideochannel_Role_Channel2          *string
	Destvideocap_Codec_Channel2             *string
	Destvideocap_Bandwidth_Channel2         *string
	Destvideocap_Resolution_Channel2        *string
	Destvideotransportaddress_IP_Channel2   *string
	Destvideotransportaddress_Port_Channel2 *string
	Destvideochannel_Role_Channel2          *string
	Incomingprotocolid                      *string
	Incomingprotocolcallref                 *string
	Outgoingprotocolid                      *string
	Outgoingprotocolcallref                 *string
	Currentroutingreason                    *string
	Origroutingreason                       *string
	Lastredirectingroutingreason            *string
	Huntpilotpartition                      *string
	Huntpilotdn                             *string
	Calledpartypatternusage                 *string
	Incomingicid                            *string
	Incomingorigioi                         *string
	Incomingtermioi                         *string
	Outgoingicid                            *string
	Outgoingorigioi                         *string
	Outgoingtermioi                         *string
	Outpulsedoriginalcalledpartynumber      *string
	Outpulsedlastredirectingnumber          *string
	Wascallqueued                           *string
	Totalwaittimeinqueue                    *string
	Callingpartynumber_Uri                  *string
	Originalcalledpartynumber_Uri           *string
	Finalcalledpartynumber_Uri              *string
	Lastredirectdn_Uri                      *string
	Mobilecallingpartynumber                *string
	Finalmobilecalledpartynumber            *string
	Origmobiledevicename                    *string
	Destmobiledevicename                    *string
	Origmobilecallduration                  *string
	Destmobilecallduration                  *string
	Mobilecalltype                          *string
	Originalcalledpartypattern              *string
	Finalcalledpartypattern                 *string
	Lastredirectingpartypattern             *string
	Huntpilotpattern                        *string
	Origdevicetype                          *string
	Destdevicetype                          *string
	Origdevicesessionid                     *string
	Destdevicesessionid                     *string
}

func (*RawCucmCdr) Parse

func (raw *RawCucmCdr) Parse(filename string) (*CucmCdr, error)

type RawCucmCmr

type RawCucmCmr struct {
	Pkid                                *string
	FileClusterId                       *string
	FileNodeId                          *string
	FileDateTime                        *int64
	FileSequenceNumber                  *int64
	Cdrrecordtype                       *string
	Globalcallid_Callmanagerid          *string
	Globalcallid_Callid                 *string
	Nodeid                              *string
	Directorynum                        *string
	Callidentifier                      *string
	Datetimestamp                       *string
	Numberpacketssent                   *string
	Numberoctetssent                    *string
	Numberpacketsreceived               *string
	Numberoctetsreceived                *string
	Numberpacketslost                   *string
	Jitter                              *string
	Latency                             *string
	Directorynumpartition               *string
	Globalcallid_Clusterid              *string
	Devicename                          *string
	Varvqmetrics                        *string
	Duration                            *string
	Videocontenttype                    *string
	Videoduration                       *string
	Numbervideopacketssent              *string
	Numbervideooctetssent               *string
	Numbervideopacketsreceived          *string
	Numbervideooctetsreceived           *string
	Numbervideopacketslost              *string
	Videoaveragejitter                  *string
	Videoroundtriptime                  *string
	Videoonewaydelay                    *string
	Videoreceptionmetrics               *string
	Videotransmissionmetrics            *string
	Videocontenttype_Channel2           *string
	Videoduration_Channel2              *string
	Numbervideopacketssent_Channel2     *string
	Numbervideooctetssent_Channel2      *string
	Numbervideopacketsreceived_Channel2 *string
	Numbervideooctetsreceived_Channel2  *string
	Numbervideopacketslost_Channel2     *string
	Videoaveragejitter_Channel2         *string
	Videoroundtriptime_Channel2         *string
	Videoonewaydelay_Channel2           *string
	Videoreceptionmetrics_Channel2      *string
	Videotransmissionmetrics_Channel2   *string
	Localsessionid                      *string
	Remotesessionid                     *string
	Headsetsn                           *string
	Headsetmetrics                      *string
}

func (*RawCucmCmr) Parse

func (raw *RawCucmCmr) Parse(filename string) (*CucmCmr, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL