Hello,<br><br><div>This is Luis Martin. I am developing a new module for Kamailio. This module will include some functions which will allow Kamailio to connect to another servers and retrieve information. I&#39;m thinking on creating a couple of child from my main function, each child will execute a query to an specific server. I read this file &quot;doc/modules_init.txt&quot;, but I&#39;m having some troubles and I would appreciate if you could please help me with this.<br>

<br><div>This is the how the the first draft of the forking code looks like:<br><a href="http://pastebin.com/MLXDN9p9" target="_blank">http://pastebin.com/MLXDN9p9</a></div><div>I call the &quot;mod_child&quot; function from my function like this:<br>

int myFunction () {<br>  (...)<br>  mod_child(randomNUMBER);<br>  (...)<br>}<br><br>But nothing happens, neither during the compilation process, nor the execution. Nothing is printed on the logs. Can you please point me out any suggestion or example?<br>

- How I am supposed to call the &quot;mod_child()&quot; function?<br>- Which should be the rank_number: PROC_MAIN?<br>- How I am supposed to cal the &quot;mod_init()&quot; function?<br>- Again, could you please provide my any example?<br>

<br></div><div>Thanks a lot.</div><div><br>Best,<br>Luis Martin</div></div>