diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 17fab8acd6eff8ed90b3a3a140f4e453599b9334..c2baa596001bca6d59e8f493e514bc8ffc0d8b2c 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5083,7 +5083,7 @@ static void *do_monitor(void *data) res2 = ioctl(last->subs[SUB_REAL].zfd, ZT_FLUSH, &x); if (res2) ast_log(LOG_WARNING, "Unable to flush input on channel %d\n", last->channel); - last->cidspill = malloc(8192); + last->cidspill = malloc(MAX_CALLERID_SIZE); if (last->cidspill) { /* Turn on on hook transfer for 4 seconds */ x = 4000;