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