You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start or restore a NethVoice database with an extension that still uses the legacy chan_sip driver (devices.tech = 'sip').
Start NethVoice 1.8.4 with Asterisk 22.10.0. The observed database had one legacy extension and zero legacy SIP trunks.
Expected behavior
Startup attempts legacy extension conversion using FreePBX’s built-in command alongside legacy trunk conversion, before user synchronization and reload. Converted trunks stay disabled for review. Startup continues to the normal reload if the conversion command fails. Starting again skips completed conversions.
Actual behavior
FreePBX Core rejects the startup reload while the legacy extension remains. FreePBX never reports ready, and systemd recreates its container every 24–25 seconds. Running fwconsole convert2pjsip --range <extension-id> manually changed the extension to PJSIP. Asterisk then loaded the endpoint and FreePBX stayed active with a stable restart count. The endpoint had zero registered contacts when checked.
nethesis/ns8-nethvoice#1271 converts the remaining legacy chan_sip extensions at FreePBX startup. It runs fwconsole convert2pjsip --range <ids> after the legacy trunk conversion, before user synchronization and reload.
Test Case 1 - Legacy extension blocks startup
On a NethVoice instance, turn one extension into a legacy chan_sip device (devices.tech = 'sip') and confirm fwconsole reload fails with "Chan_sip module deprecated"
Update the instance to the testing release below
FreePBX becomes ready and the freepbx unit restart count stays stable past the former 25 s restart interval
The extension is now PJSIP and pjsip show endpoint <ext> shows it loaded
Secret, context, codecs, user association and the provisioned phone are unchanged, and the phone registers again
Test Case 2 - Extension with a restrictive ACL
Repeat Test Case 1 with an extension that has a restrictive permit
The extension is converted and the reload succeeds. The permit/deny ACL is dropped, because PJSIP extensions have no equivalent setting
Test Case 3 - Extensions and trunks together
Start with legacy SIP extensions and legacy SIP trunks
Both are converted, the converted trunks stay disabled for review, and FreePBX stays ready
Test Case 4 - No regression without legacy devices
Update an instance with no legacy SIP devices: startup and reload are unchanged
Restart FreePBX again after a migration: nothing is converted a second time
Activity
fix(freepbx): migrate legacy SIP extensions
fix(freepbx): migrate legacy SIP extensions
edospadoni commentedon Nov 20, 2026
Test
nethesis/ns8-nethvoice#1271 converts the remaining legacy chan_sip extensions at FreePBX startup. It runs
fwconsole convert2pjsip --range <ids>after the legacy trunk conversion, before user synchronization and reload.Test Case 1 - Legacy extension blocks startup
devices.tech = 'sip') and confirmfwconsole reloadfails with "Chan_sip module deprecated"freepbxunit restart count stays stable past the former 25 s restart intervalpjsip show endpoint <ext>shows it loadedTest Case 2 - Extension with a restrictive ACL
permitpermit/denyACL is dropped, because PJSIP extensions have no equivalent settingTest Case 3 - Extensions and trunks together
Test Case 4 - No regression without legacy devices
Testing release: 1.8.5-testing.57 (nethesis/ns8-nethvoice#1271)
Update command (replace
nethvoiceXwith the NethVoice instance):edospadoni commentedon Nov 23, 2026
Release
nethesis/ns8-nethvoice1.8.5