summaryrefslogtreecommitdiff
path: root/channels/iax2.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-06-30 00:48:27 +0000
committerMark Spencer <markster@digium.com>2003-06-30 00:48:27 +0000
commitf7f30d8c63edfd467631151ea234a615f896e9f3 (patch)
tree34c362608ba22f633c0d032c93578513be10a360 /channels/iax2.h
parent6fb26bad224ddbe86a2836e6d26afd4716cf13a9 (diff)
Add video support to IAX2 (theoretically)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2.h')
-rwxr-xr-xchannels/iax2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/channels/iax2.h b/channels/iax2.h
index d69459999..1a14759bb 100755
--- a/channels/iax2.h
+++ b/channels/iax2.h
@@ -142,6 +142,13 @@ struct ast_iax2_meta_hdr {
unsigned char data[0];
} __attribute__ ((__packed__));
+struct ast_iax2_video_hdr {
+ unsigned short zeros; /* Zeros field -- must be zero */
+ unsigned short callno; /* Video call number */
+ unsigned short ts; /* Timestamp and mark if present */
+ unsigned char data[0];
+} __attribute__ ((__packed__));
+
struct ast_iax2_meta_trunk_hdr {
unsigned int ts; /* 32-bit timestamp for all messages */
unsigned char data[0];