[sr-dev] [kamailio/kamailio] dialog: in dlg_onreq function, the result of this check is always false (#1791)

Jose Luis Verdeguer notifications at github.com
Wed Jan 9 11:44:10 CET 2019

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)

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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190109/69128bdf/attachment.html>

More information about the sr-dev mailing list