Hi,
I'm trying to use freeradius0.8.1 and oracle with quintum box to build a prepaid voip system.
currently, i have a problem:
 
i can not modify or insert the h323-credit-time in radreply when authorizing. If I can insert the calledsessionid and username into oracle, i think i can write a database trigger to calcute the credit-time and insert it into radreply. but the problem is i don't know how to interact with oracle in authorizaion stage. 
 
I checked this list to find "Exec-Program-Wait" can be used. One of the method is to write a c programm. Is it possible to use sqlplus and sql script file? have anyone tried this way?
 
Thanks in advanced.
 
Alex Zhang

Reply via email to