<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 5/9/12 11:45 PM, Bruno Bresciani wrote:
    <blockquote
cite="mid:CAKv6Mra+eKe3ccbCAzhsjqWKd8QD5AXTAG36sVpRjjbWiB015A@mail.gmail.com"
      type="cite">Hi all,<br>
      <br>
      Why kamailio send to syslog only received SIP messages? I want
      see&nbsp; the messages that kamailio send to the UAs, it's possible?<br>
      On TCP/TLS SIP messages there is a degub of buffer with the
      message that will be send, but a strange content has been shown...
      following the log:<br>
      <br>
      <b>tcp_send: buf= ^W^C^A^B0HFC&Atilde;&deg;g^W^R
        &Acirc;&pound;M&Atilde;&lt;8f&gt;C^U&lt;8f&gt;&Atilde;QB^^,&Acirc;&frac14;8&Atilde;&Atilde;^KZ&Atilde;&Atilde;|&lt;97&gt;&Acirc;&frac14;z&Atilde;&Atilde;&para;&lt;82&gt;&Atilde;&not;&Atilde;&plusmn;&Atilde;%s&Atilde;&Atilde;&cent;&Acirc;&sup3;g&Acirc;&iquest;&Atilde;
S&Acirc;&copy;&lt;97&gt;}y&lt;91&gt;.&lt;94&gt;&Atilde;&deg;&Acirc;&macr;&Atilde;&acute;&lt;8f&gt;Y&Acirc;&iquest;&Acirc;&yen;&Acirc;&micro;f&lt;9d&gt;&Atilde;&laquo;&lt;8f&gt;&lt;9d&gt;</b><br>
      <br>
      My kamailio is version 3.1.2 and run with global parameter
      'debug=3' and send the syslog messages.<br>
    </blockquote>
    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<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>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>