[SR-Dev] git:master: * Moved lcr module from modules_k to modules and removed it from modules_s .

Andrei Pelinescu-Onciul andrei at iptel.org
Mon May 11 11:12:13 CEST 2009


On May 11, 2009 at 12:05, Juha Heinanen <jh at tutpro.com> wrote:
> Jan Janak writes:
> 
>  > > They should have been merged.
>  > > Looking only at recent commit logs, you lost from modules_s/lcr:
>  > >  - rpc interface
>  > >  - new db api
>  > >  - possible wrong db init from all the processes (see 8fb14f, 9961e8)
>  > 
>  > lcr modules do not have to be merged (apart from the changes
>  > necessary to make 
>  > it work with the new core). Juha's version in the kamailio tree is more
>  > advanced than what we had, in SER I only kept Juha's original lcr version
>  > compilable.
> 
> jan,
> 
> i think rpc interface would need to be added if someone is currently
> using it with ser lcr module.
> 
> by the way, how do you use your rcp interface from python or php?

xmlrpc (loadmodule "xmlrpc" from .cfg and then it should work with
standard xmlrpc libs).
There might a quirk or too (we have docs in sip_router/doc/rpc, but
 it's only an xml, no auto-generated html or txt and it should be
 re-organized a little since the docs are from the time we had only
 xmlrpc and they don't take into account the binary rpc/ctl modules part
 or the fifo).

 Juha, it's ok with you if I add the rpc support to lcr? It would help
 see what exactly would be needed for a module to support both mi and
 rpc (for example since in ser modules the rpc interface is part of the
 module interface we have to register rpc functions in a different way
 in kamailio modules).

Andrei



More information about the sr-dev mailing list