I'm sorry, this is my acc config:
#### ACCounting module
loadmodule "acc.so"
modparam("acc", "early_media", 0)
modparam("acc", "report_cancels", 0)
modparam("acc", "detect_direction", 0)
modparam("acc", "aaa_url", "radius:/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "aaa_flag", "ACC_DO")
modparam("acc", "aaa_missed_flag", "ACC_MISSED")
modparam("acc", "failed_transaction_flag", "ACC_FAILED")
Yes, i'd enabled the aaa_radius thinking that would be the problem but after
correcting the dictionary i've removed it.
________________________________
Da: Leonardo Uzcudun <[email protected]>
A: Dani Popa <[email protected]>; OpenSIPS users mailling list
<[email protected]>
Inviato: Mercoledì 10 Aprile 2013 10:22
Oggetto: Re: [OpenSIPS-Users] Opensips 1.9 - Radius accounting
Thanks Dani.
I could sort it out that problem. Grepping radius in the logs had hidden an
important error in the dictionary file.
Now I'm facing other issues like i don't receive the Sip-Application-Type and
other expected parameters in the Acct-request-Start
rad_recv: Accounting-Request packet from host 127.0.0.1 port 53155, id=37,
length=103
Acct-Status-Type = Start
Service-Type = Sip-Session
Sip-Response-Code = 200
Sip-Method = Invite
Attr-55 = 0x51651fd6
Sip-From-Tag = "1598605359"
Sip-To-Tag =
"443272863"
Acct-Session-Id = "1636660389"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 127.0.0.1
________________________________
Da: Dani Popa <[email protected]>
A: Leonardo Uzcudun <[email protected]>; OpenSIPS users mailling list
<[email protected]>
Inviato: Mercoledì 10 Aprile 2013 7:42
Oggetto: Re: [OpenSIPS-Users] Opensips 1.9 - Radius accounting
can you post your config ? There are 2 different things, aaa_radius and acc
with aaa_url defined. With acc you just set account flag for acc event, but
using aaa_radius you should use radius_send_acct.
Dani
On Wed, Apr 10, 2013 at 12:31 AM, Leonardo Uzcudun <[email protected]> wrote:
Hello:
>
>Activating opensips debug and grepping for radius i could find the following
>messages:
>
>Apr 9 23:10:52 sip-dev /usr/sbin/opensips[20471]:
>ERROR:aaa_radius:rad_avp_add: failure
>Apr 9 23:10:52 sip-dev /usr/sbin/opensips[20471]: ERROR:acc:acc_dlg_callback:
>Cannot create radius accounting
>Apr 9 23:10:52 sip-dev /usr/sbin/opensips[20472]:
>ERROR:aaa_radius:rad_avp_add: failure
>
>Some topics in the forum mention to check that the dictionary.opensips is
>included in radiusclient-ng dictionary, and it is.
>
>Any help on this?
>Opensips 1.9
>Server OS Debian Squeeze
>Freeradius:2.1.10
>Radiusclient-ng: 0.5.6
>
>
>
>Thanks.
>
>
>
>
>________________________________
> Da: leo <[email protected]>
>A: [email protected]
>Inviato: Martedì 9 Aprile 2013 10:59
>Oggetto: [OpenSIPS-Users] Opensips 1.9 - Radius accounting
>
>
>Hello.
>
>Were anyone able to setup opensips 1.9 with radius accounting?
>Unfortunately the tutorial is based on an old version of Opensips were the
>ACC module was different.
>Of course i can have accounting in the opensips database (acc table) but
>tcpdump-ing on radius ports i don't see any
traffic (if i try with the
>radtest it works and i can see the traffic with tcpdump).
>Thanks,
>
>Leo.
>
>
>
>--
>View this message in context:
>http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-1-9-Radius-accounting-tp7585735.html
>Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>_______________________________________________
>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
>
>
--
Dani Popa
_______________________________________________
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