<HTML><BODY><div class="js-helper js-readmsg-msg"><div id="style_16583079281580467292"><div id="style_16583079281580467292_BODY"><div class="cl_444976"><div>H! Henning!</div><div> </div><div>First of all I want to say thank you for your support!</div><div> </div><div>I have achieved my goal. CDR work with DBtext! Unfortunately, the documentation is not very clear all this is described.</div><div>Some people have already experienced this problem. And already asked to add this to the documentation.</div><div> </div><div>For example:</div><div><a href="https://www.mail-archive.com/sr-users@lists.kamailio.org/msg13617.html">https://www.mail-archive.com/sr-users@lists.kamailio.org/msg13617.html</a></div><div> </div><div>I will show the config, in which the CDR is formed in syslog using DBtext database:</div><div> </div><div>#!define FLAG_FOR_DIALOG 6</div><div> </div><div>loadmodule "dialog.so"</div><div>loadmodule "acc.so"</div><div> </div><div>modparam("dialog", "dlg_flag", FLAG_FOR_DIALOG)</div><div> </div><div><div>modparam("acc", "report_cancels", 1)</div><div>modparam("acc", "reason_from_hf", 1)</div><div>modparam("acc", "detect_direction", 0)</div><div>modparam("acc", "cdr_enable", 1)</div><div>modparam("acc", "cdr_expired_dlg_enable", 1)</div><div>modparam("acc", "cdr_start_on_confirmed", 1)</div><div>modparam("acc", "cdr_on_failed", 1)</div><div>modparam("acc", "cdr_log_enable", 1)</div><div>modparam("acc", "cdr_facility", "LOG_LOCAL1")</div><div>modparam("acc", "cdr_extra", "ci=$dlg_var(ci);ip_src=$si;ip_dst=$dlg_var(ip_dst);sip_from=$fU;sip_to=$tU;ruri_user=$rU;ip_sdp=$dlg_var(ip_sdp);codecs=$dlg_var(codecs);tkg=$dlg_var(tkg);hangup_party=$dlg_var(hangup_party);hangup_reason_Q_850=$dlg_var(hangup_reason_Q_850);hangup_reason_sip=$dlg_var(hangup_reason_sip);spx_exec_time_us=$dlg_var(spx_exec_time);spx_rs=$dlg_var(spx_http_rs);spx_rb=$dlg_var(spx_http_rb)") ## </div><div> </div><div> </div><div><div><div>request_route {</div><div> route(SANITY_CHECK);</div></div><div> </div><div><div> route(HANDLE_OPTIONS_COMMON);</div></div><div> </div><div><div> xlog("L_INFO", "request_route|Start $rm|\n");</div></div><div> </div><div><div>#!ifdef HEP_TRACE_ENABLED</div><div> route(TRACE);</div><div>#!endif</div></div><div> </div><div><div> route(CLASSIFY_DIRECTION);</div></div><div> </div><div><div> route(HANDLE_CANCEL);</div></div><div> </div><div><div> route(CHECK_RETRANS);</div></div><div> </div><div><div> t_check_trans(); ## handle ACKs to negative replies</div></div><div> </div><div><div> route(HANDLE_IN_DIALOG_REQUESTS);</div></div><div> </div><div><div> if (is_method("INVITE")) {</div><div> <span style="font-family: var(--vkui--octavius_font_family_global,var(--vkui--font_family_base,Helvetica,Arial,sans-serif)); letter-spacing: var(--vkui--font_text--letter_spacing--regular,normal);"> </span></div></div></div><div><div><div> ## Accounting start </div><div> setflag(FLAG_FOR_DIALOG);</div><div> ## Accounting end</div></div></div><div> }</div><div> </div></div><div> </div><div>}</div><div> </div><div>Only one flag is enough for CDRs to appear. And this flag is not from the ACC module!))</div><div>If anyone on the kamailio team is reading this email, please add it to the documentation.</div><div> </div><div>Cheers,</div><div> </div><div>Oleg Podguyko.</div><div> </div><div> </div><div class="mail-quote-collapse"><blockquote style="border-left:1px solid #0857A6;margin:10px;padding:0 0 0 10px;"><span data-type="sender">Среда, 20 июля 2022, 10:19 +03:00 от Henning Westerholt <<a href="/compose?To=hw@gilawa.com">hw@gilawa.com</a>>:<br> </span><div data-type="body"><div id=""><div class="js-helper_mr_css_attr js-readmsg-msg_mr_css_attr"><div><div id="style_16583015600502645653_BODY_mr_css_attr"><div class="cl_411658_mr_css_attr"><div class="WordSection1_mr_css_attr"><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Hello,</span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">The dbtext DB API is really limited and its mostly suited for read-only usage.</span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">If you want to write ACC records to a DB, consider MySQL. There is also a db_flatstore module which you could look into, but I am not sure if its works with the newer CDR mode.</span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Cheers,</span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Henning</span></p><p class="MsoNormal_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><div class="mail-quote-collapse"><div><div style="border-top:solid #e1e1e1 1.0pt; border:none; padding:3.0pt 0cm 0cm 0cm"><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"><span data-type="sender"><span><b>From:</b> sr-users <<a>sr-users-bounces@lists.kamailio.org</a>> <b>On Behalf Of </b>Oleg Podguyko<br><b>Sent:</b> Wednesday, July 20, 2022 12:01 AM<br><b>To:</b> <a>miconda@gmail.com</a><br><b>Cc:</b> Kamailio (SER) - Users Mailing List <<a>sr-users@lists.kamailio.org</a>><br><b>Subject:</b> Re: [SR-Users] ACC CDR accounting</span></span></p></div></div><div data-type="body"><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p><div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr">Hello Daniel!</p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr">I’m using dbtext DB. If I set this</p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div><div><pre style="-webkit-text-stroke-width:0px; font-variant-caps:normal; font-variant-ligatures:normal; margin-left:35.4pt; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-decoration-thickness:initial; widows:2; word-spacing:0px"><i><span style="color:black">modparam("acc", "cdrs_table", "acc_cdrs")</span></i></pre><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr">I got next errors:</p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"><img width="1844" style="width:19.2083in;height:1.5333in" src="cid:image001.png@01D89C19.C6D71710" id="Bild_x0020_1_mr_css_attr" height="147"></p></div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr">Does this mean that kamailio can't generate CDRs if I use DBtext DB?</p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div><blockquote style="border:none;border-left:solid #0857A6 1.0pt;padding:0cm 0cm 0cm 8.0pt;margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt"><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"><span data-type="sender"><span>Понедельник, 13 июня 2022, 18:10 +03:00 от Daniel-Constantin Mierla <<a href="http://e.mail.ru/compose/?mailto=mailto%3amiconda@gmail.com" target="_blank">miconda@gmail.com</a>>:<br> </span></span></p><div data-type="body"><div><div id=""><div><div><div id="style_16551330591732581707_BODY_mr_css_attr"><div><p style="margin-left:35.4pt">Hello,</p><p style="margin-left:35.4pt">is the cdrs_table modparam set? I do not use this cdrs generation from acc myself, but seems to be required. Also, note that acc table will always get the event records, cdrs are in another table.</p><p style="margin-left:35.4pt">Cheers,<br>Daniel</p><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr">On 13.06.22 12:22, Henning Westerholt wrote:</p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US">Hello,</span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US"> </span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">strange. Any error message or something odd in the log messages? I think you need to start to debug it, e.g. by increasing log level.</span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Maybe somebody else can also share some hints.</span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Cheers,</span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Henning</span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><div><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">-- </span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Henning Westerholt – </span><span style="mso-fareast-language:EN-US"><a href="https://skalatan.de/blog/" target="_blank"><span style="color:#0563C1" lang="EN-GB">https://skalatan.de/blog/</span></a></span></p><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Kamailio services – </span><span style="mso-fareast-language:EN-US"><a href="https://gilawa.com/" target="_blank"><span style="color:#0563C1" lang="EN-GB">https://gilawa.com</span></a></span></p></div><p style="margin-left:35.4pt" class="msonormalmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><div><div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"><b>From:</b> Oleg Podguyko <a><podguiko@mail.ru></a><br><b>Sent:</b> Saturday, June 11, 2022 3:16 PM<br><b>To:</b> Henning Westerholt <a> <hw@gilawa.com></a><br><b>Cc:</b> Kamailio (SER) - Users Mailing List <a> <sr-users@lists.kamailio.org></a><br><b>Subject:</b> Re[2]: [SR-Users] ACC CDR accounting</p></div></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p><div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr">Yes, I tried to use next lines:</p></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p></div><div><div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E;background:white"> if (is_method("INVITE")) {</span></p></div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="color:black;background:white"> </span></p></div></div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="color:black;background:white"> </span></p></div><div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E;background:white"> setflag(FLAG_ACC_LOG);</span></p><div style="margin-left:35.25pt"><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E;background:white"> </span>dlg_manage();</p></div></div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E;background:white"> setflag(FLAG_ACC_LOG_MISSED);</span></p></div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E;background:white"> setflag(FLAG_ACC_LOG_FAILED);</span></p></div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="color:black;background:white"> </span></p></div><div><p style="margin-left:106.05pt" class="mrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E;background:white">}</span></p></div></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr">and still got only INVITE transaction</p></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p></div></div><blockquote style="border:none;border-left:solid #0857A6 1.0pt;padding:0cm 0cm 0cm 8.0pt;margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt"><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"><span data-type="sender"><span>Суббота, 11 июня 2022, 15:15 +03:00 от Henning Westerholt <<a>hw@gilawa.com</a>>:<br> </span></span></p><div data-type="body"><div><div><div id=""><div><div><div id="style_16549497570644198414_BODY_mr_css_attr"><div><div><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US">Hello,</span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US"> </span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">do you also engage the dialog module on the initial INVITE, e.g. with dlg_manage()?</span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Cheers,</span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Henning</span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><div><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">-- </span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Henning Westerholt – </span><span style="mso-fareast-language:EN-US"><a href="https://skalatan.de/blog/" target="_blank"><span style="color:#0563C1" lang="EN-GB">https://skalatan.de/blog/</span></a></span></p><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB">Kamailio services – </span><span style="mso-fareast-language:EN-US"><a href="https://gilawa.com/" target="_blank"><span style="color:#0563C1" lang="EN-GB">https://gilawa.com</span></a></span></p></div><p style="margin-left:70.8pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="mso-fareast-language:EN-US" lang="EN-GB"> </span></p><div><div><div><p style="margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><b>From:</b> sr-users <<a href="http://e.mail.ru/compose/?mailto=mailto%3asr%2dusers%2dbounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>> <b>On Behalf Of </b>Oleg Podguyko<br><b>Sent:</b> Saturday, June 11, 2022 11:27 AM<br><b>To:</b> <a href="http://e.mail.ru/compose/?mailto=mailto%3asr%2dusers@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br><b>Subject:</b> [SR-Users] ACC CDR accounting</p></div></div><div><p style="margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"> </p><div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">HI</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">I’m trying to get CDR function. I would like to have one CDR for whole call at the syslog.</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">I use:</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">……</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">loadmodule "db_text.so"</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">loadmodule "dialog.so"</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">loadmodule "acc.so"</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">……..</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"># -----Dialog module -----</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("dialog", "db_mode", 0)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"># -----ACCounting module -----</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "early_media", 0)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "report_cancels", 1)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "log_facility", "LOG_LOCAL1")</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "detect_direction", 0)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "log_level", ACC_LOG_LEVEL)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "log_flag", FLAG_ACC_LOG)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "log_missed_flag", FLAG_ACC_LOG_MISSED)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "failed_transaction_flag", FLAG_ACC_LOG_FAILED)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "log_extra", "ip_src=$si;ip_dst=$avp(ip_dst);sip_from=$fU;sip_to=$tU;ruri_user=$rU;spx_rs=$avp(spx_http_rs)") ## TODO</span></p></div></div></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "cdr_enable", 1)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "cdr_enable_log", 1)</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">modparam("acc", "cdr_facility", "LOG_LOCAL1")</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">request_route {</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> if (is_method("INVITE")) {</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> setflag(FLAG_ACC_LOG);</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> setflag(FLAG_ACC_LOG_MISSED);</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> setflag(FLAG_ACC_LOG_FAILED);</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">}</span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E"> </span></p></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">At the kamailio.log I see only transaction for INVITE, but I wait for some CDR for all dialog. Whats wrong in my config? </span></p></div></div></div><div><p style="background:white; margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"><span style="font-size:11.5pt;font-family:'Arial',sans-serif;color:#2C2D2E">--</span></p></div></div><div><p style="margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"> </p></div><div><p style="margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr"> </p></div><div><div><div><p style="margin-left:106.2pt" class="msonormalmrcssattrmrcssattr_mr_css_attr">--<br>Олег Подгуйко</p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p></div><div><div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr">--<br>Олег Подгуйко</p></div></div></div><div><p style="margin-left:70.8pt" class="msonormalmrcssattr_mr_css_attr"> </p></div></div></div></div></div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p><pre style="margin-left:35.4pt">__________________________________________________________</pre><pre style="margin-left:35.4pt">Kamailio - Users Mailing List - Non Commercial Discussions</pre><pre style="margin-left:35.4pt"> * <a>sr-users@lists.kamailio.org</a></pre><pre style="margin-left:35.4pt">Important: keep the mailing list in the recipients, do not reply only to the sender!</pre><pre style="margin-left:35.4pt">Edit mailing list options or unsubscribe:</pre><pre style="margin-left:35.4pt"> * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></pre></blockquote><pre style="margin-left:35.4pt">-- </pre><pre style="margin-left:35.4pt">Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre><pre style="margin-left:35.4pt"><a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre><pre style="margin-left:35.4pt">Kamailio Advanced Training - Online: June 20-23, 2022</pre><pre style="margin-left:35.4pt"> * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre></div></div></div></div></div></div></div></blockquote><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div><div><div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr">--<br>Олег Подгуйко</p></div></div></div><div><p style="margin-left:35.4pt" class="MsoNormal_mr_css_attr"> </p></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div> <div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>--<br>Олег Подгуйко</div></div></div><div> </div></div></div></div></div></BODY></HTML>