[Asterisk-Users] Re: asterisk+radius

2005-03-18 Thread Kamran Ahmad
hello pongco

if you are talking about disconnecting a call session
at his credit time. then you have to look at
ast_channel-whentohangup

kamran

On Fri, 2005-03-18 at 14:10, Paul P. Pongco wrote:
 Hello,
 
 Im actually deciding if I will use asterisk+radius
for AAA purposes 
or
 use logging directly to mysql and using 
Asterisk+RealTime to store 
SIP
 users to mysql also. 
 Question is, what's the best way to disconnect a
user, if for 
example,
 he runs out of credits. thanks.
 
 On Fri, 2005-03-18 at 02:33, izo wrote:
  set asterisk to log into database directly via
there are mysql ,
  postgresql and odbc drivers
  available. 
  You dont need radius at all,
  for  billing and accounting all u need is a
frontend to database
  
  
  On Thu, 17 Mar 2005 12:29:34 -0500, Matt wrote:
   Oh this is sad.. I'm familiar with radius.. and
was hoping to be 
able
   to use asterisk with freeradius to be able to do
call accounting 
and
   billing.. so you're telling me this is now not a
good idea?
   Am I better off (for now) parsing the csv report
each month?
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
 
http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
  



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Kamran Ahmad


i have written app for billing with asterisk. what is
the problem in using radius.

kamran



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Matthew Boehm
Kamran Ahmad wrote:
 i have written app for billing with asterisk. what is
 the problem in using radius.

 kamran


Its a pain and redundant. Why run two seperate databases when 1 will do
what you need? There is no native radius support for Asterisk. There is an
addon, (search the wiki) but the last I heard of it, it was unstable.

-Matthew

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Matt
Oh this is sad.. I'm familiar with radius.. and was hoping to be able
to use asterisk with freeradius to be able to do call accounting and
billing.. so you're telling me this is now not a good idea?
Am I better off (for now) parsing the csv report each month?


On Thu, 17 Mar 2005 11:00:09 -0600, Matthew Boehm [EMAIL PROTECTED] wrote:
 Kamran Ahmad wrote:
  i have written app for billing with asterisk. what is
  the problem in using radius.
 
  kamran
 
 
 Its a pain and redundant. Why run two seperate databases when 1 will do
 what you need? There is no native radius support for Asterisk. There is an
 addon, (search the wiki) but the last I heard of it, it was unstable.
 
 -Matthew
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Michael K. Rodriguez User
I agree, why run to DBs. On the other hand, I have spoken with several
people asking about radius support for asterisk because they have a  billing
solution that uses data from the radius servers to populate their billing
DB. 


-Michael


On 3/17/05 11:00 AM, Matthew Boehm [EMAIL PROTECTED] wrote:

 Kamran Ahmad wrote:
 i have written app for billing with asterisk. what is
 the problem in using radius.
 
 kamran
 
 
 Its a pain and redundant. Why run two seperate databases when 1 will do
 what you need? There is no native radius support for Asterisk. There is an
 addon, (search the wiki) but the last I heard of it, it was unstable.
 
 -Matthew
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread izo
set asterisk to log into database directly via there are mysql ,
postgresql and odbc drivers
available. 
You dont need radius at all,
for  billing and accounting all u need is a frontend to database


On Thu, 17 Mar 2005 12:29:34 -0500, Matt wrote:
 Oh this is sad.. I'm familiar with radius.. and was hoping to be able
 to use asterisk with freeradius to be able to do call accounting and
 billing.. so you're telling me this is now not a good idea?
 Am I better off (for now) parsing the csv report each month?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Matthew Boehm
Matt wrote:
 Oh this is sad.. I'm familiar with radius.. and was hoping to be able
 to use asterisk with freeradius to be able to do call accounting and
 billing.. so you're telling me this is now not a good idea?
 Am I better off (for now) parsing the csv report each month?


 On Thu, 17 Mar 2005 11:00:09 -0600, Matthew Boehm
 [EMAIL PROTECTED] wrote:
 Kamran Ahmad wrote:
 i have written app for billing with asterisk. what is
 the problem in using radius.

 kamran


 Its a pain and redundant. Why run two seperate databases when 1
 will do what you need? There is no native radius support for
 Asterisk. There is an addon, (search the wiki) but the last I heard
 of it, it was unstable.

 -Matthew


