Skip to content

rate_cacher: Support multiple ratesheets per carrier#3797

Merged
bogdan-iancu merged 2 commits intoOpenSIPS:masterfrom
osgjps:newratecache
Jan 27, 2026
Merged

rate_cacher: Support multiple ratesheets per carrier#3797
bogdan-iancu merged 2 commits intoOpenSIPS:masterfrom
osgjps:newratecache

Conversation

@osgjps
Copy link
Contributor

@osgjps osgjps commented Jan 14, 2026

Summary

Adds the ability to add multiple ratesheets to carriers while maintaining backward compatibility

Details

Solution

This changes the single ptree element in each of the carrier structs to an array of ptrees that are chosen by "slot number".

Compatibility

Closing issues

closes #3787

@vladpaiu vladpaiu changed the title Newratecache Support multiple ratesheets per carrier in rate_cacher Jan 14, 2026
@vladpaiu vladpaiu self-assigned this Jan 15, 2026
@vladpaiu vladpaiu added this to the 4.0.0 milestone Jan 15, 2026
@vladpaiu vladpaiu changed the title Support multiple ratesheets per carrier in rate_cacher rate_cacher: Support multiple ratesheets per carrier Jan 15, 2026
@bogdan-iancu bogdan-iancu merged commit d48e69c into OpenSIPS:master Jan 27, 2026
@bogdan-iancu
Copy link
Member

@vladpaiu will follow up here with some more commits to address some of the issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Multiple ratesheets per carrier in rate cacher

3 participants