[OpenSIPS-Users] 回复: freeradiusd-2.2.0 Unsupported Acct-Status-Type= 15

Laszlo laszlo at voipfreak.net
Wed Jul 3 12:16:18 CEST 2013


What errors did you get?
2013.07.03. 11:07, "ㄨ冷se灬" <291490117 at qq.com> ezt írta:

> readme.txt show me:
> Patch for
> - Added support for acct type Failed (15)
> - Added MySQL stored procedures support
> - Removed Cisco hack that causes errors in radius.log if acctsessiontime= 0
>
> but the patch isn't working.
>
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Laszlo"<laszlo at voipfreak.net>;
> *发送时间:* 2013年7月3日(星期三) 下午3:30
> *收件人:* "OpenSIPS users mailling list"<users at lists.opensips.org>; **
> *主题:* Re: [OpenSIPS-Users] freeradiusd-2.2.0 Unsupported
> Acct-Status-Type= 15
>
> Did you compile freeradius from source? If so, you will need to patch it
> and then recompile freeradius.
> The patch can be found here:
> http://download.dns-hosting.info/CDRTool/contrib/freeradius-brandinger/
>
>
> These are quite old patches, if the most recent patch isn't working for
> you, then you will need to go through the patching logic manually. It will
> involve editing the following files:
>
>  - freeradius/src/include/radius.h
> - freeradius/src/modules/rlm_sql/conf.h
> - freeradius/src/modules/rlm_sql/rlm_sql.c
> - the config file under freeradius's /etc directory
>
> Look at the lines with the "+" lines in the patch file.
>
>
> -Laszlo
>
>
>
> 2013/7/3 ㄨ冷se灬 <291490117 at qq.com>
>
>> dear all:
>>          I update my freeradius from v1.1.8 to v2.2.0.
>>          when I use v2.2.0 ,I can’t see unsuccessfully calls(like
>> cancel,etc)
>>
>>          and radius got this log:
>> rad_recv: Accounting-Request packet from host 10.1.17.71 port 47962,
>> id=165, length=510
>>     Acct-Status-Type = Failed
>>     Service-Type = IAPP-Register
>>     Sip-Response-Code = 487
>>     Sip-Method = Invite
>>     Event-Timestamp = "Jul  3 2013 08:55:14 CST"
>>     Sip-From-Tag = "202199366"
>>     Sip-To-Tag = "3c11a175"
>>     Acct-Session-Id = "261192415021484-264973041726312 at 10.49.2.236"
>>     User-Name = "66687113 at 10.1.17.71"
>>     Billing-Party = "66687113 at 10.1.17.71"
>>     Calling-Station-Id = "66687113 at 10.1.17.71"
>>     Called-Station-Id = "sip:66687114 at c.corp.esocc.com:5060"
>>     Sip-Translated-Request-URI = "sip:66687114 at 221.228.228.14:58709
>> ;rinstance=e3a8a78bae83cfb9"
>>     Source-IP = "221.228.228.14"
>>     Source-Port = "32670"
>>     SIP-Proxy-IP = "10.1.17.71"
>>     Canonical-URI = "sip:008666687114 at 221.228.228.14:58709
>> ;rinstance=e3a8a78bae83cfb9"
>>     User-Agent = "Voip Phone 1.0"
>>     Contact = "<sip:66687113 at 221.228.228.14:32670>"
>>     From-Header = "66687113 <sip:66687113 at c.corp.esocc.com:5060
>> >;tag=202199366"
>>     NAS-Port = 5060
>>     Acct-Delay-Time = 0
>>     NAS-IP-Address = 10.1.17.71
>> # Executing section preacct from file
>> /usr/local/freeradius/etc/raddb/radiusd.conf
>> +- entering group preacct {...}
>> ++[preprocess] returns ok
>> # Executing section accounting from file
>> /usr/local/freeradius/etc/raddb/radiusd.conf
>> +- entering group accounting {...}
>> [detail]     expand:
>> /usr/local/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
>> -> /usr/local/freeradius/var/log/radius/radacct/
>> 10.1.17.71/detail-20130703
>> [detail]
>> /usr/local/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
>> expands to /usr/local/freeradius/var/log/radius/radacct/
>> 10.1.17.71/detail-20130703
>> [detail]     expand: %t -> Wed Jul  3 08:55:14 2013
>> ++[detail] returns ok
>> [sql] Unsupported Acct-Status-Type = 15
>> ++[sql] returns noop
>> Sending Accounting-Response of id 165 to 10.1.17.71 port 47962
>> Finished request 1.
>> Cleaning up request 1 ID 165 with timestamp +9
>> Going to the next request
>> Waking up in 3.4 seconds.
>> Cleaning up request 0 ID 164 with timestamp +7
>> Ready to process requests.
>>
>>
>>       It seem Unsupported Acct-Status-Type = 15,and I check my dictionary
>>       VALUE Acct-Status-Type     Failed           15         # RFC2866,
>> acc
>>
>>
>>       I'm sure there's a configuration step I've missed. Could anyone
>> suggest some
>>       other things to check?
>>
>>
>>
>>
>> Thanks
>> vic.xiang
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
>
> --
> Kind regards,
> Laszlo Bekesi
> http://voipfreak.net
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130703/6be7bbdb/attachment.htm>


More information about the Users mailing list