My only (the only) reason for not using radius is dupilicity. We also run
freeradius with a mysql backend for doing router logins and for ISDN
authorization.

If my Asterisk CDRs are already being written to MySQL, why write them to
Radius which is just going to write them to MySQL?

If you already have some sort of Radius billing app written, then go for it.
I'm not here to stop anyone from using radius. I'm not anti-radius.

I'm just saying that if you already have a database that does what you need,
why bring in another one?

-Matthew

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread leandro_tenorio

Because some of us, are already using radius for other purposes (radius also
has authentication and we could use it with other GWs vendors) as a single
solution, in our case, we already have radius for our GWs and Raidus using
Oracle and I don't want to use direct connection to Oracle at all.

LTenorio


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm
Sent: Thursday, March 17, 2005 3:36 PM
To: Matt; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: asterisk+radius

Matt wrote:
 Oh this is sad.. I'm familiar with radius.. and was hoping to be able 
 to use asterisk with freeradius to be able to do call accounting and 
 billing.. so you're telling me this is now not a good idea?
 Am I better off (for now) parsing the csv report each month?


 On Thu, 17 Mar 2005 11:00:09 -0600, Matthew Boehm 
 [EMAIL PROTECTED] wrote:
 Kamran Ahmad wrote:
 i have written app for billing with asterisk. what is the problem in 
 using radius.

 kamran


 Its a pain and redundant. Why run two seperate databases when 1 
 will do what you need? There is no native radius support for 
 Asterisk. There is an addon, (search the wiki) but the last I heard 
 of it, it was unstable.

 -Matthew


My only (the only) reason for not using radius is dupilicity. We also run
freeradius with a mysql backend for doing router logins and for ISDN
authorization.

If my Asterisk CDRs are already being written to MySQL, why write them to
Radius which is just going to write them to MySQL?

If you already have some sort of Radius billing app written, then go for it.
I'm not here to stop anyone from using radius. I'm not anti-radius.

I'm just saying that if you already have a database that does what you need,
why bring in another one?

-Matthew

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Paul P. Pongco
Hello,

Im actually deciding if I will use asterisk+radius for AAA purposes or
use logging directly to mysql and using  Asterisk+RealTime to store SIP
users to mysql also. 
Question is, what's the best way to disconnect a user, if for example,
he runs out of credits. thanks.

On Fri, 2005-03-18 at 02:33, izo wrote:
 set asterisk to log into database directly via there are mysql ,
 postgresql and odbc drivers
 available. 
 You dont need radius at all,
 for  billing and accounting all u need is a frontend to database
 
 
 On Thu, 17 Mar 2005 12:29:34 -0500, Matt wrote:
  Oh this is sad.. I'm familiar with radius.. and was hoping to be able
  to use asterisk with freeradius to be able to do call accounting and
  billing.. so you're telling me this is now not a good idea?
  Am I better off (for now) parsing the csv report each month?
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Cheers,

Paul P. Pongco
Mosaic Communications Inc.



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk+radius

2005-03-17 Thread Paul P. Pongco
oops never mind, ill just read on astcc

On Fri, 2005-03-18 at 14:10, Paul P. Pongco wrote:
 Hello,
 
 Im actually deciding if I will use asterisk+radius for AAA purposes or
 use logging directly to mysql and using  Asterisk+RealTime to store SIP
 users to mysql also. 
 Question is, what's the best way to disconnect a user, if for example,
 he runs out of credits. thanks.
 
 On Fri, 2005-03-18 at 02:33, izo wrote:
  set asterisk to log into database directly via there are mysql ,
  postgresql and odbc drivers
  available. 
  You dont need radius at all,
  for  billing and accounting all u need is a frontend to database
  
  
  On Thu, 17 Mar 2005 12:29:34 -0500, Matt wrote:
   Oh this is sad.. I'm familiar with radius.. and was hoping to be able
   to use asterisk with freeradius to be able to do call accounting and
   billing.. so you're telling me this is now not a good idea?
   Am I better off (for now) parsing the csv report each month?
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Cheers,

Paul P. Pongco
Mosaic Communications Inc.



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users