Asterisk - The Open Source Telephony Project
GIT-master-8924258
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
include
asterisk
transcap.h
Go to the documentation of this file.
1
/*
2
* Asterisk -- An open source telephony toolkit.
3
*
4
* Copyright (C) 1999 - 2005, Digium, Inc.
5
*
6
* Matthew Fredrickson <creslin@digium.com>
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
/*! \file
20
* \brief General Asterisk channel transcoding definitions.
21
*/
22
23
#ifndef _ASTERISK_TRANSCAP_H
24
#define _ASTERISK_TRANSCAP_H
25
26
/* These definitions are taken directly out of libpri.h and used here.
27
* DO NOT change them as it will cause unexpected behavior in channels
28
* that utilize these fields.
29
*/
30
31
/*! \name AstTranscode General Asterisk channel transcoding definitions.
32
*
33
* @{
34
*/
35
#define AST_TRANS_CAP_SPEECH 0x0
36
#define AST_TRANS_CAP_DIGITAL 0x08
37
#define AST_TRANS_CAP_RESTRICTED_DIGITAL 0x09
38
#define AST_TRANS_CAP_3_1K_AUDIO 0x10
39
#define AST_TRANS_CAP_7K_AUDIO 0x11
/* Depriciated ITU Q.931 (05/1998)*/
40
#define AST_TRANS_CAP_DIGITAL_W_TONES 0x11
41
#define AST_TRANS_CAP_VIDEO 0x18
42
43
/*! @} */
44
45
#define IS_DIGITAL(cap)\
46
(cap) & AST_TRANS_CAP_DIGITAL ? 1 : 0
47
48
#endif
/* _ASTERISK_TRANSCAP_H */
Generated on Wed Apr 23 2025 20:04:24 for Asterisk - The Open Source Telephony Project by
1.9.4