int load_module(void) { int res; /* Configuration file */ loadconfigurationfile(); res = ast_cdr_register(name, desc, manager_log); if (res) { ast_log(LOG_ERROR, "Unable to register Asterisk Call Manager CDR handling\n"); } return res; }
static int load_module(void) { int res; /* Configuration file */ if (!loadconfigurationfile()) return AST_MODULE_LOAD_DECLINE; res = ast_cdr_register(name, "Asterisk Manager Interface CDR Backend", manager_log); if (res) { ast_log(LOG_ERROR, "Unable to register Asterisk Call Manager CDR handling\n"); } return res; }
int reload(void) { loadconfigurationfile(); return 0; }