As far as I know, reginfo is not used (much, if at all) outside of ims world, so it might be related to pua_reginfo. Maybe you can look at pua_dialoginfo and see how it deals with TM callbacks.
Overall, I am not completely satisfied with the TM callbacks system, there are many events related to them, not always clear which and when are called, and what component is in charge of cleaning up, the one and engages them or tm on transaction destroy. It can be cases when the callbacks are engaged, but the transaction is not yet created. It seems to work well for commonly used modules, but it is not easy to track what happens always.
Most of the related code in tm is rather old, maybe more than 20 years, designed by developers no longer active it the project, but maybe during Kamailio development meeting planned for the upcoming Novemeber in Dusseldorf we will get enough interested people to dig in and do a review of this internal callbacks system for tm module.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.