| 12345678910111213141516171819202122232425262728 | 
							- package model
 
- type SrcDstInfo struct {
 
- 	Src string `json:"src"  binding:"required"`
 
- 	Dst string `json:"dst"  binding:"required"`
 
- }
 
- type ChannelDstInfo struct {
 
- 	Channel string `json:"channel"  binding:"required"`
 
- 	Dst     string `json:"dst"  binding:"required"`
 
- }
 
- type ExtensionDstInfo struct {
 
- 	Extension string `json:"extension"  binding:"required"`
 
- 	Dst       string `json:"dst"  binding:"required"`
 
- }
 
- type PageVO struct {
 
- 	Extensions []string `json:"extensions"  binding:"required"`
 
- 	Src        string   `json:"src"  binding:"required"`
 
- 	Duplex     bool     `json:"duplex"`
 
- }
 
- type DialVO struct {
 
- 	Extension    string `json:"extension"  binding:"required"` // 被叫
 
- 	CallerID     string `json:"callerID"`                      // callerID 显示,空值使用 Extension
 
- 	CallerNumber string `json:"callerNumber"`                  // 主叫, 若未传入通过登录账号查询关联分机
 
- }
 
 
  |