Function CEIL/ROUND not registered

I am using Asterisk 16.1.1 and getting the

[Jun 4 05:19:07] ERROR[5335][C-00053ba7]: pbx_functions.c:608 ast_func_read: Function CEIL not registered
– Executing [123456@TestC2C:1] Set(“Console/dsp”, “consumed_min=”) in new stack

[Jun 4 04:37:26] ERROR[1897][C-00053b9a]: pbx_functions.c:608 ast_func_read: Function round not registered
– Executing [123456@TestC2C:1] Set(“Console/dsp”, “consumed_min=”) in new stack

and func_math is loaded

98*CLI> module show like func_math.so
Module Description Use Count Status Support Level
func_math.so Mathematical dialplan function 0 Running core

So which function I need to load?

It is ROUND, not round.

These are implemented in the core code (ast_expr2.c), and, as far as I can tell, should be used without ${....}, although within $[.....].

They will not be generated if configure fails to find OS support for them.

PS, when providing verbose logging of the dialplan, also provide the uninterpreted code.

1 Like

Thanks @david551 it is working now and yes it should be used with $[…]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.