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
{{ message }}
Repository navigation
NethVoice Proxy: Upgrade the SIP proxy to Kamailio 6.0 #8206
The NethVoice proxy currently uses Kamailio 5.8. Upgrade it to Kamailio 6.0 so new and existing installations can run the newer version.
The upgrade must update the database schema required by Kamailio 6.0 without losing existing data. It should be safe to run the migration more than once and preserve the documented ability to downgrade to Kamailio 5.8.
Acceptance criteria:
A fresh installation starts Kamailio 6.0.
An existing installation upgrades successfully and retains its data.
Running the schema migration again succeeds.
The upgrade and downgrade expectations are documented.
Build to test: ghcr.io/nethesis/nethvoice-proxy:pr-192.212-1.546479f (nethesis/ns8-nethvoice-proxy#192 rebased on main, commit bb7939f).
The results below were obtained on an NS8 test cluster with real phones, using the earlier build pr-192.171-1.3631039. The rebase did not change the PR diff.
Acceptance criteria
A fresh installation starts Kamailio 6.0: not tested on the cluster. The CI image builds and starts, and the upgraded instance below runs 6.0.8.
An existing installation upgrades successfully and retains its data:
An instance running Kamailio 5.8.8 was updated.
Kamailio reports 6.0.8 and the containers are healthy.
The htable key and value columns are widened from 64/128 to 256/512 characters, and the existing rows are preserved.
Phones register over TLS, and TLS 1.3 works on port 5061.
Running the schema migration again succeeds: running update-module.d/30migrate_kamailio_60_schema again changes nothing and exits successfully.
The upgrade and downgrade expectations are documented: the README now has a "Kamailio 6.0 upgrade" section, added in commit bb7939f. It covers the schema change, the repeated migration and the downgrade.
Downgrade: a forced update-module back to a 5.8 image works. The widened columns are accepted by Kamailio 5.8, so the schema does not need to be reverted. The htable contents are in memory only and are rebuilt at startup.
api-cli run update-module --data '{"module_url":"ghcr.io/nethesis/nethvoice-proxy:pr-192.239-1.c350737","instances":["nethvoice-proxy1"],"force":true}'
Replace nethvoice-proxy1 with your instance name. The acceptance criteria in the previous comment still apply.
Activity
edospadoni commentedon Oct 26, 2026
QA results
Build to test:
ghcr.io/nethesis/nethvoice-proxy:pr-192.212-1.546479f(nethesis/ns8-nethvoice-proxy#192 rebased onmain, commit bb7939f).The results below were obtained on an NS8 test cluster with real phones, using the earlier build
pr-192.171-1.3631039. The rebase did not change the PR diff.Acceptance criteria
htablekey and value columns are widened from 64/128 to 256/512 characters, and the existing rows are preserved.update-module.d/30migrate_kamailio_60_schemaagain changes nothing and exits successfully.Downgrade: a forced
update-moduleback to a 5.8 image works. The widened columns are accepted by Kamailio 5.8, so the schema does not need to be reverted. Thehtablecontents are in memory only and are rebuilt at startup.Compatibility with
main: the branch is rebased onmain, which now includes nethesis/ns8-nethvoice-proxy#222, nethesis/ns8-nethvoice-proxy#229 and nethesis/ns8-nethvoice-proxy#235. The resulting Kamailio configuration passes the configuration check (kamailio -c) on 6.0.8. Between 5.8.8 and 6.0.8, thehtablechange is the only database schema change upstream.The branch has been rebased on
main. It needs a review before it can be merged.edospadoni commentedon Nov 10, 2026
Updated testing build
nethesis/ns8-nethvoice-proxy#192 is updated with the latest
main. Use this build instead ofpr-192.212-1.546479f:ghcr.io/nethesis/nethvoice-proxy:pr-192.239-1.c350737api-cli run update-module --data '{"module_url":"ghcr.io/nethesis/nethvoice-proxy:pr-192.239-1.c350737","instances":["nethvoice-proxy1"],"force":true}'Replace
nethvoice-proxy1with your instance name. The acceptance criteria in the previous comment still apply.