<div dir="ltr"><div dir="ltr">I found that the export module interface was changed (<a href="https://www.kamailio.org/w/2018/09/new-module-exports-interface/">https://www.kamailio.org/w/2018/09/new-module-exports-interface/</a>).<div><br></div><div>I downgraded to old-style version this structure</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">struct module_exports exports = {<br> "xhttp_prom",<br> DEFAULT_DLFLAGS, /* dlopen flags */<br> cmds,<br> params,<br> 0, /* exported RPC methods */<br> 0, /* exported pseudo-variables */<br> 0, /* response function */<br> mod_init, /* module initialization function */<br> 0, /* per child init function */<br> mod_destroy /* destroy function */<br>};</blockquote><div>to</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">struct module_exports exports = {<br> "xhttp_prom",<br> DEFAULT_DLFLAGS, /* dlopen flags */<br> cmds,<br> params,<br> 0,<br> 0, /* exported MI functions */<br> 0, /* exported pseudo-variables */<br> 0, /* extra processes */<br> mod_init, /* module initialization function */<br> 0, /* per child init function */<br> mod_destroy, /* destroy function */<br> NULL /* per child init function */<br>};</blockquote><div>The problem is that <u>mod_init</u> was zero, so it was not called.</div><div>And now mod_init is called and I can use this module.</div><div><br></div><div>Many thanks 😊 </div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="DE"><div><div><div>
</div>
</div>
</div>
</div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>