<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    On 8/3/10 12:32 PM, alex pappas wrote:
    <blockquote
      cite="mid:AANLkTi=5ZVxmYM+1WzrmmhO8C=dFaiYae_835vYkjci8@mail.gmail.com"
      type="cite">Dear friends,<br>
      <br>
      I'm using the sip_trace module in order to log into a mysql DB all
      the SIP messages that are passing from my kamailio. I have the
      setflag(4) on the top of the route[0] and I have all the sip
      messages logged in the mysql Db. <br>
      The problem is that I don't see the first INVITE of the call.<br>
      <br>
      Scenario:<br>
      <br>
      gateway1 --------------&gt; kamailio ----------------&gt; gateway2<br>
      <br>
      The INVITE from gateway1 to kamailio is not logged. The trace is
      starting from the first 100 trying message.<br>
    </blockquote>
    Do you get the INVITE from Kamailio to gateway2?<br>
    <br>
    The incoming INVITE&nbsp; (or any request) can be indeed stored only upon
    function sip_trace()<br>
    <blockquote
      cite="mid:AANLkTi=5ZVxmYM+1WzrmmhO8C=dFaiYae_835vYkjci8@mail.gmail.com"
      type="cite">
      <br>
      Is anyone aware on where the problem is ?<br>
    </blockquote>
    <br>
    It is no problem. Setting the flag instructs TM module to mark the
    transaction for tracing, resulting in storing outbound requests and
    the replies related to transaction, but incoming request is not
    handled there.<br>
    <br>
    BTW, I assume is version 1.5.x?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
      cite="mid:AANLkTi=5ZVxmYM+1WzrmmhO8C=dFaiYae_835vYkjci8@mail.gmail.com"
      type="cite"><br>
      P.S. By using the sip_trace() method I get the first INVITE but
      not the rest of the trace in the way that setflag(4) is logging.<br>
      <br>
      <br>
      Thank you in advance<br>
      <br>
      Alex<br>
      <br>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
</pre>
  </body>
</html>