<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 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ðg^W^R
£MÃ<8f>C^U<8f>ÃQB^^,¼8ÃÃ^KZÃÃ|<97>¼zÃö<82>ìñÃ%sÃâ³g¿Ã
S©<97>}y<91>.<94>ð¯ô<8f>Y¿¥µf<9d>ë<8f><9d></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>