<div dir="ltr">Ok Joli!<div><br></div><div>Here is the way I do this.</div><div><br></div><div>At the begining of your kamailio.cfg, just after "#!KAMAILIO" insert this define:</div><div><br></div><div>#!define WITH_DEBUG</div><div><br></div><div>In your global parameters, you must now define what happens if "WITH_DEBUG" is configurated, so add these lines:</div><div><br></div><div>#!ifdef WITH_DEBUG<br></div><div><div>debug=4</div><div>log_stderror=yes</div><div>#!else</div><div>debug=2</div><div>log_stderror=no</div><div>#!endif</div></div><div><br></div><div><br></div><div>On Modules Selection, load the module debbuger.so:</div><div><br></div><div><div>#!ifdef WITH_DEBUG</div><div>loadmodule "debugger.so"</div><div>#!endif</div><div><br></div><div class="gmail_extra">And set the module specific parameters:<br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><span style="font-family:Arial"><br></span></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><div><font face="Arial">#!ifdef WITH_DEBUG</font></div><div><font face="Arial"># ----- debugger params -----</font></div><div><font face="Arial">modparam("debugger", "cfgtrace", 1)</font></div><div><font face="Arial">#!endif</font></div><div style="font-family:Arial"><br></div><div style="font-weight:bold;font-family:Arial"><span style="font-weight:normal">Maybe some of these informations can be there, but I am not sure about the default configuration file.</span><br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">After these changes, restart your kamailio and you should see a lot of information in your screen. Then, just try to find the error there.</div><div style="font-family:Arial"><br></div><div style="font-family:Arial">I just asked something here in this forum as well, and posted my .cfg file there. If you want to check the places where I put these lines, take a look at the topic "MULTIDOMAIN Environment".</div><div style="font-family:Arial"><br></div><div style="font-family:Arial"><br></div><div style="font-family:Arial">After discover the error and finish your troubleshooting, you can just comment the line #!define WITH_DEBUG putting one more # at the beginning of it and you will not see the debug information anymore.</div><div style="text-decoration:underline;font-weight:bold;font-family:Arial"><br></div></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><strong style="font-family:Arial"><u><br></u></strong></font></span></div><div><strong style="color:rgb(0,0,0);font-family:Arial"><u>Bruno Emer</u></strong><br></div><div><font color="#00a1e6" style="font-size:small;font-family:sans-serif"><br></font></div><div><br></div></div></div></div></div></div></div>