[sr-dev] [kamailio/kamailio] Load dialogs from db at runtime, without restarting kamailio (#1274)

alexsosic notifications at github.com
Tue Apr 10 22:10:06 CEST 2018


 @miconda 
We've modified the route like this now:
`
route[FOREIGN_DIALOG] {
  $var(breadcrumbs) = "FOREIGN_DIALOG"; BREADCRUMBS
  xlog("L_NOTICE","[f:$fU-t:$tU id:$ci | $rm] Foreign dialog detected for Call-ID: $ci\n");
  dlg_db_load_callid($ci);
  setflag(FLG_AUTH_PASSED);
  dlg_manage();
} # end route FOREIGN_DIALOG
`

And everything seems working quite well now with the version 5.2.0~dev4+0~20180408010333.1091+xenial.
The old route was a quick&dirty fix for ending foreign dialogs before the recover from db.

I will test also the last nightly build tomorrow.

Thanks!

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1274#issuecomment-380230718
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180410/59f70e90/attachment.html>


More information about the sr-dev mailing list