radius sql quastione

Miha Zoubek miha at softnet.si
Wed Nov 9 15:48:57 CET 2011


our freeradius is working with our softswitch perfect. All my columns in 
radacct are populating.
Now I have set freeswitch and I also got it work with freeradius. This 
are two different softswitchs and I would like that bouth will populate 
same base. Problem appears as freeswitch is sending different 
attributes, so I make differences in
dialup.conf (than the other softswitch will not populate right radacct 

Can I populate same base? But how to configure dialup.conf than?
How can I set up in on radius to different base with to different 
dialup.conf (I must edit this file due to different attribute 

Below you will find freeswitch attributes:

rad_recv: Accounting-Request packet from host xxx.xxx.xxx.xxx port 
33534, id=134, length=402
         Acct-Status-Type = Stop
         Acct-Session-Id = "1d83c61f-3167-4c15-9da3-871cd76f3d7c"
         Freeswitch-Hangupcause = Normal-Clearing
         User-Name = "018108500"
         Freeswitch-Src = "018108500"
         Freeswitch-CLID = "018108500"
         Freeswitch-Dst = "051357952"
         Freeswitch-Dialplan = "XML"
         Framed-IP-Address = xxx.xxx.xxx.xxx
         Freeswitch-Context = "default"
         Freeswitch-Ani = "018108500"
         Freeswitch-Source = "mod_sofia"
         Freeswitch-Lastapp = "bridge"
         Freeswitch-Billusec = 2427061
         Freeswitch-Callstartdate = "2011-11-09T14:30:45.095287+0100"
         Freeswitch-Callanswerdate = "2011-11-09T14:30:52.965479+0100"
         Freeswitch-Callenddate = "2011-11-09T14:30:55.392540+0100"
         Acct-Session-Time = 2
         Freeswitch-Signalbond = "inbound"
         NAS-Port = 0
         Acct-Delay-Time = 0
         NAS-IP-Address = xxx.xxx.xxx.xxx
# Executing section preacct from file 

P.s.: I am getting all inputs in radacct table duplicate. Can you help 
me out how can I deal with this issue?

I have put radius log on http://pastebin.freeswitch.org/17730


More information about the Freeradius-Users mailing list