[SR-Dev] Kamailio MI in shared modules

Jan Janak jan at iptel.org
Thu Feb 19 14:28:09 CET 2009


On 19-02 14:24, Jan Janak wrote:
> Hello,
> 
> I just figured that the kamailio interface in shared modules (such as
> db_berkeley and db_flatstore) wouldn't work. Such modules are defined with
> -DSER_MOD_INTERFACE and thus use the module_exports structure from SER, which
> does not have the MI structure entry.
> 
> So although such modules have all the MI commands and they link with libkmi,
> none of the management functions gets exported through the module API.
> 
> Is there any solution to this yet?
> 
>   Jan.

Maybe the modules which contain MI commands should be recompiled with
-DOPENSER_MOD_INTERFACE with the module interface structures changed to those
from kamailio because ser module structures are a subset of those from
kamailio? Any opinions or recommendations?

   Jan.



More information about the sr-dev mailing list