--- Dmitriy Milashenko <[EMAIL PROTECTED]> wrote:

> Hi, Graeme.
> 
> Graeme wrote 12 ������� 2004 �., 14:06:07:
> 
> > On Thu, 2004-08-12 at 12:03, Dmitriy Milashenko
> wrote:
> >> Hi, Graeme.
> >> 
> >> Graeme wrote 12 ������� 2004 �., 13:43:04:
> >> 
> >> > On Thu, 2004-08-12 at 11:29, Dmitriy Milashenko
> wrote:
> >> >> Hi, freeradius-users.
> >> >> 
> >> >> I have a small question.
> >> >> Is it possible to make VoIP and dialup
> accounting with 1 instance of
> >> >> FreeRadius? After I've looked through contents
> of
> >> >> freeradius-1.0.0.tar.gz, it seems to me that
> it is NOT possible, but
> >> >> maybe there is a way to do this?
> >> 
> >> > why not? or does your voip accounting come from
> the same nas as dialup?
> >> 
> >> 
> >> So I should include in radiusd.conf both
> pgsql-voip.conf and
> >> postgresql.conf? Will FreeRadius automaticaly
> deside which of
> >> "accounting_start_query" and
> "accounting_stop_query" use for dialup and
> >> voip?
> 
> > no.  What I am saying is account BOTH in the same
> table.  You can just
> > select on a diff NAS IP address..
> 
> > But as you are using postgres, you could always
> define a trigger to
> > redirect the requests within postgres itself into
> seperate tables.
> 
> 
> But is it possible to account them in different
> tables using 2 FreeRadius
> instances with different config files?
> 
> BTW, is it possible to do AUTHORIZATION and
> AUTHENTICATION for VoIP?
> In pgsql-voip.conf I did not see queries like
> "authenticate_query",
> "authorize_check_query", "authorize_reply_query"!!!
> 

Yes you can do both authentication and authorization
with pgsql-voip.conf but you have to put those queries
there yourself. A simple way to do that is to copy the
ones from postgresql.conf and paste it there.

It is also possible to have two instances of
freeradius but I think you can solve your problem by
using the /etc/raddb/acct-users file. You also have to
include 2 instances of sql.conf. The decision as to
which instance is used can be made by using the
Service-Type attribute or NAS-IP-address attribute.

I hope this helps

Kafui Amedzekor
Accra, Ghana.


                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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

Reply via email to