Hi,
changing:
# account only INVITEs
if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting
}
with:
if (is_method("INVITE")) {
dlg_manage();
setflag(FLT_ACC); # do accounting
}
solve.
Thank you
Regards
El 05/01
Sorry. I thought that after sending the email.
Kamailio It's not saving even in acc table? Are you starting a dialog?
*dialog* -- Dialog, if “cdr_enable” module parameter is enabled
In my cfg
if (is_method("INVITE") && !has_totag()) {
setflag(FLT_ACC); # do accounting
Hi Diego,
I'm using default script:
# account only INVITEs
if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting
}
if (is_method("BYE")) {
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ...
Hi Annus,
Did you set the flags for those calls you want to account?
I have something like this in my request route
if (is_method("INVITE") && !has_totag()) {
setflag(FLT_ACC); # do accounting
dlg_manage();
setflag(FLT_ACCMISSED);
s
Hello,
I'm trying to save Kamailio CDR on acc_cdrs table without success. My
relevant configuration look like:
-
#!define FLT_ACC 1
#!define FLT_ACCMISSED 2
#!define FLT_ACCFAILED 3
-
#!define WITH_ACCDB
loadmodule "dialog.so"
loadmodule "acc.so"
modparam("dialog", "dlg_flag"