Delete the Telnyx code nothing calls

RefactorVOIPService
Shipped
September 6, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing