Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532, #3400)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-03-17 21:30:19 +00:00
parent 6546acebfb
commit 7082d0584e
22 changed files with 1952 additions and 46 deletions

View File

@@ -138,6 +138,9 @@
#define IAX_META_TRUNK 1 /* Trunk meta-message */
#define IAX_META_VIDEO 2 /* Video frame */
#define IAX_META_TRUNK_SUPERMINI 0 /* This trunk frame contains classic supermini frames */
#define IAX_META_TRUNK_MINI 1 /* This trunk frame contains trunked mini frames */
#define IAX_RATE_8KHZ (1 << 0) /* 8khz sampling (default if absent) */
#define IAX_RATE_11KHZ (1 << 1) /* 11.025khz sampling */
#define IAX_RATE_16KHZ (1 << 2) /* 16khz sampling */
@@ -209,6 +212,12 @@ struct ast_iax2_meta_trunk_entry {
unsigned short len; /* Length of data for this callno */
} __attribute__ ((__packed__));
/* When trunktimestamps are used, we use this format instead */
struct ast_iax2_meta_trunk_mini {
unsigned short len;
struct ast_iax2_mini_hdr mini; /* this is an actual miniframe */
} __attribute__ ((__packed__));
#define IAX_FIRMWARE_MAGIC 0x69617879
struct ast_iax2_firmware_header {