<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Sasmita,<br>
<br>
The acc module supports the log, sql and AAA interfaces when comes
to writing the CDRs.<br>
<br>
To get to a redis DB (a noSQL DB), you should use acc module with
the sql (db) support plus the db_cachedb module to convert from
sql to nosql.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 09.09.2015 14:01, Sasmita Panda
wrote:<br>
</div>
<blockquote
cite="mid:CALf-Q47ht+a8v8zO9jotip+_is_xng52pECFRPiARXaH1Tp7nw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div><br>
</div>
<div> I wanted to store the accounting data of a call in
redis cache .</div>
<div>I had compiled the opensips module with cache_redis and acc
module successfully.</div>
<div><br>
</div>
<div> Now , as for my understanding , acc module print the
logs of accounting information directly .</div>
<div><br>
</div>
<div> for acc module i have done be bellow configuration .</div>
<div> loadmodule "acc.so"</div>
<div> modparam("acc", "log_flag", 2)</div>
<div> Then I have done , setflag(2) , where i wanted to do
accounting .</div>
<div><br>
</div>
<div> Can anyone help me how to store that accounting
information in a variable, so that I can use that variable to
store the data in redis server ?</div>
<div><br>
</div>
<div>Please reply or let me know if any further details needed .</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div class="gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>