<h4 dir="auto">Pre-Submission Checklist</h4>



<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commit message has the format required by CONTRIBUTING guide</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commits are split per component (core, individual modules, libs, utils, ...)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Each component has a single commit (if not, squash them into one commit)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> No commits to README files for modules (changes must be done to docbook files<br>
in <code>doc/</code> subfolder, the README file is autogenerated)</li>
</ul>
<h4 dir="auto">Type Of Change</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Small bug fix (non-breaking change which fixes an issue)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> New feature (non-breaking change which adds new functionality)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Breaking change (fix or feature that would change existing functionality)</li>
</ul>
<h4 dir="auto">Checklist:</h4>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> PR should be backported to stable branches</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Tested changes locally</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Related to issue #XXXX (replace XXXX with an open issue number)</li>
</ul>
<h4 dir="auto">Description</h4>

<p dir="auto">This PR adds 1 UAC module function and 1 TM module modparam. It enables "uac:reply" event route trigger on timeout or non-2xx replies. Basically it:</p>
<ul dir="auto">
<li>adds TMCB_ON_FAILURE callback for UAC</li>
<li>copies the TM uac content into uas; thus failure route will have the uas to work with. => this part of the code was already there, i just enabled it via (another) modparam.</li>
</ul>
<p dir="auto">So far, is basically tested on our side, without any apparent issues. More testing will follow.</p>
<p dir="auto">Please have a look on this and tell me what you think about it.</p>
<p dir="auto">Thank you,<br>
Stefan</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/3047'>https://github.com/kamailio/kamailio/pull/3047</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/kamailio/kamailio/pull/3047/commits/72bb64ef7d830a519bcfe470d2ead31a50ef3dca" class="commit-link">72bb64e</a>  uac: add new function uac_req_send_fr()</li>
  <li><a href="https://github.com/kamailio/kamailio/pull/3047/commits/35e17b29e49325c68cf98cfcccebf08c0703000f" class="commit-link">35e17b2</a>  tm: Add enable_uac_fr modparam</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/kamailio/kamailio/pull/3047/files">10 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-9eb47096f4f76aaa591f2f5feb7e25b6bab95478f479291c2b8382e2c80d20eb">src/modules/tm/config.c</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-a48d1960c71d65f92646ab81ca189d44756e22f4fe86f284902a660f9c5dfa8a">src/modules/tm/config.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-79e44c6ffa7981b7497e407807cd3aad2358d5b5a4c4d0736e973f243de96985">src/modules/tm/doc/params.xml</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-2f844379e353b18e70c9c628fedf857ac85784cf5f1dd468c95d7799bf3d9498">src/modules/tm/tm.c</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-fc0f526603748dc33418405fc984074dc8a52eed5b0678b39d45ede9ac8c42ab">src/modules/tm/uac.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-817275d992ca2f065b7e8733cbeb1ecb2dcc11a5ac417d88323fb62bee653dcb">src/modules/uac/api.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-bcf8e88b6d4ca98bfa62c1fe674cc3da070e2446b0cd7295c579c19c06124cf3">src/modules/uac/doc/uac_admin.xml</a>
    (27)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-529caf74dd32e128a903a74cc5d72d7b0ac54b05641f1965b45aa547a942589e">src/modules/uac/uac.c</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-987b7b19405f750ebdfcec5e8fa6e5b557c8f2a1e1935e7f5b500d1a0717304b">src/modules/uac/uac_send.c</a>
    (23)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/3047/files#diff-795e1023e3896d46c278fc4987e01aa2446fdf4d0f05875570ef0cc666c60eb3">src/modules/uac/uac_send.h</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/3047.patch'>https://github.com/kamailio/kamailio/pull/3047.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/3047.diff'>https://github.com/kamailio/kamailio/pull/3047.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/3047">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKSKKPVHVZ4LUNVOT3U6IJ4VANCNFSM5P5UCD5A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZN2PEOSL2LTGW7CW4TU6IJ4VA5CNFSM5P5UCD5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4RI7K4CQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/pull/3047</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/3047",
"url": "https://github.com/kamailio/kamailio/pull/3047",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>