Index: app_read.c =================================================================== --- app_read.c (revision 49865) +++ app_read.c (working copy) @@ -187,7 +187,7 @@ } } } else { - res = ast_app_getdata(chan, arglist.filename, tmp, maxdigits, to); + res = ast_app_getdata_better(chan, arglist.filename, tmp, maxdigits, to); } if (res > -1) { pbx_builtin_setvar_helper(chan, arglist.variable, tmp);