<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I will look to see what happens with the outgoing ACK, probably
    tomorrow or so. Btw, there is no need to apologize, here are open
    discussions, reporting issues, throwing ideas, bad or good, the
    conclusion comes after some analysis and help from the others. It's
    hard to know everything and who does not care does not participate.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 8/11/11 4:32 PM, M&Eacute;SZ&Aacute;ROS Mih&aacute;ly wrote:
    <blockquote cite="mid:4E43E815.2000009@niif.hu" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hi Daniel,<br>
      <br>
      I put on setflag before WITHINDLG, <br>
      so AFAIK the ACK as a new transaction is executing this step.<br>
      The root of my problem is that I can see the incoming E2E ACK, but
      i couldn't see the "outgoing"!<br>
      <br>
      <blockquote><tt>route {</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #pike flood detection</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!pike_check_req()) { exit; };</tt><br>
        <br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # per request initial checks</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(REQINIT);</tt><br>
        <br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #siptrace</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(22);</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sip_trace();</tt><br>
        <br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xdbg("SIP Request: \n $mb \n");</tt><br>
        <br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # NAT detection</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(NAT);</tt><br>
        <br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # handle requests within SIP dialogs</tt><br>
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(WITHINDLG);</tt><br>
      </blockquote>
      <br>
      And in debug i can't find where want kamailio log/trace the
      _outgoing_ message. <br>
      I can see only that it will be forwarded in stateless way. <br>
      This is why i started to dig in sl modul. But thank You, now i see
      it was a mistake. sorrrrrrrry.<br>
      <br>
      Sorry for the early case opening, you are right not sl causing
      that. I thought i find something. sorry again.<br>
      <br>
      But i can see only incoming E2E ACK and I can't see the outgoing
      pair in siptrace.<br>
      In TM modul i can't see where it is calling back siptrace in case
      of E2E ack. <br>
      <br>
      <br>
      <blockquote><tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]:
          DEBUG: &lt;core&gt; [socket_info.c:501]: grep_sock_info -
          checking if host==us: 14==14 &amp;&amp;&nbsp; [195.11</tt><br>
        <tt>1.192.14] == [195.111.192.14] </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [socket_info.c:504]: grep_sock_info - checking if
          port 5061 matches port 5061 </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [parser/msg_parser.c:103]: found end of header </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: rr
          [loose.c:257]: No next Route HF found </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: rr
          [loose.c:834]: no next URI found </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_lookup.c:1379]: DEBUG: t_newtran: msg id=68 , global msg
          id=67 , T on entrance=</tt><br>
        <tt>0xffffffff </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_lookup.c:528]: t_lookup_request: start searching:
          hash=63155, isACK=1 </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_lookup.c:564]: DEBUG: proceeding to pre-RFC3261 transaction
          matching </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_lookup.c:720]: DEBUG: t_lookup_request: e2e proxy ACK found
        </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_reply.c:301]: DEBUG: totag for e2e ACK found: 0 </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_hooks.c:288]: DBG: trans=0xb2954a38, callback type 4, id 0
          entered </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG: tm
          [t_funcs.c:315]: SER: forwarding ACK&nbsp; statelessly&nbsp; </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [msg_translator.c:2437]: create_via_hf: id added:
          &lt;;i=01&gt;, rcv proto=2 </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [msg_translator.c:204]:
          check_via_address(195.111.192.7, 195.111.192.7, 0) </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [forward.c:599]: Sending: ACK
          <a class="moz-txt-link-freetext" href="sip:193.225.95.130:5061;transport=tls">sip:193.225.95.130:5061;transport=tls</a> SIP/2.0^M </tt><br>
        <tt>Via: SIP/2.0/TLS 195.111.192.14:5061;branch=0;i=01^M Via:
          SIP/2.0/TCP 195.111.192.7;branch=0;i=5fb^M Via: SIP/2.0/TLS
          193.6.222.62:5061;bra</tt><br>
        <tt>nch=z9hG4bK2619604118-1823^M Max-Forwards: 68^M
          Proxy-Authorization: Digest
          username="niif-tartalek",realm="195.111.192.7",nonce="TkOk+05Do</tt><br>
        <tt>8/4J70CauQqX2GiwryZl/Do",uri=<a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:9999@rmx.vvc.niif.hu">"sip:9999@rmx.vvc.niif.hu"</a>,response="00e9a9991a2f93c44c25de309022cee8",algorithm=md5^M

          From: niif-tartalek &lt;si</tt><br>
        <tt><a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:p:niif-tartalek@195.111.192.7">p:niif-tartalek@195.111.192.7</a>&gt;;tag=plcm_2618225217-1823;epid=8210210CA530CG^M

          To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="mailto:sip:9999@rmx.vvc.niif.hu">&lt;sip:9999@rmx.vvc.niif.hu&gt;</a>;tag=rmx2k_2618766049-17745-RMX</tt><br>
        <tt>-0000000006-0080871424^M Call-ID: 2618224581-1823^M CSeq: 2
          ACK^M Contact: niif-tartalek &lt;<a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sip:niif-tartalek@193.6.222.62:5061;transport=tls">sip:niif-tartalek@193.6.222.62:5061;transport=tls</a></tt><br>
        <tt>&gt;;proxy=replace;+sip.instance="&lt;urn:uuid:615fd9bb-1986-52eb-9084-681c290b7e3a&gt;"^M

          User-Agent:Polycom HDX 8000 HD (Release - 3.0.2-11176)^M </tt><br>
        <tt>Supported: ms-forking^M Content-Length: 0^M ^M . </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [forward.c:601]: orig. len=973, new_len=918,
          proto=3 </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [tcp_main.c:2299]: tcp_send: found fd in cache (
          11, 0xb2922e88, 18) </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [tcp_main.c:2522]: tcp_send: sending... </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [tcp_main.c:2556]: tcp_send: after real write: c=
          0xb2922e88 n=949 fd=11 </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [tcp_main.c:2557]: tcp_send: buf=
