[Serusers] pstn simple question

Wojciech Ziniewicz WojtekZ at Optocomp.PL
Wed May 25 13:06:58 CEST 2005


Hi,
Anybody know how to account only the invites and byes that go from the
endpoint? 
For radius accounting i get one  BYE and  two invites and that is not how it
should be.
my radius flag is "2" and my accouting code snippet is like that:

#we log every invite and corresponding bye to radius accounting 
if (method=="INVITE" | method=="BYE") { setflag(2); }

that gives me two starts and one stop and finally a duplicated radius entry.

any help would be appreciated.. please..





More information about the sr-users mailing list