dial.go 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package model
  2. type Dial struct {
  3. Event string `json:"event"`
  4. Channel string `json:"channel"`
  5. ChannelState string `json:"channelState"`
  6. ChannelStateDesc string `json:"channelStateDesc"`
  7. CallerIDNum string `json:"callerIDNum"`
  8. CallerIDName string `json:"callerIDName"`
  9. ConnectedLineNum string `json:"connectedLineNum"`
  10. ConnectedLineName string `json:"connectedLineName"`
  11. AccountCode string `json:"accountCode"`
  12. Context string `json:"context"`
  13. Exten string `json:"exten"`
  14. Priority string `json:"priority"`
  15. Uniqueid string `json:"uniqueid"`
  16. Linkedid string `json:"linkedid"`
  17. DestChannel string `json:"destChannel"`
  18. DestChannelState string `json:"destChannelState"`
  19. DestChannelStateDesc string `json:"destChannelStateDesc"`
  20. DestCallerIDNum string `json:"destCallerIDNum"`
  21. DestCallerIDName string `json:"destCallerIDName"`
  22. DestConnectedLineNum string `json:"destConnectedLineNum"`
  23. DestConnectedLineName string `json:"destConnectedLineName"`
  24. DestLanguage string `json:"destLanguage"`
  25. DestAccountCode string `json:"destAccountCode"`
  26. DestContext string `json:"destContext"`
  27. DestExten string `json:"destExten"`
  28. DestPriority string `json:"destPriority"`
  29. DestUniqueid string `json:"destUniqueid"`
  30. DestLinkedid string `json:"destLinkedid"`
  31. DialString string `json:"dialString"`
  32. Forward string `json:"forward"`
  33. }
  34. type DialBeign Dial
  35. type DialEnd Dial
  36. type DialState Dial