<div dir="ltr">Hello Henning,<div><br></div><div>We already added xlog in the onreply_route and found all messages in between kamailio and UAS. The attached log files in first email has those logs. If any other specific log needed I am here to provide them.</div><div><br></div><div>Thanks,</div><div>Salah</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 22, 2019 at 2:24 PM Henning Westerholt <<a href="mailto:hw@skalatan.de">hw@skalatan.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div bgcolor="#FFFFFF">
<p>Hello Salah,</p>
<p>ok, see if you are able to output some easy log with "xlog" in this route, to make sure there is no cfg problem somewhere.<br>
</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="gmail-m_-1677847443540144788moz-cite-prefix">Am 22.08.19 um 21:15 schrieb Salah Ahmed:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello Henning,
<div><br>
</div>
<div>Thanks for quick reply, We armed the t_on_reply just before t_relay() in the route block. </div>
<div><br>
</div>
<div>        t_on_reply("LOGRPL");<br>
        if (!t_relay()) {<br>
                sl_reply_error();<br>
        }<br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Salah</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Aug 22, 2019 at 2:03 PM Henning Westerholt <<a href="mailto:hw@skalatan.de" target="_blank">hw@skalatan.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello Salah,</p>
<p>the replies are going from the UAS to the UAC over Kamailo as a proxy, with the exception of the hop-by-hop 100.<br>
</p>
<p>So you should see the 200 OK in the Kamailio in reply_route and onreply_route. Maybe you can check if you armed the onreply_route with t_on_reply for the INVITE routing.</p>
<p>Cheers,</p>
<p>Henning</p>
<div class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-cite-prefix">Am 22.08.19 um 19:50 schrieb Salah Ahmed:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>We facing an issue on capturing sip message in Kamailio(Version: 5.2.3). The scenario is very simple.</div>
<div><br>
</div>
<div><font face="monospace">UAC                    Kamailio                UAS</font></div>
<div><font face="monospace"> |--------INVITE--------->|                     |</font></div>
<div><font face="monospace"> |                        |-------INVITE------->|</font></div>
<div><font face="monospace"> |                        |<------100 Trying----|</font></div>
<div><font face="monospace"> |<-------100 Trying------|                     |</font></div>
<div><font face="monospace"> |                        |<------200 Ok--------|</font></div>
<div><font face="monospace"> |<-------200 Ok----------|                     |</font></div>
<div><br>
</div>
<div>In this simple scenario, we can't catch any reply messages in between the Kamailio and UAC. We have tried <span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">reply_route, </span>onreply_route, and onsend_route. But no one work
 to grep that reply on that side. onsend_route was bad try as its only for forwarded reply message. Is there any other magic to capture those replies. A debug=3 log message attached here. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Salah</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-quote-pre">_______________________________________________
Kamailio (SER) - Development Mailing List
<a class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-txt-link-abbreviated" href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a>
<a class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<pre class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-signature" cols="72">-- 
Henning Westerholt - <a class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank">https://skalatan.de/services</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="gmail-m_-1677847443540144788moz-signature" cols="72">-- 
Henning Westerholt - <a class="gmail-m_-1677847443540144788moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_-1677847443540144788moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank">https://skalatan.de/services</a></pre>
</div>

</blockquote></div>