My FreeRadius is configured with MySQL...

-----------------------------------------------

Hi to all, 
        I have Quintum Tenor and all authentication/authorization(as you
know quintum sends two access request messages) and accounting I've done
with FreeRadius (still with 0.8.1).
        My question is:
                When I deny user or it is blocked or it's currency
amount is less than needed to let to make a call, I must send access
reject message with Attribute "h323-return-code" and value (7-user deny
... etc.). How do you construct (It's probably the question to people
how works with Quintum) reply queries? Or how do you fill radreply table
When there must be more than one reason when user must be rejected? One
way I do this: for each deny I put one more record into radreply: 
----------------------------------------------------------
|UserName   | Attribute             | op | Value |
|1234567890 | h323-return-code | =  | 7        | - User is blocked
|1234567890 | h323-return-code | =  | 4        | - Zero balance
and so on...
        So, When I order by ID, the value with biggest priority gets on
the top and Quintum knows it...

        But I think there is another way for this to work properly?


        How do you construct queries when you check Card expration date?
This value must be dinamic... I mean when card expires, radius must send
access reject with "h323-return-code = 5".

        Thanks for any advice, it would be very appreciated...

Regards,
        Arunas

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to