<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi,<br>
      <br>
      sip_trace() does a DB insert on the spot, so it should dump the
      incoming CANCEL. Be sure you set the SIPTRACE flag before you call
      sip_trace() functions!.<br>
      <br>
      If still nothing, run in debug=4 mode and post somewhere the logs
      corresponding to the CANCEL processing in opensips.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 12/04/2012 08:25 PM, Dragomir Haralambiev wrote:
    <blockquote
cite="mid:CADzurO+VqR9AMoWM3gzrfFAJfUyBy0o3dvrQLf_hU0ZuiUfgQQ@mail.gmail.com"
      type="cite">
      <div>Yes.</div>
      <div>&nbsp;</div>
      <div>I do sip_trace in begining at script.</div>
      <div><br>
        <br>
        &nbsp;</div>
      <div class="gmail_quote">2012/12/4 Bogdan-Andrei Iancu <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>
        <blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex;
          border-left: 1px solid rgb(204, 204, 204);"
          class="gmail_quote">
          <div text="#000000" bgcolor="#ffffff"> <tt>Hi Dragomir,<br>
              <br>
              Do you do sip_trace() when actually handling the received
              CANCEL ??<br>
              <br>
              Regards,<br>
            </tt>
            <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            <div>
              <div class="h5"> <br>
                On 12/04/2012 03:03 PM, Dragomir Haralambiev wrote: </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">
                    <div class="gmail_quote">
                      <div>Hello,</div>
                      <div>&nbsp;</div>
                      <div>I use latest OpenSips 1.8.2 with siptrace
                        module.</div>
                      <div>&nbsp;</div>
                      <div>The OpenSips receive CANCEL:</div>
                      <div>&nbsp;</div>
                      <div>Receive&nbsp;CANCEL -----&gt; OpenSips ---&nbsp;"Send
                        CANCEL" ---&gt;</div>
                      <div>&nbsp;</div>
                      <div>Siptrace module write in DB only&nbsp;Sendet
                        CANCEL.</div>
                      <div>&nbsp;</div>
                      <div>Here part of opensips.cfg</div>
                      <div>&nbsp;</div>
                      <div>modparam("siptrace", "db_url",
                        "mysql://user:passwd@localhost/opensips")<br>
                        modparam("siptrace", "trace_on", 1) <br>
                        modparam("siptrace", "enable_ack_trace", 1)</div>
                      <div>&nbsp;</div>
                      <div>route{</div>
                      <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sip_trace();</div>
                      <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ......</div>
                      <div>}</div>
                      <div>&nbsp;</div>
                      <div>What I do to log&nbsp;Received CANCEL ?</div>
                      <div>&nbsp;</div>
                      <div>Thanks,</div>
                      <div>PlayMen</div>
                    </div>
                    <br>
                  </div>
                  <br>
                </div>
              </div>
              <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </body>
</html>