[SR-Users] Multiple CDR rate groups using Siremis sql procedures

Sergiu Pojoga pojogas at gmail.com
Fri Jun 1 16:38:52 CEST 2018


The SQL procedure takes a param, rgroup, which is default (by default).
That works fine.

In a real case scenario, having multiple rate groups, I wonder what's the
best approach to rate CDRs based on the rate group a client belongs to?

Do you store the rate_group in the ACC table and then adjust
'kamailio_cdrs' and 'kamailio_rating' procedures to take into account the
rate_group of a CDR? If so, does anybody have a working example?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180601/62d5f569/attachment.html>

More information about the sr-users mailing list