You can go ahead and merge it.
I am thinking that it could make sense to add some dedicated functions to the TM module
and TM API to get only the needed fields from a transaction, not to have to backup active
transaction, lookup the one we need for checking and then restoring to the old one, as
long as we do not need to do any other operation with the searched transaction. But this
only as a future enhancement (the idea popped up a while ago, for some other parts of the
code, but could be used here as well).
--
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/2273#issuecomment-609753936