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@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

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@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--
Mit freundlichen Grüßen
*Karsten Horsmann*
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users