Authorization by CallerId

36 views
Skip to first unread message

Вадим Гайсин

unread,
Nov 11, 2025, 5:57:49 AMNov 11
to CGRateS
I'm new to cgrates. Could you please tell me if I can implement this scenario?
I have one account (like 100001), but authorization events are coming from the caller_id associated with it.

Armir Veliaj

unread,
Nov 11, 2025, 10:11:50 AMNov 11
to CGRateS
Hi,

Welcome to CGRateS,

Regarding your scenario, it can be achievable through two approaches:

1) Either you change it in the configuration in your switch that you are using (FreeSWITCH, Kamailio, OpenSIPS, etc.)
2) The other way through AttributeS subsystem in CGRateS. Here you can find the docs for AttributeS: https://cgrates.readthedocs.io/en/latest/attributes.html#id2

Feel free to reach us for any other question you may have,

Thanks,
Armir

Вадим Гайсин

unread,
Nov 12, 2025, 6:52:35 AMNov 12
to CGRateS
Thanks! I will check AttributeS.
I have several services, essentially a zoo of kamailio/opensips, freeswitch and asterisk. Cgrates seemed like a good solution for me to store numbers. But not every service can provide me with an ID (from user), but I always have a caller_id_number from my pool, which is linked to its tenant.
The idea is that call services could create their own user in cgrates and the numbers associated with them with API (I think it will be a wrapper over cgrates), before user can be call.
вторник, 11 ноября 2025 г. в 18:11:50 UTC+3, armir....@itsyscom.com:
Reply all
Reply to author
Forward
0 new messages