Hello,

On 9/26/11 11:26 AM, Mino Haluz wrote:
Hi,

I have this code:

        if ( is_user_in("From", "blocked") && is_method("INVITE")) {
xlog("L_INFO", "XLOG: [number_and_ruri_checks] NOTICE: Account ($fu) to ($ru) is blocked");
                sl_send_reply("403", " Account blocked ");
                exit;
        }

I would like to account also this answer to Radius, now I have it only in application xlog.
an easy way is to use acc_rad_request("403 Account blocked") right in the config file after you send the reply.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to