Hi

I'm totaly new to this thing since we have only evaluation version
of Radiator. I have to test Radiator to see if it works as we would
like it in our configuration. So here's my config: We have Cisco
AS5300 as VoIP gateway, PC with Microsoft SQL and Radiator 
currently running on same PC as SQL. We need to get attributes
cisco-h323-credit-time and cisco-h323-credit-amount back from
Radiator to AS5300. It works nice when I use text user file, 
but when I tried to use SQL database it doesn't really work.
I made SQL database called radius based on ansiCreate.sql
script which comes with Radiator distribution. Then I added
my user with password, leaving ENCRYPTEDPASSWORD field and
CHECKATTR field empty but added next line in REPLYATTR field:
cisco-h323-credit-amount = "h323-credit-amount=100.00",cisco-h323-credit-time = 
"h323-credit-time=1000"
I copied those two lines from userfile where it worked when I
had it done like this:
1234    Password = "5678"
        cisco-h323-credit-amount = "h323-credit-amount=100.00",
        cisco-h323-credit-time = "h323-credit-time=1000"

Now caller manage to authenticate on Radiator, it even puts 
data to table ACCOUNTING but Radiator doesn't send REPLYATTR
back to AS5300. My radius config file looks like this:

<Client 10.10.10.10>
        Secret test
        DupInterval 0
</Client>
# I also added this client to SQL.
<ClientListSQL>
        DBSource        dbi:ODBC:radius_odb
        DBUsername:     sa
        DBAuth          
</ClientListSQL>
<Realm DEFAULT>
 <AuthBy>
        DBSource        dbi:ODBC:radius_odb
        DBUsername:     sa
        DBAuth  
        AcctColumnDef   START_TIME,cisco-h323-setup-time
 </AuthBy>
</Realm DEFAULT>

Did I miss something? Because when I was trying before with txt
database AS5300 gave me at least "invalid AVPair" if I put wrong
syntax for "cisco-h323-credit-time". Now it doesn't complain
at all because it looks like it doesn't get anything back from
Radiator. Also debugging on Radiator doesn't show anything about
sending something back to Cisco.

Any idea what I could do to get those things back to Cisco from
Radiator?

Thanks for all help in advance.

Have nice weekend.

stay tuned,
Primoz
Tech support - ULTRASERVIS #1 :)
-------------------------------------------------------------------
Primoz Jeroncic tel:  +386 1 562 31 40   |    The label said:
Blatnica 8      fax:  +386 1 562 18 55   |  Windows 95 or better  
1236 Trzin      mailto:[EMAIL PROTECTED] |   So we bought a SGI
Slovenija       http://www.softnet.si/people/primoz
-------------------------------------------------------------------


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to