<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/11/2012 11:24 PM, Konstantin M. wrote:
    <blockquote
cite="mid:CAEYtTzepOwXSas-RkZSTyG4qVp91psjvDf2EVKgb1GcLXR4gNQ@mail.gmail.com"
      type="cite">Hi Daniel,<br>
      <br>
      For some reasons, onsend_route doesn't triggered when transfering
      100,180,183, etc...<br>
      <br>
    </blockquote>
    Hello, <br>
    <br>
    Normally, onsend_route is not triggered for replies, only for
    messages. If there are some good reasons behind it, I don't know, as
    we have a simple patch that enables this (we are reviewing it before
    pushing it to upstream). Of course, no changes to the
    messages/replies are permitted ...<br>
    <br>
    So again, is there a cause why onsend_route is not triggered for
    replies atm?<br>
    <br>
    Cheers,<br>
    M. <br>
    <br>
    <blockquote
cite="mid:CAEYtTzepOwXSas-RkZSTyG4qVp91psjvDf2EVKgb1GcLXR4gNQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">2012/5/11 Daniel-Constantin Mierla <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><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"> Hello,
            <div>
              <div class="h5"><br>
              </div>
            </div>
            debug messages printed to syslog from the source code are
            because the developer needed/wanted them for
            troubleshooting.<br>
            <br>
            As an admin, you have the option of using xlog to print what
            ever messages you want. In 3.1.x there is onsend_route to
            see outgoing requests via $snd(...) variable.<br>
            <br>
            But if you want to get the sip traffic going through
            kamailio, better use siptrace module which stores
            requests/replies in database table.<br>
            <br>
            Cheers,<br>
            Daniel<span class="HOEnZb"><font color="#888888"><br>
                <pre cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
              </font></span></div>
          <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">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>
          <br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Zbihlei Marius

Head of
Linux Development Services Romania

1&amp;1 Internet Development srl    Tel KA: 754-9152
Str Mircea Eliade 18            Tel RO: +40-31-223-9152
Sect 1, Bucuresti               mailto: <a class="moz-txt-link-abbreviated" href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a>
71295, Romania
</pre>
  </body>
</html>