<div dir="ltr">Well, to my credit, i'm not just trying to log anything. I'm actually trying to log billing-related material -- every leg of a call, success or failure.<div><br></div><div>I just want to log it to a file and i assumed the transaction module had logging and then that acc's transaction logging would be the best/proper approach as I've seen/done in previous kam installs. This one just isn't playing nice.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small">Ryan Brindley</div><div style="font-family:arial;font-size:small">Software Development Officer</div><div style="font-family:arial;font-size:small">Stratics Networks, Inc.</div><div style="font-family:arial;font-size:small">1.866.635.6918 x108</div></div></div></div>
<br><div class="gmail_quote">On Mon, Jan 26, 2015 at 6:37 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Easy to use, obvious? :-) Ahahaha! This is Kamailio, come on.<br>
<br>
But seriously, xlog() is the logging feature, and it is easy to use:<br>
<br>
   route {<br>
      xlog("L_INFO", "$ci: Message $rm $ru received from $si:$sp\n");<br>
   }<br>
<br>
   onreply_route {<br>
      xlog("L_INFO", "Reply '$rs $rr' ($rm) from $si:$sp seen\n");<br>
  }<br>
<br>
The problem is that you were under the misapprehension that the 'acc' module is the logging facility, when in fact it is the accounting module designed to generate CDRs--of a sort.<br>
<br>
The fact that this distinction was not obvious is in no way your fault. It's just the trials and tribulations of Kamailio documentation. Hopefully the new book will remedy that.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- Alex</font></span><span class="im HOEnZb"><br>
<br>
On 01/26/2015 07:31 PM, Ryan Brindley wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Because that solution, which now sounds easy and great, was not openly<br>
obvious to me when searching through the docs and trying to determine<br>
the best way to log all transactions.<br>
<br>
I naturally assume that the logging features in a product are relatively<br>
easy to use and configure.<br>
<br>
xlog it is. ty.<br>
</blockquote>
<br>
<br></span><div class="HOEnZb"><div class="h5">
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>