[Serusers] Acc, not getting BYE statements
Matt Schulte
mschulte at netlogic.net
Wed Apr 6 04:14:43 CEST 2005
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 at unix.co.nz]
Sent: Tuesday, April 05, 2005 8:33 PM
To: serusers at 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 at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list