<div>Hello,<br></div><div><br></div><div>Is it possible to build a module (e.g mod_sofia ) statically and link it with FreeSwitch.dll / libfreeswitch.a ?</div><div><br></div><div>switch_loadable_module_load_file  always tries to get module struct first from  libfreeswitch and after that, if not found, it tries the module itself </div>
<div><br></div><div>... ... </div><div>dso = switch_dso_open(&quot;FreeSwitch.dll&quot;, load_global, &amp;derr);<br></div><div>... ...<br>        </div><div>... ... </div><div>if (!interface_struct_handle) {<br>                dso = switch_dso_open(path, load_global, &amp;derr);<br>
        }<br></div><div> ... ...</div><div>... ...</div><div>if (!interface_struct_handle) {<br>                        interface_struct_handle = switch_dso_data_sym(dso, struct_name, &amp;derr);<br>                }<br><br></div><div><br></div><div>What about SWITCH_MOD_DECLARE_STATIC?</div>
<div><br></div><div>Thanks</div><div><br></div><div>Paulo</div>