VSA Attributes Voip

2005-01-28 Thread Fabio Viração
Hi;
I am using a Freeradius Server with a Quintum-RAS that  is sending VSA 
attributes
with the attribute name *again* in the string, like:

H323-Attribute = h323-attribute=value
Cisco I can use with_cisco_vsa_hack = yes  , but with Quintum this is not 
working , any ideia that how I can solve it???

   Quintum-h323-connect-time = h323-connect-time=17:27:41.520 UTC Fri 
Jan 28 2005
   Quintum-h323-disconnect-time = h323-disconnect-time=17:28:03.105 
UTC Fri Jan 28 2005
  Quintum-h323-remote-address = h323-remote-address=200.87.46.162
   Quintum-h323-disconnect-cause = h323-disconnect-cause=10
   Quintum-h323-voice-quality = h323-voice-quality=0

Thank you very much
Fabio

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


Re: Radius Cisco h323 Voip

2005-01-27 Thread Fabio Viração
Hello Manda;
Thank you very much for your help... Now i am using postgrep and I can send 
the CDR to the DB. But now  I have another question ... :-) how can I get 
tha Callduration ?? I know thar I have to use disconect and connectime , but 
i do not know how . Can you pls help me ?

Thanks
Fabio
- Original Message - 
From: Manda Costin [EMAIL PROTECTED]
To: freeradius-users@lists.freeradius.org; 
[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 8:47 AM
Subject: Re: Radius Cisco h323 Voip


Pe 26 Jan 2005, la 23:16, =?iso-8859-1?Q?Fabio_Vira=E7=E3o?= 
[EMAIL PROTECTED] a scris:

Hi ;
How can I send all these information to a Mysql Database ??
 If you look in the src/billing directory in the freeradius source packet 
you will see how to do billing with postgres. Also the reasons why mysql 
does NOT work well with Cisco. However, you can try MySQL 5.0 which is 
still in testing AFAIK, and see how it goes.
I highly recomend postgreSQL, though, and to create a good 
accounting/billing system for Cisco you need to combine the info in the 
src/billing directory with the one in 
src/modules/rlm_sql/drivers/rlm_sql_postgresql. At least this is how I did 
it.
Also, don't forget to set with_cisco_vsa_hack=yes in the radiusd.conf 
file.
Does anyone have any ideia that can help me ??
Sorry Joe
Thanks
Fabio
Mon Aug 30 14:38:18 2004
   NAS-IP-Address =3D 192.168.115.4
   Cisco-NAS-Port =3D CAS 1:0
   NAS-Port-Type =3D Async
   User-Name =3D 351289767299
   Called-Station-Id =3D 17863045678
   Calling-Station-Id =3D 351212362299
   Acct-Status-Type =3D Stop
   Service-Type =3D Login-User
   h323-gw-id =3D h323-gw-id=3DTest0909
   Cisco-AVPair =3D h323-incoming-conf-id=3DD397A0 F9CA11D8 =
9519C3E7=20
31564DA6
   h323-call-origin =3D h323-call-origin=3Doriginate
   h323-call-type =3D h323-call-type=3DTelephony
   h323-setup-time =3D h323-setup-time=3D14:45:00.680 GMT Mon Aug =
30 2004
   h323-connect-time =3D h323-connect-time=3D14:45:23.482 GMT Mon =
Aug 30=20
2004
   h323-disconnect-time =3D h323-disconnect-time=3D14:46:06.352 =
GMT Mon=20
Aug 30 2004
   h323-disconnect-cause =3D h323-disconnect-cause=3D10
   h323-voice-quality =3D h323-voice-quality=3D0
   h323-conf-id =3D h323-conf-id=3DD397A0 F9CA11D8 9519C3E7 =
31564DA6
   Acct-Session-Id =3D EDD9



Home, no matter how far...
http://www.home.ro
-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html



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


Re: Freeradius hangs after a HUP

2005-01-26 Thread Fabio Viração
Hi ;
How can I send all these information to a Mysql Database ??
Does anyone have any ideia that can help me ??
Thanks
Fabio
Mon Aug 30 14:38:18 2004
   NAS-IP-Address = 192.168.115.4
   Cisco-NAS-Port = CAS 1:0
   NAS-Port-Type = Async
   User-Name = 351289767299
   Called-Station-Id = 17863045678
   Calling-Station-Id = 351212362299
   Acct-Status-Type = Stop
   Service-Type = Login-User
   h323-gw-id = h323-gw-id=Test0909
   Cisco-AVPair = h323-incoming-conf-id=D397A0 F9CA11D8 9519C3E7 
31564DA6
   h323-call-origin = h323-call-origin=originate
   h323-call-type = h323-call-type=Telephony
   h323-setup-time = h323-setup-time=14:45:00.680 GMT Mon Aug 30 2004
   h323-connect-time = h323-connect-time=14:45:23.482 GMT Mon Aug 30 
2004
   h323-disconnect-time = h323-disconnect-time=14:46:06.352 GMT Mon 
Aug 30 2004
   h323-disconnect-cause = h323-disconnect-cause=10
   h323-voice-quality = h323-voice-quality=0
   h323-conf-id = h323-conf-id=D397A0 F9CA11D8 9519C3E7 31564DA6
   Acct-Session-Id = EDD9


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


Radius Cisco h323 Voip

2005-01-26 Thread Fabio Viração



Hi 
;

How can I send 
all these information to a Mysql Database ??Does anyone have any ideia 
that can help me ??
Sorry Joe
ThanksFabioMon Aug 30 14:38:18 
2004 NAS-IP-Address = 
192.168.115.4 Cisco-NAS-Port = 
"CAS 1:0" NAS-Port-Type = 
Async User-Name = 
"351289767299" Called-Station-Id = 
"17863045678" Calling-Station-Id = 
"351212362299" Acct-Status-Type = 
Stop Service-Type = 
Login-User h323-gw-id = 
"h323-gw-id=Test0909" Cisco-AVPair 
= "h323-incoming-conf-id=D397A0 F9CA11D8 9519C3E7 
31564DA6" h323-call-origin = 
"h323-call-origin=originate" 
h323-call-type = 
"h323-call-type=Telephony" 
h323-setup-time = "h323-setup-time=14:45:00.680 GMT Mon Aug 30 
2004" h323-connect-time = 
"h323-connect-time=14:45:23.482 GMT Mon Aug 30 
2004" h323-disconnect-time = 
"h323-disconnect-time=14:46:06.352 GMT Mon Aug 30 
2004" h323-disconnect-cause = 
"h323-disconnect-cause=10" 
h323-voice-quality = 
"h323-voice-quality=0" 
h323-conf-id = "h323-conf-id=D397A0 F9CA11D8 9519C3E7 
31564DA6" Acct-Session-Id = 
"EDD9"