[SR-Users] kamailio 5.0.6 try to using dialog module - dont starts dialog counting

Tomi Hakkarainen tpaivaa at gmail.com
Tue Mar 27 18:05:25 CEST 2018


Hi Karsten,

Why is the dlg_flag set to 8
What is the purpose of that on the modparam?

I did not find from the documentation the meaning or did not understand :)

Tomi

> On 27 Mar 2018, at 17.10, Karsten Horsmann <khorsmann at gmail.com> wrote:
> 
> Hello Daniel,
> 
> yeap after a few moments later ;) i found this nice thread https://lists.kamailio.org/pipermail/sr-users/2012-July/073919.html <https://lists.kamailio.org/pipermail/sr-users/2012-July/073919.html>
> 
> and i must set "dlg_manage();" near the setflag(FLT_ACC) stuff and 
> modparam("dialog", "db_mode", 0)
> 
> so now it counts "dialogs" - and you are right, there are not attached to any of my profiles at this moment.
> 
> Seems to be a "must have" the  modparam("dialog", "db_mode", WHATEVER)  - 0 in my case.
> 
> 2018-03-27 15:49 GMT+02:00 Daniel Tryba <d.tryba at pocos.nl <mailto:d.tryba at pocos.nl>>:
> On Tue, Mar 27, 2018 at 03:27:27PM +0200, Karsten Horsmann wrote:
> > loading the module and the dependencies - check.
> > set and dlg_flag via module param - check.
> >
> > MUST i use a DB?! Or what is missing?
> >
> >
> >  kamctl stats | grep dialog
> >     "dialog:active_dialogs = 0",
> >     "dialog:early_dialogs = 0",
> >     "dialog:expired_dialogs = 0",
> >     "dialog:failed_dialogs = 0",
> >     "dialog:processed_dialogs = 0",
> >
> > the dialog snippets (grep out ouf my config):
> >
> > #!define DLG_FLAG 8
> ...
> > modparam("dialog", "track_cseq_updates", 1)
> 
> You need to set a profile for the dialogs you want to register with
> set_dlg_profile
> 
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
> 
> 
> 
> -- 
> Mit freundlichen Grüßen
> *Karsten Horsmann*
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180327/4b9898ed/attachment.html>


More information about the sr-users mailing list