In mod_init, pua_dialoginfo registers a dialog callback for newly created dialogs. When this callback runs, it registers another callback for this newly created dialog, w/ the interesting dialog event types. modparam publish_dialog_req_within is checked whether DLGCB_REQ_WITHIN should be included.
IMHO this check can be moved to mod_init, since event types aren't going to change.

Sorry for missing that out in the PR description.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3079/c1102482445@github.com>