cdr.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package model
  2. // Cdr 通话记录
  3. type Cdr struct {
  4. AnswerTime string `xorm:"AnswerTime"`
  5. BillableSeconds string `xorm:"BillableSeconds"`
  6. CallerID string `xorm:"CallerID"`
  7. Channel string `xorm:"Channel"`
  8. Destination string `xorm:"Destination"`
  9. DestinationChannel string `xorm:"DestinationChannel"`
  10. DestinationContext string `xorm:"DestinationContext"`
  11. Disposition string `xorm:"Disposition"`
  12. Duration string `xorm:"Duration"`
  13. EndTime string `xorm:"EndTime"`
  14. Event string `xorm:"Event"`
  15. LastApplication string `xorm:"LastApplication"`
  16. LastData string `xorm:"LastData"`
  17. Privilege string `xorm:"Privilege"`
  18. RecordFile string `xorm:"RecordFile"`
  19. Source string `xorm:"Source"`
  20. StartTime string `xorm:"StartTime"`
  21. Timestamp string `xorm:"Timestamp"`
  22. UniqueID string `xorm:"UniqueID"`
  23. }
  24. type RcdConf struct {
  25. PadRcdEnable string `json:"padRcdEnable"`
  26. PadRcdStorageDays string `json:"padRcdStorageDays"`
  27. PaRcdStorageDays string `json:"paRcdStorageDays"`
  28. CpaRcdStorageDays string `json:"cpaRcdStorageDays"`
  29. OpaRcdStorageDays string `json:"opaRcdStorageDays"`
  30. PadRcdDelDays string `json:"pad_rcd_del_days"`
  31. PaRcdDelDays string `json:"pa_rcd_del_days"`
  32. CpaRcdDelDays string `json:"cpa_rcd_del_days"`
  33. OpaRcdDelDays string `json:"opa_rcd_del_days"`
  34. }