Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Call ¶
type Call struct {
Calldate string `json:"calldate"`
Clid string `json:"clid"`
Src string `json:"src"`
Dst string `json:"dst"`
Dcontext string `json:"dcontext"`
Channel string `json:"channel"`
Dstchannel string `json:"dstchannel"`
Lastapp string `json:"lastapp"`
Lastdata string `json:"lastdata"`
Duration int `json:"duration"`
Billsec int `json:"billsec"`
Disposition string `json:"disposition"`
Amaflags int `json:"amaflags"`
Accountcode string `json:"accountcode"`
Userfield string `json:"userfield"`
Uniqueid string `json:"uniqueid"`
Linkedid string `json:"linkedid"`
Sequence string `json:"sequence"`
Peeraccount string `json:"peeraccount"`
}
Call represents a CDR row
type Source ¶
Source represents the data source
func SetConnection ¶
SetConnection specifies the data source
Click to show internal directories.
Click to hide internal directories.