This patch adds -DOPENSER_MOD_INTERFACE to the modules Makefile, this is needed to make Kamailio modules compile with the sip router core.
@@ -6,4 +6,6 @@ NAME=regex.so
DEFS+=-I$(LOCALBASE)/include
LIBS=-L$(LOCALBASE)/lib -lpcre
+DEFS+=-DOPENSER_MOD_INTERFACE
+
include ../../Makefile.modules