Asterisk - The Open Source Telephony Project  18.5.0
Macros
transcap.h File Reference

General Asterisk channel transcoding definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IS_DIGITAL(cap)   (cap) & AST_TRANS_CAP_DIGITAL ? 1 : 0
 
AstTranscode General Asterisk channel transcoding definitions.
#define AST_TRANS_CAP_SPEECH   0x0
 
#define AST_TRANS_CAP_DIGITAL   0x08
 
#define AST_TRANS_CAP_RESTRICTED_DIGITAL   0x09
 
#define AST_TRANS_CAP_3_1K_AUDIO   0x10
 
#define AST_TRANS_CAP_7K_AUDIO   0x11 /* Depriciated ITU Q.931 (05/1998)*/
 
#define AST_TRANS_CAP_DIGITAL_W_TONES   0x11
 
#define AST_TRANS_CAP_VIDEO   0x18
 

Detailed Description

General Asterisk channel transcoding definitions.

Definition in file transcap.h.

Macro Definition Documentation

◆ AST_TRANS_CAP_3_1K_AUDIO

#define AST_TRANS_CAP_3_1K_AUDIO   0x10

Definition at line 37 of file transcap.h.

Referenced by ast_transfercapability2str().

◆ AST_TRANS_CAP_7K_AUDIO

#define AST_TRANS_CAP_7K_AUDIO   0x11 /* Depriciated ITU Q.931 (05/1998)*/

Definition at line 38 of file transcap.h.

◆ AST_TRANS_CAP_DIGITAL

#define AST_TRANS_CAP_DIGITAL   0x08

Definition at line 35 of file transcap.h.

Referenced by ast_transfercapability2str(), and dahdi_request().

◆ AST_TRANS_CAP_DIGITAL_W_TONES

#define AST_TRANS_CAP_DIGITAL_W_TONES   0x11

Definition at line 39 of file transcap.h.

Referenced by ast_transfercapability2str().

◆ AST_TRANS_CAP_RESTRICTED_DIGITAL

#define AST_TRANS_CAP_RESTRICTED_DIGITAL   0x09

Definition at line 36 of file transcap.h.

Referenced by ast_transfercapability2str().

◆ AST_TRANS_CAP_SPEECH

#define AST_TRANS_CAP_SPEECH   0x0

Definition at line 34 of file transcap.h.

Referenced by ast_transfercapability2str().

◆ AST_TRANS_CAP_VIDEO

#define AST_TRANS_CAP_VIDEO   0x18

Definition at line 40 of file transcap.h.

Referenced by ast_transfercapability2str().

◆ IS_DIGITAL

#define IS_DIGITAL (   cap)    (cap) & AST_TRANS_CAP_DIGITAL ? 1 : 0

Definition at line 43 of file transcap.h.

Referenced by dahdi_call().