@@ -140,5 +140,7 @@ int load_tm( struct tm_binds *tmb)
LOG( L_ERR, LOAD_ERROR "'" T_GETT "' not found\n");
return -1;
}
+
+ tmb->route_mode = &rmode;
return 1;
@@ -44,6 +44,7 @@
#include "t_fwd.h"
#include "t_reply.h"
#include "t_lookup.h"
+#include "t_reply.h"
#include "dlg.h"
/* export not usable from scripts */
@@ -97,6 +98,7 @@ struct tm_binds {
free_dlg_f free_dlg;
print_dlg_f print_dlg;
tgett_f t_gett;
+ enum route_mode* route_mode;
};