Hi Aleksandr,
Answers inline ...
On Thu, 2018-02-15 at 02:09 -0800, Александр Чудов wrote:
> Thank you DanB for your advice.
>
> Ok, "single account" is my solution.
>
> For standard msisdns we use next keys in redis cgrates:
> user = usr_tenant:34111111111
> account = acc_tenant:34111111111
> + "derived charges" and "rating profile" keys.
> (all keys contains MSISDN as account and subject!)
>
> Am I right understand, that for "single account" solution, I need
> create:
> 1) account = acc_tenant:single_account_name (use some name for
> account instead of MSISDN)
> 2) user = usr_tenant:34111111111, but inside user should be:
> tenant = tenant
> account = single_account_name
> subject = 34111111111
> requestType = xxxxx
> cli = 34111111111
Yes, this should do, although I would recommend you to start using
AttributeS instead of UserS since it is more flexible and we will
discontinue support for users.
> ?
>
> And what additionally I should create to get "single account"
> solution?
It depends on whether it will work for you but no, I think this should
be all.
DanB
>
> Best regards, Aleksandr.
>
> среда, 14 февраля 2018 г., 18:28:28 UTC+2 пользователь DanB написал:
> > Hi Aleksandr,
> >
> > In your case I would use Account in the events pointing the common
> > account. Subject can stay as msisdn.
> >
> > Shared balances (same as shared groups), are simple tags which you
> > add
> > to your balances, making them part of a shared group.
> >
> > By using a single account (not shared balances) you get
> > centralized
> > balance management as well as faster queries.
> >
> > DanB
>
> msgid/cgrates/6d2cbdf6-b924-4bab-aa60-eeca87b7894b%
40googlegroups.com