@@ -68,6 +68,7 @@
#include "../../pvar.h"
#include "../../lib/kcore/km_ut.h"
#include "../../modules_k/usrloc/usrloc.h"
+#include "../../lib/kcore/statistics.h"
#include "../../modules/sl/sl.h"
#include "../../mod_fix.h"
@@ -442,7 +442,7 @@ int pv_fetch_contacts(struct sip_msg* msg, char* table, char* uri,
}
memcpy(rpp->aor.s, aor.s, aor.len);
rpp->aor.len = aor.len;
- rpp->domain = *((udomain_t*)table)->name;
+ rpp->domain = *((udomain_head_t*)table)->name;
rpp->flags = 1;
/* copy contacts */
@@ -59,6 +59,7 @@
#include "../../dset.h"
#include "../../lib/kcore/cmpapi.h"
#ifdef USE_TCP
#include "../../tcp_server.h"
#endif