Humm, isn’t acc log_flag is for transaction logging, rather then cdrs? <br><br>For cdrs, the acc module has just one relevant module parameter, that is cdr_enable which enables / disables cdrs for ALL calls.<br><div class="gmail_quote"><div dir="ltr">On Sat, 21 Jul 2018 at 00:01, Sergiu Pojoga <<a href="mailto:pojogas@gmail.com">pojogas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Assuming your acc log_flag is set to FLT_ACC, it should be as simple as not setting or resetting the FLT_ACC flag, depending on the script logic.<div><br></div><div>You will probably need to do that for both INVITEs and BYEs<br><div><br></div></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr">On Fri, Jul 20, 2018 at 2:48 PM M S <<a href="mailto:shaheryarkh@gmail.com" target="_blank">shaheryarkh@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">I have a kamailio v5.0 setup where cdrs are enabled using acc module. Is there a way to enable / disable cdrs on per call basis in kamailio script? For example i want to allow cdrs only for offnet calls and disable them for onnet calls? </div><div dir="auto"><br></div><div dir="auto">May be a dialog flag configurable in module parameters to signal acc module whether or not to generate cdr for current dialog at the end of call?</div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>