An update on this.
I tried setting my dialog module to the use the db. No db entry is ever made.
loadmodule "dialog.so"
...
modparam("dialog", "db_url", DBURL)
modparam("dialog", "db_mode", 1)
modparam("dialog", "dlg_flag", 4)
modparam("dialog", "dlg_match_mode", 1)
...
request_route {
if (is_method("INVITE") && (! has_totag() ) ) {
dlg_manage();
}
if (is_method("BYE")) {
$var(elapsed) = ( $TV(s) - $dlg(start_ts) );
xlog ("L_INFO", "request_route DIALOG TEST: Completed $dlg(from_uri) to $dlg(to_uri), elapsed: $var(elapsed), now seconds: $TV(s), dlg start time: $dlg(start_ts), DLG_lifetime: $DLG_lifetime");
}
....
I hope this message finds every one well.
All the best.