[Freeswitch-users] RECURSIVE ERROR

Michael Jerris mike at jerris.com
Wed Jun 5 23:43:14 MSD 2013


its just logging that your doing something you probably shouldn't be doing, its not actually breaking the old behavior I dont think.  You should track down where you are doing what its describing and fix it.

Mike

On Jun 5, 2013, at 3:18 PM, Rodrigo Pinto <rodrigopintomendez at hotmail.com> wrote:

> Hello,
> 
> We recently migrated to latest stable version 1.2.9. And in the console
> this error is appearing randomly:
> 
> 2013-06-05 18:14:00.089079 [ERR] switch_ivr.c:144 RECURSION ERROR! It's
> not the best idea to call things that collect input recursively from an
> input callback.
> 
> I see that this version has this check in ./include/switch_types.h:
> 
> #define MAX_ARG_RECURSION 25
> 
> #define arg_recursion_check_start(_args) if (_args)
> {                                   \
>                 if (_args->loops >= MAX_ARG_RECURSION)
> {                                                \
>                         switch_log_printf(SWITCH_CHANNEL_LOG,
> SWITCH_LOG_ERROR,         \
>                                                           "RECURSION
> ERROR!  It's not the best idea to call things that collect input
> recursively from an input callback.\n"); \
>                         return SWITCH_STATUS_GENERR; \
>                 } else {_args->loops++;} \
>         }
> 
> 
> Any idea how to easily increase MAX_ARG_RECURSION or disable it like
> older versions?
> 
> Thanks!
> 




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list