[sr-dev] kamailio 5.2 : which is the best way to connect to Kamailio and to manage him?

Henning Westerholt hw at kamailio.org
Mon Jan 7 09:27:21 CET 2019

Am Montag, 7. Januar 2019, 03:56:34 CET schrieb yboujraf at by-research.be:
> Thanks for your quick answer.
> Regarding migration 4.2 to 5.2 I will check line by line and try to fix it.
> My most issue is the database modules changed and to adapt is taking time.
> DEV :
> Regarding the Dev environment, I am trying to use Go (for cross-platform)
> and kafka connector to get all the events through Database and push
> notification to my automation then if Kamailio upgrade or change any
> structure, I will not be impacted.
> Like this :
> 	KAMAILIO 5.2 -> DB MONGODB NoSQL -> Connector -> Transforms -> Converter ->
> Kafka
> 	Kafka -> Converter -> Transforms -> Connector  -> DB MONGODB NoSQL ->
> 	I am not sure but if MongoDB is supported by Kamailio 5.2 and if any script
> is available to install it?
> But I have seen into the website at : https://www.kamailio.org/w/features/
> 	External Interaction via
> 		- RPC control interface – via XMLRPC, JSONRPC, UDP or TCP
> 	Extensibility APIs
> 		Java SIP Servlet Application Interface – write Java SIP Servlets to 
> your VoIP services and integrate with web services Lua Programming
> Interface
> 		JavaScript Programming Interface
> 		Managed Code (C#) Programming Interface
> 		Python Programming Interface
> 		Java Programming Interface
> 		Generic Event API via TCP connections
> But I can't find any link to API or other.

Hello Youssef,

have a look to this wiki page on some pointers how to use mongodb with 


About the API question - as Kamailio provides a small core and over 200 
extension modules there are no huge generic API docs. You start by choosing 
the appropriate RPC control interface. Your further process then it depends on 
the modules that you loaded.

Have a look to the respective module documentation (README) to find the 
provided RPC commands from this module. The core provides also some RPC 
commands, they are documented in our wiki.

Best regards,


Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
Kamailio security assessment - https://skalatan.de/de/assessment

More information about the sr-dev mailing list