<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
some modules expose internal API that other modules can use.<br>
<br>
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.<br>
<br>
A module that binds to many other modules is app_lua, to export
those APIs to lua scripting.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 01/03/15 15:23, Cockhootec Yahrabee
wrote:<br>
</div>
<blockquote
cite="mid:CAJetf72wTPS9K9kJnFT-QpG=NKbRvG+hAttSBikYYHG-cyCrHw@mail.gmail.com"
type="cite">
<div dir="ltr">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.
<div><br>
</div>
<div>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()'). </div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thank's for help in advance.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>