What could be the problem is the following statement:
if (loose_route()) {
t_relay();
break;
};
In some cases the condition will be true and the message will be
forwarded using t_relay in the condition. In that case the processing of
the script stops. To account also this case you need to set the
accounting flag in this condition (before t_relay).
Jan.
On 29-09 08:28, jaime.gil(a)orange.co.uk wrote:
Steven,
I remember having the same problem. In my case, the problem seemed to be in the
loose_route processing. I don't know what it has to do with the accounting
module, but commenting out this part made the trick in my case.
Jaime
"Steven R. Bunin" <steve(a)solaas.com> on 26/09/2003 17:11:41
To: serusers(a)lists.iptel.org
cc: (bcc: Jaime GIL/EN/HTLUK)
Subject: [Serusers] Re: Serusers Digest, Vol 5, Issue 63
Hi all,
I have successfully gotten radius authentication working and I started getting
Radius Start records for accounting but I am not sure what I am doing wrong in
regards to getting radius Stop records.
Below is the area I believe has the most affect on Radius Acccounting from my
Log File. Any suggestions would be appreciated and if it would help to see the
full Config file I will send it as well.
record_route();
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!radius_www_authorize("")) {
www_challenge("", "0");
break;
};
save("location");
break;
};
if (method =="INVITE")
{
log(1,"INVITE\n");
setflag(1);
};
if (method=="MESSAGE") {
log(1,"MESSAGE\n");
setflag(1);
};
if (method=="BYE"){
log (1, "BYE or CANCEL\n");
setflag(1);
};
if (method=="CANCEL"){
log (1, "BYE or CANCEL\n");
setflag(1);
};
Thanks in advance,
Steve
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers