<div dir="ltr">Further to this, I have created a pull request that I think should behave better.<div><br></div><div><a href="https://github.com/kamailio/kamailio/pull/295">https://github.com/kamailio/kamailio/pull/295</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 August 2015 at 10:06, jay binks <span dir="ltr"><<a href="mailto:jaybinks@gmail.com" target="_blank">jaybinks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey All,<br><br>Im just after someone else thoughts on if this is a bug.<br><br>After reading : <a href="http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#idp148408" target="_blank">http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#idp148408</a><br>Im lead to understand that setting <i>modparam("dialog", "db_fetch_rows", 0)</i><br>should instruct the dialog module to write dialogs to the DB, but not bother loading them on startup.   This sounds like what I'm after.<br><br>However ever time I set the value to 0, dialogs are still loaded from the DB.<br><br>a quick dig in the source takes me to the function <br><br>select_entire_dialog_table in dlg_db_handler.c<br>this chunk of code does not appear to properly implement " if fetch_num_rows == 0 then do nothing "<br><br>Im after a couple of things from you guys.<div><br></div><div>a) validation that my understanding of what SHOULD happen is correct</div><div>b) possibly validating that I'm not crazy, and this is actually a bug :)<br><br>--<br>Sincerely<span class="HOEnZb"><font color="#888888"><br><br>Jay<br><div>
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Sincerely<br><br>Jay</div>
</div>