[ipa] When including MGCP our messages might be bigger than 300 byte

The length field of the IPA header allows to have 16bit numbers
and I just ran into the 300 byte limit with MGCP messages. Make it
three times the size and see how long this is going to be enough.
This commit is contained in:
Holger Hans Peter Freyther
2010-04-04 18:12:37 +02:00
parent 19bab73d79
commit 6c8c0ddbe2

View File

@@ -57,7 +57,7 @@ struct ia_e1_handle {
static struct ia_e1_handle *e1h;
#define TS1_ALLOC_SIZE 300
#define TS1_ALLOC_SIZE 900
static const u_int8_t pong[] = { 0, 1, IPAC_PROTO_IPACCESS, IPAC_MSGT_PONG };
static const u_int8_t id_ack[] = { 0, 1, IPAC_PROTO_IPACCESS, IPAC_MSGT_ID_ACK };