Asterisk - The Open Source Telephony Project
21.4.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
include
asterisk
beep.h
Go to the documentation of this file.
1
/*
2
* Asterisk -- An open source telephony toolkit.
3
*
4
* Copyright (C) 2014, Russell Bryant
5
*
6
* Russell Bryant <russell@russellbryant.net>
7
*
8
* See http://www.asterisk.org for more information about
9
* the Asterisk project. Please do not directly contact
10
* any of the maintainers of this project for assistance;
11
* the project provides a web site, mailing lists and IRC
12
* channels for your use.
13
*
14
* This program is free software, distributed under the terms of
15
* the GNU General Public License Version 2. See the LICENSE file
16
* at the top of the source tree.
17
*/
18
19
/*!
20
* \file
21
* \brief Periodic beeps into the audio of a call
22
*/
23
24
#ifndef _ASTERISK_BEEP_H
25
#define _ASTERISK_BEEP_H
26
27
#include "
asterisk/optional_api.h
"
28
29
#if defined(__cplusplus) || defined(c_plusplus)
30
extern
"C"
{
31
#endif
32
33
AST_OPTIONAL_API
(
int
, ast_beep_start,
34
(
struct
ast_channel
*chan,
unsigned
int
interval,
char
*beep_id,
size_t
len),
35
{
return
-1; });
36
37
AST_OPTIONAL_API
(
int
, ast_beep_stop,
38
(
struct
ast_channel
*chan,
const
char
*beep_id),
39
{
return
-1; });
40
41
#if defined(__cplusplus) || defined(c_plusplus)
42
}
43
#endif
44
45
#endif
/* _ASTERISK_BEEP_H */
ast_channel
Main Channel structure associated with a channel.
Definition:
channel_internal_api.c:73
optional_api.h
Optional API function macros.
AST_OPTIONAL_API
#define AST_OPTIONAL_API(result, name, proto, stub)
Declare an optional API function.
Definition:
optional_api.h:230
Generated on Tue Jul 15 2025 11:50:31 for Asterisk - The Open Source Telephony Project by
1.8.10