|
@@ -40,6 +40,7 @@
|
|
|
#include "../../mem/mem.h"
|
|
|
#include "../../sr_module.h"
|
|
|
#include "../../pvar.h"
|
|
|
+#include "../../forward.h"
|
|
|
#include "../../mod_fix.h"
|
|
|
#include "domain.h"
|
|
|
#include "mi.h"
|
|
@@ -153,6 +154,11 @@ static int mod_init(void)
|
|
|
LM_ERR("failed to register MI commands\n");
|
|
|
return -1;
|
|
|
}
|
|
|
+ if(register_check_self_func(domain_check_self)<0)
|
|
|
+ {
|
|
|
+ LM_ERR("failed to register check self function\n");
|
|
|
+ return -1;
|
|
|
+ }
|
|
|
|
|
|
db_url.len = strlen(db_url.s);
|
|
|
domain_table.len = strlen(domain_table.s);
|