Asterisk - The Open Source Telephony Project  18.5.0
Modules configuration

All res_ resource modules are loaded with globals on, which means that non-static functions are callable from other modules.

If you want your non res_* module to export functions to other modules you have to include it in the [global] section.