El Thu, 6 Jun 2024 17:48:43 +0000
Henning Westerholt <[email protected]> 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

Attachment: pgp_g7FyK5w59.pgp
Description: Firma digital OpenPGP

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to