Yes, I understand, except for the t_relay stuff. My problem is my calls have
no BYE record, thus the lengh of the call and who hungup the call cannot be
determined, this is why I need help.
Thanks
Barry
----- Original Message -----
From: "Matt Schulte" <mschulte(a)netlogic.net>
To: "Barry Murphy" <barry(a)unix.co.nz>nz>; <serusers(a)lists.iptel.org>
Sent: Wednesday, April 06, 2005 2:14 PM
Subject: RE: [Serusers] Acc, not getting BYE statements
So just to be clear you are setting flags twice? This should be
unneccesary as you only need to set them once. While setting them twice
shouldn't break anything it's probly just a bad idea :-).. What I did
with my build was (near the top of main route) flag everything except
register's. We had problems where just like you, certain situations
weren't getting tagged for CDR's. Afterwards we would process the CDR's
to remove what we didn't need, such as 'inbound' calls and such.
Also as you may already know acc must use stateful transactions, ie
t_relay as opposed to a forward. That way you ensure everything gets
processed accordingly anyway.
Matt
-----Original Message-----
From: Barry Murphy [mailto:barry@unix.co.nz]
Sent: Tuesday, April 05, 2005 8:33 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Acc, not getting BYE statements
Hey guys,
Got serweb reporting N/a for "Length of call" and "Hangup", so
i've
checked a few google howto's and example configs, however still not
getting any.
I get the initial INVITE and an ACK in the same second, but when the
call ends, nothing.
I have the following in my ser.cfg:
# -- acc params --
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1 )
modparam("acc", "log_missed_flag", 2)
modparam("acc", "log_fmt", "cdfimorstup")
modparam("acc", "failed_transactions", 1)
modparam("acc", "report_cancels", 1)
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)
modparam("rr", "enable_full_lr", 1)
# account completed transactions via syslog
setflag(1);
setflag(2);
if(method=="INVITE" || (method=="ACK") || method=="BYE" ){
setflag(1);
setflag(2);
};
Barry
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers