Hello everyone, i have a very interesting/stubborn issue to deal with. Recently i installed freeswitch and compiled the radius module with it. The idea was to collect all CDRs in POstgres Database. Everything looked ok untill i decided to examine the generated records: Acct-Status-Type = Stop Acct-Session-Id = "74826237-32e6-4076-b63d-c328f4c22213" Freeswitch-Hangupcause = Originator-Cancel User-Name = "cc150" Freeswitch-Src = "cc150" Freeswitch-CLID = "cc150" Freeswitch-Dst = "00312132268081" Freeswitch-Dialplan = "XML" Framed-IP-Address = 46.50.57.49 Freeswitch-Context = "default" Freeswitch-Source = "mod_sofia" Freeswitch-Lastapp = "bridge" Freeswitch-Billusec = 0 Freeswitch-Callstartdate = "2008-10-06T23:58:03.830770-0400" Freeswitch-Callenddate = "2008-10-06T23:58:11.763842-0400" Acct-Session-Time = 0 NAS-Port = 0 Acct-Delay-Time = 0 NAS-IP-Address = 192.168.1.148 nothing interesting here you'll probably say./ i thought the same /. Framed-IP-Address = 46.50.57.49 is the record that drives me mad and here is the reason. My understanding is that Framed-IP-Address should represent the orriginating IP address. my lab is running entirely on private network 192.168.1.0 . i'm not connecting to the freeswitch from public ip and the worse of all i have no idea where 46.50.57.49 comes from. To make the confision complete this record is present in all radius generated records no matter what equipment/network settings i'm using to generate the calls. If somebody can tell me what is wrong i'll highly apreciate it. Best Regards Chav
On Mon, 2008-10-06 at 21:18 -0700, Tchavdar Paskov wrote:
Framed-IP-Address = 46.50.57.49 Framed-IP-Address = 46.50.57.49 is the record that drives me mad and here is the reason. my lab is running entirely on private network 192.168.1.0 . i'm not connecting to the freeswitch from public ip and the worse of all i have no idea where 46.50.57.49 comes from.
It may be sheer coincidence, but the decimal values 49, 50, 57 and 49 represent the ASCII characters ".291", which is "192." backwards... Regards, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer@biplane.com.au) +61-2-64957160 (h) http://www.biplane.com.au/~kauer/ +61-428-957160 (mob) GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
Tchavdar Paskov wrote:
nothing interesting here you'll probably say./ i thought the same /. Framed-IP-Address = 46.50.57.49 is the record that drives me mad and here is the reason.
Like EVERYTHING in RADIUS accounting, the accounting records are generated by the NAS. In this case, FreeSwitch. If there's a weird IP address in the accounting record, it's because FreeSwitch is adding it to the accounting packet, and then sending that packet to FreeRADIUS.
My understanding is that Framed-IP-Address should represent the orriginating IP address.
It's whatever address FreeSwitch puts in the packet.
my lab is running entirely on private network 192.168.1.0 . i'm not connecting to the freeswitch from public ip and the worse of all i have no idea where 46.50.57.49 comes from. To make the confision complete this record is present in all radius generated records no matter what equipment/network settings i'm using to generate the calls. If somebody can tell me what is wrong i'll highly apreciate it.
Ask this question on the Freeswitch list. Alan DeKok.
participants (3)
-
Alan DeKok -
Karl Auer -
Tchavdar Paskov