<p></p>
<p dir="auto">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 <code>publish_dialog_req_within</code> is checked whether DLGCB_REQ_WITHIN should be included.<br>
IMHO this check can be moved to mod_init, since event types aren't going to change.</p>
<p dir="auto">Sorry for missing that out in the PR description.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/3079#issuecomment-1102482445">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKIWILDPZ2YTUN5QCTVF2DQRANCNFSM5TDA5NIQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZMYHJZQW3UKSHHQQL3VF2DQRA5CNFSM5TDA5NI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIG3IYDI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/pull/3079/c1102482445</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/3079#issuecomment-1102482445",
"url": "https://github.com/kamailio/kamailio/pull/3079#issuecomment-1102482445",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>