Hello,
I’m trying to decode a string from dialplan with function BASE64_DECODE() but it failed with below reason:
pbx_functions.c:608 ast_func_read: Function BASE64_DECODE not registered
I check the function on wiki and it still present in release 19.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+19+Function_BASE64_DECODE
I’m not sure what module is missing, can someone advise what module need to load to have the BASE64_DECODE function working please ?
Thanks,
NQD
jcolp
May 31, 2022, 11:38am
2
Is the func_base64 module loaded?
jcolp:
func_base64
Exactly right.
asterisk19CLI> module show like func_base64
Module Description Use Count Status Support Level
0 modules loaded
asterisk19 CLI> module load func_base64
Loaded func_base64
== Registered custom function ‘BASE64_ENCODE’
== Registered custom function ‘BASE64_DECODE’
Loaded func_base64.so => (base64 encode/decode dialplan functions)
Loaded the module then I can decode the string properly.
Thank @jcolp so much for the advice.
Cheers
system
Closed
June 30, 2022, 11:45am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.