<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>(moved the discussion to user list)</p>
<p>Hello Salah,</p>
<p>I see the this output in the log message:</p>
<p> 6(26) INFO: <script>: on_reply_route [SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 172.32.0.6;rport=5060;received=172.32.0.6;branch=z9hG4bKe68a.99dc492fe74dcfe1017828521a5fa362.0<br>
</p>
<p> 2(22) INFO: <script>: on_reply_route [SIP/2.0 100 Trying<br>
Via: SIP/2.0/UDP 172.32.0.6;rport=5060;received=172.32.0.6;branch=z9hG4bK178a.79cddb135aabfc42736fd9e9fd826ba8.0</p>
<p>and so on.. So you are seeing the replies correctly, or I wrong?</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 22.08.19 um 21:29 schrieb Salah Ahmed:<br>
</div>
<blockquote type="cite" cite="mid:CABr3=w1gRWf_LLRu2kSc4WJew=3Ky-Nc-7aKa6YoBT0TDQPrPA@mail.gmail.com">
<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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_-1677847443540144788gmail-m_-2461096923036265058moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_-1677847443540144788moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank" moz-do-not-send="true">https://skalatan.de/services</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a></pre>
</body>
</html>