19-Feb-03 at 12:54, lakris ([EMAIL PROTECTED]) wrote :
> 1) Operational Scheme:
> 
> [Cisco AS5300 voip] <-> [freeradius] <-> [postgresql]
> 
> 2) What I need:
>   a) cisco AS5300 gets incomming call
>   b) AS 5300 sends to freeradius information about this call
>   c) freeradius queries postgre for call's price cost
>   d) freeradius receives price cost from postgre
>   e) radius sends price cost to cisco
> 
> In other words, I need a way to be able to query and get some info from a 
> foreign database. As CISCO say, TCL application (AS5300) can operate with 
> outer world only via radius protocol (correct me if I am wrong).

Does the Cisco support pricing in attributes? This is far more NAS
specific than it is Radius specific.

This is better:

- Cisco gets incoming call
- Cisco sends Radius attributes to Freeradius server
- Based on these attributes, Freeradius queries PostgreSQL
- Freeradius sends query result back to Cisco as Radius response

That's how it works. Now you have to work out what attributes trigger
what responses, etc.

Regards,

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] Folding@home no log script yet...]
Warsaw's Fourth Law: The Law of Pinball Machine Instructions.  It
doesn't matter a wit if the instructions are printed clearly for all to
see, nobody will read them. They'll just drop their quarters and start
pushing buttons like a Tommy. Software is the same. -- B. Warsaw

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

Reply via email to