Hello,

some modules expose internal API that other modules can use.

You can look at sl module how it binds to use the api from tm module. In general, if you check the readme of a module and it says it depends on another module, very likely it binds internally to that module API.

A module that binds to many other modules is app_lua, to export those APIs to lua scripting.

Cheers,
Daniel

On 01/03/15 15:23, Cockhootec Yahrabee wrote:
Hi, I am trying to develop custom Kamailio module in C and I am wondering if Kamailio itself provide some kind of mechanism that allow me to call other modules functions. 

Most of the functions I need to call are defined as "static" and there are accessible only in kamailio.cfg file (eg. nathelper's 'fix_nated_sdp_f()'). 

Is there any chance that I can call these methods in my custom module? Or I need to use them only in kamailio.cfg and provide it with my module?

Thank's for help in advance.


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com