Ciao Davide,
l'Acct-Statys-Type è definito in più dictionary del Radius ma non può avere il 
valore zero.
Prova a vedere un grep "Acct-Statys-Type" nella directory dei dictionary radius 
e vedi i valori che può avere.
Bisogna capire da dove arriva il valore zero.
Non so aiutarti di più.
Ciao,
Marcello


On Dec 3, 2012, at 10:45 AM, Davide Dal Frà wrote:

> Hi ,
> 
> I'have a working Opensips (1.8.0) with accounting directly on Mysql database 
> using acc module.
> 
> Now i'm migrating accounting to Radius , using always acc module configured 
> for radius.
> I use flag to do accounting, and my configuration is the follow:
> 
> 
>     loadmodule "acc.so"
> 
>     modparam("acc" , "detect_direction", 0)
>     modparam("acc" , "failed_transaction_flag", 3)
>     modparam("acc" , "report_cancels" , 1)
>     modparam("acc" , "early_media", 0)
> 
>     modparam("acc" , "log_level" ,  1)
>     modparam("acc" , "log_flag" , 1)
>     modparam("acc" , "log_missed_flag" , 2)
> 
>     modparam("acc" , "aaa_url" , "radius:/etc/opensips/radius/client.conf" )
>     modparam("acc" , "aaa_flag" , 1)
>     modparam("acc" , "aaa_missed_flag", 2)
> 
> 
>     ### radius aaa module
>     loadmodule "aaa_radius.so"
>     modparam("aaa_radius" , "radius_config" , 
> "/etc/opensips/radius/client.conf")
> 
> 
> i've removed the aaa_extra for debugging.
> 
> FreeRadius is listening on another machine, but when i make a call no radius 
> packet are sent and i can see this error in logs:
> 
> Dec  3 10:08:51 sip-ngn /sbin/opensips[5498]: appended nat flag value yes
> Dec  3 10:08:51 sip-ngn /sbin/opensips[5476]: rc_avpair_new: unknown 
> attribute 0
> Dec  3 10:08:51 sip-ngn /sbin/opensips[5476]: ERROR:aaa_radius:rad_avp_add: 
> failure
> Dec  3 10:08:51 sip-ngn /sbin/opensips[5476]: ERROR:acc:acc_aaa_request: 
> failed to add Acct-Status-Type, 0
> 
> Acc-Status-Type is defined in dictionary, but not with value "0".
> 
> 
> Any kind of help is appreciated
> 
> 
> Thanks in advance
> 
> 
> Davide
> 
> _______________________________________________
> 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