[OpenSIPS-Users] ACC Logging Cancels

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon May 18 16:41:27 CEST 2009


Hi Brett,

couple for notes that may help you:

1) the xxx_missed_flag gets automatically reset after each branch (of 
the transaction) is closed. So, if you want to get missed calls for the 
second branch, you need to re-arm the flag in failure route, when 
creating the new branch

2) do not share the same flag for failed transactions and missed calls, 
as the missed call flag will be reset (see above), so the failed 
transaction will also disabled.

For more detailes about how acc works, see the ACC presentation from 
http://www.voice-sistem.ro/downloads/2007.08.29-Admin-Course/

Regards,
Bogdan

Brett Nemeroff wrote:
> All,
> I'm having some trouble with ACC.. I'm not sure if I'm doing something 
> wrong or if this behavior is expected.
>
> I'm using ACC to log my calls with the following options:
> modparam("acc", "early_media", 0)
> modparam("acc", "report_ack", 0)
> modparam("acc", "report_cancels", 1)
> modparam("acc", "failed_transaction_flag", 2)
> modparam("acc", "db_flag", 1)
> modparam("acc", "db_missed_flag", 2)
> modparam("acc", "db_table_missed_calls", "acc")
> modparam("acc", "db_table_acc", "acc")
> modparam("acc", "db_table_missed_calls", "acc")
>
> Now if I make a call, and it goes to carrier one, which fails (remote 
> side doesn't answer, lets say) a 408 Request Timeout gets logged, but 
> then the call rolls to another carrier, I hear ringing, then hangup. I 
> dont' log a 487. I'd like to have that 487 logged. Any idea what I'm 
> doing wrong?
>
> I setflag(1) and setflag(2) right at the begining of my scripts. Maybe 
> if someone can explain to me what setting those flags really causes 
> the acc module to do, that might help me. Also what does ACC call 
> "missed" and "failed" ?
> Thanks!
>
> -Brett
>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list