KamoCRM

Delete the Telnyx code nothing calls

RefactorVOIPService
Shipped
6 செப்டம்பர், 2026 அன்று 10:40 PM UTC
Author
Kamo
Commit
9081380

Three methods I added that no caller reaches, removed while the reason is still fresh — this feature's worst bug was TelnyxProvider.provision() being defined and invoked by nothing, which is how "paste a key and press Save" created nothing at all while the card said otherwise. - TelnyxProvider.provision() itself. TelnyxSetupService took the job, because the ids Telnyx returns have to be written back into configJson and a provider is built FROM that config. Leaving a second, unreachable way to provision is how somebody wires the wrong one next time. - TelnyxProvisioner.body(), which was speculative from the start. - **************** and needsSetup(). The first had no caller; the second had only its own test, and the capability flags already say the same thing to the only audience that asks — production code kept alive by a test is still dead code. Checked the rest of the additions the same way. Everything else is referenced, apart from OrgPhoneNumberController, which Spring routes to rather than calls.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing