24 #ifndef _ASTERISK_BEEP_H 25 #define _ASTERISK_BEEP_H 29 #if defined(__cplusplus) || defined(c_plusplus) 34 (
struct ast_channel *chan,
unsigned int interval,
char *beep_id,
size_t len),
41 #if defined(__cplusplus) || defined(c_plusplus) Main Channel structure associated with a channel.
Optional API function macros.
int AST_OPTIONAL_API_NAME() ast_beep_stop(struct ast_channel *chan, const char *beep_id)
#define AST_OPTIONAL_API(result, name, proto, stub)
Declare an optional API function.
int AST_OPTIONAL_API_NAME() ast_beep_start(struct ast_channel *chan, unsigned int interval, char *beep_id, size_t len)
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)