Did you set the `dlg_flag` parameter for dialog module?

  * 
https://www.kamailio.org/docs/modules/stable/modules/dialog.html#dialog.p.flag

If yes, that is not required if you use `dlg_manage()`. If you set the 
modparam, then you have to do setflag(X) where X is the value for dlg_flag 
modparam.

Otherwise, if I didn't miss something, the condition there should to be ok to 
execute the code - dlg_flag_mask is 0 by default (with no dlg_flag set) and the 
expression evaluates to if(0!=0) return:

```
if((req->flags&dlg_flag_mask)!=dlg_flag_mask) return;
``

-- 
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-452607617
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to