From e01d4caa3eef0f4d17e5513cb793e19fecd2b051 Mon Sep 17 00:00:00 2001 From: Super User Date: Sat, 22 Dec 2007 10:10:18 +0100 Subject: 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 --- message.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'message.h') 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 */ -- cgit v1.2.3-55-g7522