On May 11, 2009 at 12:05, Juha Heinanen <jh(a)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