[SR-Users] Creating CDRs for Missed and failed calls

2023-09-11 Thread Marrold
Hi all, I'm using the acc module along with postgres to generate CDRs. For connected calls the CDRs are created as expected, but in the scenario where a lookup() fails and Kamailio sends a stateless 404 there's no CDR logged. I'm setting the FLT_ACCMISSED and FLT_ACCFAILED flags in the initial re

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-11 Thread Benoit Panizzon
$(branch(dst_uri)[-1]) = $(ulc(aor=>received)[$var(i)]); seems to be correct. Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-41

[SR-Users] Re: Skip/discard branch in branch route?

2023-09-11 Thread Benoit Panizzon
Hi Yuriy I fear I still need some help What I am doing now is: if(reg_fetch_contacts("location", "$var(lookupuri)", "aor")) { t_newtran(); xlog("L_INFO","$cfg(route): Existing registration contacts count: $(ulc(aor=>count))\n"); $var(i) =