El Thu, 6 Jun 2024 17:48:43 +0000
Henning Westerholt <hw(a)gilawa.com> escribió:
Hello,
just to double check, you are also setting this two flags then in processing
the INVITE, right?
Yes. I get the failed rows in the database tables "missed_calls"
I just want in a invite-407-invite-486 call to have a single entry with the 486
and do not have the 407 one.
route[TO_PSTN] {
xlog("L_NOTICE", "Call from PBX. Sending to PSTN - R=$ru\n");
$fsn="main";
if (is_method("INVITE")){
$avp(acc_company)=$hdr(P-PEKE-SRCCOMPANY);
$avp(acc_exten)=$hdr(P-PEKE-SRCEXTEN);
$avp(acc_direction)="out";
setflag(FLT_ACC);
setflag(FLT_ACC_MISS);
}
--
PekePBX, the multitenant PBX solution
https://pekepbx.com