Errors


#1

Who knows how to solve this problem:

[app_cut.so] => (Cut out information from a string)
Mar 20 17:31:46 ERROR[24850]: pbx.c:1326 ast_custom_function_register: Function CUT already registered.
Mar 20 17:31:46 ERROR[24850]: pbx.c:1326 ast_custom_function_register: Function SORT already registered.
== Registered application ‘Sort’
== Registered application 'Cut’
Mar 20 17:31:46 WARNING[24850]: loader.c:414 __load_resource: app_cut.so: load_module failed, returning -1
== Unregistered application ‘Sort’
== Unregistered application 'Cut’
Mar 20 17:31:46 WARNING[24850]: loader.c:142 ast_unload_resource: Firm unload failed for app_cut.so
Mar 20 17:31:46 WARNING[24850]: loader.c:554 load_modules: Loading module app_cut.so failed!


#2

I found that since i had built a new asterisk after building an older one, there was one file found in /usr/lib/asterisk/modules. The file was “func_cut.so”. I noticed this file since the date on it was earlier than all other modules. Once i renamed it, asterisk fired up correctly.