summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-08-01 14:43:56 +0000
committerHenri Herscher <henri@oreka.org>2006-08-01 14:43:56 +0000
commit73d206c551c8af905f24336695d457ca3986c6e9 (patch)
tree054ca008c0070f0b4f864d8def77973ee6013531 /orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h
parent0182c73c34be9dea04a0274755bdba266cb0e7f9 (diff)
Applying changeset 269 from 0.5 to trunk:
Can now get local party info from the Skinny LineStatMessage. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@320 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h')
-rw-r--r--orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h b/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h
index 57a9d8e..c861f66 100644
--- a/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h
+++ b/orkaudio/audiocaptureplugins/voip/PacketHeaderDefs.h
@@ -90,6 +90,7 @@ typedef struct
//unsigned int csrc[1]; // optional CSRC list
} RtpHeaderStruct;
+//===================================================================
// Cisco Callmanager -> endpoint messages
typedef struct
{
@@ -154,6 +155,18 @@ typedef struct
char parties[76];
} SkNewCallInfoStruct;
+#define SKINNY_LINE_DIR_NUMBER_SIZE 24
+#define SKINNY_DISPLAY_NAME_SIZE 40
+typedef struct
+{
+ SkinnyHeaderStruct header;
+ unsigned int lineNumber;
+ char lineDirNumber[SKINNY_LINE_DIR_NUMBER_SIZE];
+ char displayName[SKINNY_DISPLAY_NAME_SIZE];
+} SkLineStatStruct;
+
+bool SkinnyValidateLineStat(SkLineStatStruct*);
+
// Endpoint -> Cisco Callmanager messages
typedef struct
{
@@ -177,6 +190,7 @@ bool SkinnyValidateOpenReceiveChannelAck(SkOpenReceiveChannelAckStruct *);
#define SKINNY_MSG_CLOSE_RECEIVE_CHANNEL "CloseReceiveChannel"
#define SKINNY_MSG_CALL_INFO_MESSAGE "CallInfoMessage"
#define SKINNY_MSG_OPEN_RECEIVE_CHANNEL_ACK "OpenReceiveChannelAck"
+#define SKINNY_MSG_LINE_STAT_MESSAGE "LineStatMessage"
#define SKINNY_CALL_TYPE_INBOUND 1
#define SKINNY_CALL_TYPE_OUTBOUND 2
@@ -188,6 +202,7 @@ typedef enum
SkStartMediaTransmission = 0x008A,
SkStopMediaTransmission = 0x008B,
SkCallInfoMessage = 0x008F,
+ SkLineStatMessage = 0x0092,
SkCloseReceiveChannel = 0x0106,
SkUnkn = 0x0
} SkinnyMessageEnum;