<p>Hi All,</p>
<p>When kamailio(kamailio-5.0) receive 200 OK message, we need to send Rx_AAR for origin and term call.</p>
<p>Rx_AAR("MT_aar_reply", "origin","",2); for origin call<br>
Rx_AAR("MT_aar_reply", "term","",2); for term call.</p>
<p>But from source code ims_qos_mod.c, we see lots of part like below to not support for a request.<br>
Even we comments them, there are still lots of issues, could we support the scenarios like below:</p>
<p>when kamailio receive 200 OK, we can send Rx_AAR for term and origin call.</p>
<p>//We don't ever do AAR on request for calling scenario...<br>
if (msg->first_line.type != SIP_REPLY) {<br>
// Added by vlv<br>
// LM_DBG("Can't do AAR for call session in request\n");<br>
// return result;<br>
}</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/1793">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZfDZ_Ol3bxv2Sw7c3oLvnbtqLkOKks5vA_hpgaJpZM4Z0nmq">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZY-4Ak7ksW_XBB5FtYtfuOudvp_qks5vA_hpgaJpZM4Z0nmq.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"kamailio can't support send Rx_AAR for origin call (#1793)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1793"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1793",
"url": "https://github.com/kamailio/kamailio/issues/1793",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>