<p>I am assuming access to XAVP is synchronized as part of the transaction.</p>
<p>Even if this maybe off topic I am just making sure this assumption is safe.<br>
I am looking at the TM module to make sure I understand how the multi replies are synchronized.<br>
I can see in the TM module that the post callback is "releasing the transaction" by decrement the ref_count</p>
<pre><code>register_script_cb( w_t_unref, POST_SCRIPT_CB|REQUEST_CB, 0)<0 )
</code></pre>
<p>I do not yet found the check to lock / delay parallel execution of replies.</p>
<pre><code>register_script_cb( script_init, PRE_SCRIPT_CB|REQUEST_CB , 0)
</code></pre>
<p>I am need a bit more time to make sure everything is safe.</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/2070?email_source=notifications&email_token=ABO7UZIN2KPTLOXSDJSSOFLQMKF3JA5CNFSM4IY4CYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77ODLY#issuecomment-536797615">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKIRROX2VG3SOJTW2DQMKF3JANCNFSM4IY4CYAA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZOVK6I47EJT2KDS5G3QMKF3JA5CNFSM4IY4CYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77ODLY.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/2070?email_source=notifications\u0026email_token=ABO7UZIN2KPTLOXSDJSSOFLQMKF3JA5CNFSM4IY4CYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77ODLY#issuecomment-536797615",
"url": "https://github.com/kamailio/kamailio/pull/2070?email_source=notifications\u0026email_token=ABO7UZIN2KPTLOXSDJSSOFLQMKF3JA5CNFSM4IY4CYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77ODLY#issuecomment-536797615",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>