<p></p>
<p>You can go ahead and merge it.</p>
<p>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).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2273#issuecomment-609753936">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKGH4LYGF2S4FMONXDRLHAYFANCNFSM4MBAIJWQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKYWCIUP3M3ZTZ5Y5DRLHAYFA5CNFSM4MBAIJW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOERMBWUA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2273#issuecomment-609753936",
"url": "https://github.com/kamailio/kamailio/pull/2273#issuecomment-609753936",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>