Sound represents a communication path to the asterisk server for Sound resources
| 3 | // Sound represents a communication path to |
| 4 | // the asterisk server for Sound resources |
| 5 | type Sound interface { |
| 6 | // List returns available sounds limited by the provided filters. |
| 7 | // Valid filters are "lang", "format", and nil (no filter) |
| 8 | List(filters map[string]string, keyFilter *Key) ([]*Key, error) |
| 9 | |
| 10 | // Data returns the Sound's data |
| 11 | Data(key *Key) (*SoundData, error) |
| 12 | } |
| 13 | |
| 14 | // SoundData describes a media file which may be played back |
| 15 | type SoundData struct { |
no outgoing calls
no test coverage detected