^W^C^A^C&lt;B0&gt;@&lt;B7&gt;*&lt;D9&gt;^O&lt;B5&gt;-&lt;D2&gt;j&lt;F9&gt;N`&lt;87&gt;</tt><br>
        <tt>&#457;&lt;F4&gt;&lt;8B&gt;&lt;B5&gt;B&lt;CE&gt;^VC^_V&lt;FF&gt;&lt;F4&gt;&lt;D4&gt;h'&lt;ED&gt;&lt;CE&gt;sU&lt;92&gt;&lt;F8&gt;&lt;84&gt;]'&lt;AD&gt;**&lt;EE&gt;H;&lt;94&gt;]'2|&lt;9F&gt;&lt;C8&gt;^FNu&lt;CB&gt;!&lt;B0&gt;&lt;B6&gt;&lt;FC&gt;Y2!&lt;9A&gt;

          U&#519;&lt;E3&gt;&lt;9E&gt;M&lt;88&gt;x&lt;8A&gt;</tt><br>
        <tt>&lt;C1&gt;&lt;EF&gt;&lt;DD&gt;^X&lt;A4&gt;&lt;A3&gt;^A&lt;D4&gt;&lt;D0&gt;&not;f&lt;B1&gt;&lt;B0&gt;&lt;B9&gt;y^G^]

&lt;85&gt;&#1336;&lt;86&gt;@&lt;AB&gt;&lt;AB&gt;We&lt;C5&gt;&lt;EF&gt;4i
&lt;84&gt;^B&lt;F2&gt;kf^M&lt;8E&gt;&lt;&lt;A7&gt;^\&lt;F3&gt;&lt;D5&gt;^U5&lt;AE&gt;&lt;AB&gt;&lt;84&gt;&lt;84&gt;&lt;EB&gt;</tt><br>
        <tt>&lt;A2&gt;+V&lt;9A&gt;^R&lt;9E&gt;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;&lt;C1&gt;;&lt;AD&gt;&lt;AA&gt;x&lt;AA&gt;&lt;B6&gt;^Z&lt;A6&gt;P&lt;8E&gt;Y&lt;BA&gt;^\&lt;9D&gt;&lt;A2&gt;&lt;A6&gt;&lt;A6&gt;&lt;9E&gt;3}70^K&lt;CC&gt;-&lt;EA&gt;h</tt><br>
        <tt>&lt;DB&gt;^R^O2&lt;D7&gt;H+m:&lt;A4&gt;&lt;F5&gt;&#1753;&#1064;&lt;BA&gt;&lt;9B&gt;^\&lt;AD&gt;&lt;B1&gt;&lt;85&gt;&lt;DF&gt;c&lt;FE&gt;&lt;U+05FA&gt;&lt;C0&gt;,&lt;87&gt;a&amp;^Z^U^V&lt;A6&gt;4&lt;B0&gt;&lt;A8&gt;&#636;&lt;A9&gt;?&lt;F5&gt;3&lt;9E&gt;&lt;D1&gt;^[&lt;E7&gt;&lt;9D&gt;&lt;F7&gt;+&lt;90&gt;P&lt;DA&gt;</tt><br>
        <tt>&lt;E7&gt;^^&lt;D3&gt;WO&lt;ED&gt;&lt;97&gt;&lt;EF&gt;&lt;B4&gt;1&lt;BA&gt;&#1687;1&lt;B7&gt;&lt;B1&gt;&lt;9F&gt;X

        </tt><br>
        <tt>Aug 11 11:42:06 hal /usr/sbin/kamailio[24381]: DEBUG:
          &lt;core&gt; [usr_avp.c:646]: DEBUG:destroy_avp_list:
          destroying list (nil) </tt><br>
      </blockquote>
      <br>
      Thanks,<br>
      Misi<br>
      <br>
      2011-08-11 15:38 keltez&eacute;ssel, Daniel-Constantin Mierla &iacute;rta:
      <blockquote
cite="mid:CAFRry4UPvfftWhvj0Jby72Xgf5S716aXLK0vfGDLEfD79aQ0Gg@mail.gmail.com"
        type="cite">Hello,<br>
        <br>
        E2E ACK is getting to configuration file routing block. With the
        latest stable version default config file, it is handled in the
        route[WITHINDLG]. Be sure you call sip trace function there.
        This will capture the incoming E2E ACK. For outgoing version,
        set the flag and it should be captured in TM callback, iirc.<br>
        <br>
        SL module is filtering the ACKs that are a result of negative
        replies sent with SL module.<br>
        <br>
        Cheers,<br>
        Daniel<br>
        <br>
        <div class="gmail_quote">On Thu, Aug 11, 2011 at 3:29 PM,
          M&Eacute;SZ&Aacute;ROS Mih&aacute;ly <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:misi@niif.hu">misi@niif.hu</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">Hi,<br>
            <br>
            I want to see all incoming and outgoing sip messages in sip
            trace table, but i am missing messages.<br>
            I am using TLS so i can't see really trace the conversation
            only this way.<br>
            <br>
            I am wondering if it is know limitation, or an issue:<br>
            I am experiencing that E2E ACK is not logged in siptrace
            table.<br>
            <br>
            I opened a ticket with the details:<br>
            <a moz-do-not-send="true"
href="http://sip-router.org/tracker/index.php?do=details&amp;task_id=144&amp;project=1&amp;pagenum=1"
              target="_blank">http://sip-router.org/tracker/index.php?do=details&amp;task_id=144&amp;project=1&amp;pagenum=1</a><br>
            <br>
            Many Thanks,<br>
            Misi<br>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org"
              target="_blank">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Daniel-Constantin Mierla<br>
        &nbsp; <a moz-do-not-send="true" href="http://www.asipto.com">http://www.asipto.com</a><br>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>