jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 21 forks source link

Outbound Call Routing: saving a set of patterns sends too many requests #347

Closed Stratoscop closed 10 months ago

Stratoscop commented 11 months ago

Preconditions: 1) Created Carrier

Steps To Reproduce: 1) Go to Outbound Call Routing page 2) Create a Rule and add 10 patterns to it 3) Click Save button

Actual result: The API sends 31 requests for just clicking this one Save button. This may lead to rate limits problem. when editing a rule, on some systems if Jambonz is used outside of its cloud. Screenshot

Expected result: Minimized amount of requests, i.e. by combining LcrCarrierSetEntries requests into one, consisting of array of entries objects