[sr-dev] [kamailio/kamailio] acc: generating duplicates on missed / failed calls (#1673)

Julien Chavanton notifications at github.com
Thu Oct 11 20:21:55 CEST 2018


I found consufion about using the integer value of the flag when checking it.

acc_run_engines
```
  if((type==1) && (msg->flags&(e->missed_flag))) {
```
and 
is_eng_acc_on 
```
 if(msg->flags & e->missed_flag) {
```

However when we reset it we use the bit position value
```
reset_acc_flag( req, flags_to_reset ); 
#define reset_acc_flag(_rq,_flag)   (resetflag((_rq), (_flag))) 
```

Looking at this further

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1673#issuecomment-429066023
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181011/b7fe31bf/attachment.html>


More information about the sr-dev mailing list