Hello,

The missing value should be provided by the dictionary.sip file (that
comes with radius client library) - be sure you are using that
dictionary on the server side too.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 07/04/2013 03:44 AM, ????se?? wrote:
> there is no errors
>
> from log I can see only like:
>
> [sql] Unsupported Acct-Status-Type = 15
> ++[sql] returns noop
>
> ------------------ ???????? ------------------
> *??????:* "Laszlo"<[email protected]>;
> *????????:* 2013??7??3??(??????) ????6:16
> *??????:* "OpenSIPS users mailling list"<[email protected]>;
> *????:* Re: [OpenSIPS-Users]?????? freeradiusd-2.2.0 Unsupported
> Acct-Status-Type= 15
>
> What errors did you get?
>
> 2013.07.03. 11:07, "????se??" <[email protected]
> <mailto:[email protected]>> 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"<[email protected]
>     <mailto:[email protected]>>;
>     *????????:* 2013??7??3??(??????) ????3:30
>     *??????:* "OpenSIPS users mailling list"<[email protected]
>     <mailto:[email protected]>>;
>     *????:* 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?? <[email protected] <mailto:[email protected]>>
>
>         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 =
>         "[email protected]
>         <mailto:[email protected]>"
>             User-Name = "[email protected] <mailto:[email protected]>"
>             Billing-Party = "[email protected]
>         <mailto:[email protected]>"
>             Calling-Station-Id = "[email protected]
>         <mailto:[email protected]>"
>             Called-Station-Id = "sip:[email protected]:5060
>         <http://sip:[email protected]:5060>"
>             Sip-Translated-Request-URI =
>         "sip:[email protected]:58709;rinstance=e3a8a78bae83cfb9"
>             Source-IP = "221.228.228.14"
>             Source-Port = "32670"
>             SIP-Proxy-IP = "10.1.17.71"
>             Canonical-URI =
>         "sip:[email protected]:58709;rinstance=e3a8a78bae83cfb9"
>             User-Agent = "Voip Phone 1.0"
>             Contact = "<sip:[email protected]:32670
>         <http://sip:[email protected]:32670>>"
>             From-Header = "66687113
>         <sip:[email protected]:5060
>         <http://sip:[email protected]: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
>         <http://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
>         <http://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
>         [email protected] <mailto:[email protected]>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>     -- 
>
>     --
>     Kind regards,
>     Laszlo Bekesi
>     http://voipfreak.net
>
>     _______________________________________________
>     Users mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to