Madhusudan.Jarhad@lntinfotech.com wrote:
Thanks first of all Bogdan, But what is relevence of the acc table in database. it seems much like raw CDR record. My problem is it is not getting updated at all. bit sip-trace table is getting the SIP messages recorded.. Even if I would populate acc table online is like an achivement for me. but how to do it from configuration. Thanks again, Madhusudan
*Bogdan-Andrei Iancu bogdan@voice-system.ro*
10/19/2006 01:18 AM
To Madhusudan.Jarhad@lntinfotech.com cc users@openser.org Subject Re: [Users] How to configure acc modue
Hi,
the acc module does not generate CDRs, but start / stop events you can use for generating CDRs
do you get the logs? be sure to set in the scrip the configured acc flags!!
regards, bogdan
Madhusudan.Jarhad@lntinfotech.com wrote:
You need to add the setflag() funtion where you want the particular variable to be recorded...
For example:
if (loose_route()) { # mark the BYEs -- they are requests within a dialog if(method=="BYE") setflag(1); t_relay(); return; };
This is from the flags tutorial:
http://www.voice-system.ro/docs/ser-flags/
Nick