ERROR[17943]: pbx.c:3367 ast_func_read: Function SHIFT not registered

When using SHIFT conditions in dialplan , CLI shows the above error.

Which module to load the SHIFT condition in asterisk.

I had loaded func_logic module in asterisk but same error repeating…

The SHIFT dialplan function is in the func_strings module.

On loading func_strings.so

Loaded func_strings.so
== Registered custom function ‘FIELDQTY’
== Registered custom function ‘FILTER’
== Registered custom function ‘LISTFILTER’
== Registered custom function ‘REGEX’
== Registered custom function ‘ARRAY’
== Registered custom function ‘QUOTE’
== Registered custom function ‘CSV_QUOTE’
== Registered custom function ‘LEN’
== Registered custom function ‘STRFTIME’
== Registered custom function ‘STRPTIME’
== Registered custom function ‘EVAL’
== Registered custom function ‘KEYPADHASH’
== Registered custom function ‘HASHKEYS’
== Registered custom function ‘HASH’
== Registered application ‘ClearHash’
== Registered custom function ‘TOUPPER’
== Registered custom function ‘TOLOWER’
Loaded func_strings.so => (String handling dialplan functions)

It loaded successfully but getting the same error.

What version of Asterisk are you using?

Currently , I am using asterisk version 1.6 in my server

But i had now switched to asterisk 16.1.1 version it’s working but unable to use Macro in dialplan functions to jump to another context…

In version 16 Macro are depreacted. You could in menuconfig enable it. Now you should use GoSub() instead Macro()

Thanks @jcolp @przeqpiciel for your information…

I will try my best …

Actually, they are also deprecated in 1.6, but I think, with 16, they may not be included in the standard build.

Thanks @david551 , I will try with asterisk version 16