as per http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#idp148408 a db_fetch_row of 0 should not load data from the DB At all.
I think doing this in mod_init makes the most sense, rather than further down in select_entire_dialog_table or similar. The docs say setting to 0 will only restrict the initial load on startup, not any subsequent loads.
https://github.com/kamailio/kamailio/pull/295
—
Reply to this email directly or view it on GitHub.