|
@@ -25,6 +25,7 @@
|
|
#include "ts_handlers.h"
|
|
#include "ts_handlers.h"
|
|
|
|
|
|
extern struct tm_binds _tmb;
|
|
extern struct tm_binds _tmb;
|
|
|
|
+extern struct ts_table *t_table;
|
|
|
|
|
|
/*!
|
|
/*!
|
|
* \brief add transaction structure to tm callbacks
|
|
* \brief add transaction structure to tm callbacks
|
|
@@ -61,6 +62,8 @@ void ts_onreply(struct cell* t, int type, struct tmcb_params *param)
|
|
ts_entry_t* _e;
|
|
ts_entry_t* _e;
|
|
ts_transaction_t *cb_ptr, *ptr;
|
|
ts_transaction_t *cb_ptr, *ptr;
|
|
|
|
|
|
|
|
+ if(t_table==0) return;
|
|
|
|
+
|
|
cb_ptr = (ts_transaction_t*)(*param->param);
|
|
cb_ptr = (ts_transaction_t*)(*param->param);
|
|
if (cb_ptr == NULL) {
|
|
if (cb_ptr == NULL) {
|
|
LM_DBG("NULL param for type %d\n", type);
|
|
LM_DBG("NULL param for type %d\n", type);
|