[Serusers] Stop Radius Accounting on Status 404.
Mohamed Omar
amatek2004 at yahoo.ca
Tue Feb 1 05:28:36 CET 2005
How can make SER flags status 404 for accounting and send a stop accouting record to the radius server?
Am currently doing accounting for calls going to PSTN network and it's working fine if the call is not completed and if I get an error like status 404 then no stop accounting record is sent to the radius server.
I would like to force SER to send stop accouting flag to radius server.
Can I do this on SER 0.8.14
if (!lookup("location")) {
setflag(1);
# doesn't seem to be needed, problably because sl_send_reply
# acc_rad_request("stop");
sl_send_reply("404", "Not Found");
break;
Thanks.
Mohamed
---------------------------------
Post your free ad now! Yahoo! Canada Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050131/82370f3c/attachment.htm>
More information about the sr-users
mailing list