summaryrefslogtreecommitdiff
path: root/funcs/func_callerid.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_callerid.c')
-rw-r--r--funcs/func_callerid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/funcs/func_callerid.c b/funcs/func_callerid.c
index 8bce770a2..3968e9438 100644
--- a/funcs/func_callerid.c
+++ b/funcs/func_callerid.c
@@ -274,12 +274,14 @@ static int callerid_write(struct ast_channel *chan, const char *cmd, char *data,
static struct ast_custom_function callerid_function = {
.name = "CALLERID",
.read = callerid_read,
+ .read_max = 256,
.write = callerid_write,
};
static struct ast_custom_function callerpres_function = {
.name = "CALLERPRES",
.read = callerpres_read,
+ .read_max = 50,
.write = callerpres_write,
};