<p>Inside branch failure event route, the transaction is not completely in failure cause, so you should use rtpengine_delete() with via option. Making rtpengine_manage() do delete inside it for branch failure event route will kill the entire session associated with the transaction.</p>
<p>I can add a condition in the code to skip doing anything in branch failure event route, but if you need to do more fine control of the branches, then switch to using rtpengine offer/answer/delete variants.</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/issues/2222?email_source=notifications&email_token=ABO7UZLFZJ5HBTQ34567YQ3REJKKFA5CNFSM4KX3YGFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVY4PQ#issuecomment-590057022">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJDSXYIIW6MFVSAKKLREJKKFANCNFSM4KX3YGFA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJBNLEZ3522FWYDEGDREJKKFA5CNFSM4KX3YGFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVY4PQ.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/issues/2222?email_source=notifications\u0026email_token=ABO7UZLFZJ5HBTQ34567YQ3REJKKFA5CNFSM4KX3YGFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVY4PQ#issuecomment-590057022",
"url": "https://github.com/kamailio/kamailio/issues/2222?email_source=notifications\u0026email_token=ABO7UZLFZJ5HBTQ34567YQ3REJKKFA5CNFSM4KX3YGFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVY4PQ#issuecomment-590057022",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>