You are right, sorry for the noise. But I have some doubts.
You said that dlg_flag parameter is not required but if I don't set the dlg_flag,
kamailio gives me an error when load dialog module:
```
Jan 9 10:53:08 pepelux /usr/local/sbin/kamailio[27387]: ERROR: dialog [dialog.c:519]:
mod_init(): invalid dlg flag -1!!
Jan 9 10:53:08 pepelux /usr/local/sbin/kamailio[27387]: ERROR: <core>
[core/sr_module.c:911]: init_mod(): Error while initializing module dialog
(/usr/local/lib64/kamailio/modules/dialog.so)
```
It worked for me as follow:
```
#!define DLG_FLAG 3
modparam("dialog", "dlg_flag", DLG_FLAG)
route(CNXCC);
dlg_manage();
```
My problem was that I called route(CNXCC) after dlg_manage() and it seems that it is
necessary to execute cnxcc functions before the dlg_manage().
Thanks for the help
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1791#issuecomment-452652477