<div dir="ltr"><div><div>Fantastic! I didn&#39;t know about local_route. I&#39;m now able to log using sip_trace().<br></div><br></div>Thank you very much.<br><br>Regards,<br>Douglas.<br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Thu, Jan 24, 2013 at 10:50 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    <tt>Douglas, all internally generated requests (including the ones
      from dlg_end_dlg ) are visible in local_route.<br>
      <br>
      Regards,<br>
    </tt><div class="im">
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    <br></div><div><div class="h5">
    On 01/24/2013 02:48 PM, Douglas Lopes Pereira wrote:
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Bogdan,<br>
            <br>
            thanks for the quick reply.<br>
            <br>
          </div>
          Unfortunatelly the BYE messages are sent by the dlg_end_dlg
          (triggered on dlg_ontimeout) so I believe we don&#39;t have a
          chance to call sip_trace() from any local route. Do we?<br>
          <br>
        </div>
        Regards,<br>
        Douglas<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Jan 24, 2013 at 10:24 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
            <div bgcolor="#ffffff" text="#000000"> <tt>Hi Douglas,<br>
                <br>
                Indeed, that&#39;s an interesting case - have you tried to
                call sip_trace() from local route when the BYEs are sent
                out ?<br>
                <br>
                Regards,</tt><br>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div> <br>
                  On 01/24/2013 01:00 PM, Douglas Lopes Pereira wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>Hi guys,<br>
                              <br>
                            </div>
                            Let&#39;s say my current opensips application is
                            reponsible for finishing a call if the
                            session is not refreshed by the endpoints.
                            At that point what we do is to send BYE
                            messages to both legs and get the 200OK from
                            them to finish the dialog.<br>
                            <br>
                          </div>
                          My question is, is it possible to trace those
                          BYE generated internally on opensips and 200OK
                          replies using Siptrace? I&#39;ve looked into the
                          callback flags and none seems to apply to this
                          case.<br>
                          <br>
                        </div>
                        My plan was to change the function t_uac on
                        uac.c to call the log callback but I would like
                        to hear from you if there is any other option.<br>
                        <br>
                      </div>
                      <div>Thanks in advace.<br>
                      </div>
                      <br>
                      Regards,<br>
                      Douglas<br>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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>
      </div>
    </blockquote>
  </div></div></div>

</blockquote></div><br></div>