summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
authorSuper User2007-12-22 10:10:18 +0100
committerSuper User2007-12-22 10:10:18 +0100
commite01d4caa3eef0f4d17e5513cb793e19fecd2b051 (patch)
tree4340e25359bd64c12f04d891d49057742111976b /message.h
parentsome minor output fixes (diff)
downloadlcr-e01d4caa3eef0f4d17e5513cb793e19fecd2b051.tar.gz
lcr-e01d4caa3eef0f4d17e5513cb793e19fecd2b051.tar.xz
lcr-e01d4caa3eef0f4d17e5513cb793e19fecd2b051.zip
some fixes, check README
modified: README modified: action.cpp modified: action_vbox.cpp modified: admin_client.c modified: admin_server.c modified: apppbx.cpp modified: apppbx.h modified: dss1.cpp modified: endpointapp.cpp modified: endpointapp.h modified: interface.c modified: joinpbx.cpp modified: joinremote.cpp modified: mISDN.cpp modified: main.h modified: message.h modified: port.cpp modified: port.h modified: todo.txt modified: tones.c
Diffstat (limited to 'message.h')
-rw-r--r--message.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/message.h b/message.h
index 1db509c..4776949 100644
--- a/message.h
+++ b/message.h
@@ -9,6 +9,8 @@
** **
\*****************************************************************************/
+#define ISDN_TRANSMIT 256 // samples
+
enum { /* interface types */
INFO_ITYPE_ISDN,
INFO_ITYPE_ISDN_EXTENSION, /* call from internal extension */
@@ -265,7 +267,7 @@ struct park_info {
/* DATA */
struct param_data {
- unsigned char data[512]; /* audio/hdlc data */
+ unsigned char data[ISDN_TRANSMIT]; /* audio/hdlc data */
int len; /* audio/hdlc data */
};
@@ -360,7 +362,6 @@ enum { /* messages between entities */
MESSAGE_TONE, /* set information tone (to isdn port) */
MESSAGE_DTMF, /* dtmf digit (from isdn port) */
MESSAGE_mISDNSIGNAL, /* special mixer command (down to isdn port) */
-
MESSAGE_SETUP, /* setup message */
MESSAGE_INFORMATION, /* additional digit information */
MESSAGE_OVERLAP, /* call accepted, send more information */
@@ -372,18 +373,14 @@ enum { /* messages between entities */
MESSAGE_TIMEOUT, /* protocol state has timed out (port->epoint) */
MESSAGE_NOTIFY, /* used to send progress and notify infos */
MESSAGE_FACILITY, /* used to facility infos, like aocd */
-
MESSAGE_SUSPEND, /* suspend port */
MESSAGE_RESUME, /* resume port */
-
MESSAGE_AUDIOPATH, /* set status of audio path to endpoint (to call, audio is also set) */
// MESSAGE_REMOTE_AUDIO, /* tell remote to set audio status */
MESSAGE_PATTERN, /* pattern information tones available */
MESSAGE_NOPATTERN, /* pattern information tones unavailable */
MESSAGE_CRYPT, /* encryption message */
-
MESSAGE_DATA, /* audio/hdlc data */
-
MESSAGE_VBOX_PLAY, /* play recorded file */
MESSAGE_VBOX_PLAY_SPEED,/* change speed of file */
MESSAGE_VBOX_TONE, /* set answering VBOX tone */