RADIUS Agents Inquiry

10 views
Skip to first unread message

Justin Mark Repollo

unread,
Nov 9, 2025, 2:20:29 PM (2 days ago) Nov 9
to cgr...@googlegroups.com

Hi CGRateS Community,

I’m currently setting up CGRateS with RADIUS agents integrated to a MikroTik router. I’ve been using some of the sample templates from GitHub as reference.

My setup runs in Docker containers — one for the CGRateS engine, one for PostgreSQL, and one for Redis. I’m also using the Omnitouch CGRateS UI to easily issue API commands and manage configurations.

So far, I’ve successfully configured and verified my Destinations, Destination Rates, Rates, Rating Plans, and Rating Profiles in the PostgreSQL database.

However, during testing, I encountered the following error:

[ERROR] Destination *any not authorized for account: cgrates.org:testuser, subject: *out:cgrates.org:data:testuser 2025/11/07 11:31:10 CGRateS <node1> [ERROR] <Rater> Error getting cost for account key <cgrates.org:testuser>: UNAUTHORIZED_DESTINATION 2025/11/07 11:31:10 CGRateS <node1> [WARNING] <SessionS> could not complete debit operation on session: <9331c9bcc07d2f86c9171eb270e1cceb61c2cadf>, error: <UNAUTHORIZED_DESTINATION>

It seems the rating engine cannot authorize the destination for this account.
I’ve attached my cgrates.json configuration and engine logs for reference.

Any guidance on what might be missing or misconfigured would be greatly appreciated.

Thank you!
Justin

cgr-engine_logs.txt
cgrates_radius.json

Armir Veliaj

unread,
Nov 10, 2025, 10:22:07 AM (yesterday) Nov 10
to CGRateS
Hi Justin,

Based on the error you're receiving in the logs, it seems like there may be a misconfiguration with the Destinations. The *any value should not be placed in the Destinations, but in the DestinationRates configuration.

To have your full scenario and verify it, you can send us all your csv files, including the Destinations and DestinationRates.

Thanks,
Armir
Reply all
Reply to author
Forward
0 new messages