(key *ari.Key)
| 84 | } |
| 85 | |
| 86 | func (c *channel) Data(key *ari.Key) (*ari.ChannelData, error) { |
| 87 | data, err := c.c.dataRequest(&proxy.Request{ |
| 88 | Kind: "ChannelData", |
| 89 | Key: key, |
| 90 | }) |
| 91 | if err != nil { |
| 92 | return nil, err |
| 93 | } |
| 94 | return data.Channel, nil |
| 95 | } |
| 96 | |
| 97 | func (c *channel) Continue(key *ari.Key, context string, extension string, priority int) error { |
| 98 | return c.c.commandRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected