[OpenSIPS-Users] Accouting EVI Question

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Dec 9 08:02:26 UTC 2024


Hi,

are you 100% sure your script hits an `do_accounting()` with "failed" - 
I see your snippet shows that, but just to double-check as that's the 
key element. BTW, do you get the missed call events ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 04.12.2024 18:11, Alexander Perkins wrote:
> Hi All.  I am using evi for accounting instead of mysql and I am 
> curious about something.  I noticed that the events being sent in are 
> only the 200 OKs, but I don't see anything else like 503 or 487.  In 
> my cfg script, I have the following events defined:
>
> event_route [E_ACC_EVENT]
> event_route [E_ACC_CDR]
> event_route [E_ACC_MISSED_EVENT]
>
> And in my routes, I have the following:
>
> Main route:
> route
> {
> do_accounting("evi", "cdr|missed|failed");
> }
>
> Invite Processing
> route[INVITE]
> {
> do_accounting("evi", "cdr|missed|failed");
> }
>
> failure_route [2]
> {
>         do_accounting("evi", "cdr|missed|failed");
>         t_reply($rc,$rr);
>         exit;
> }
>
> What am I missing?
>
> Thank you,
> Alex
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list