Skip to content

[Changed] move Kamailio to 6.1 on Debian 13: the 5.6 bullseye image no longer builds - #136

Merged
nicotyze merged 1 commit into
Renater:mainfrom
Moustique82:pr/kamailio-6.1
Oct 8, 2026
Merged

nicotyze merged 1 commit into
Renater:mainfrom
Moustique82:pr/kamailio-6.1

Conversation

@Moustique82

Copy link
Copy Markdown
Contributor

Debian 11 left long-term support on 31 August 2026 and its security archive is being withdrawn: the apt-get install step fails with 404s, so the Kamailio image cannot be rebuilt anywhere.

Moving to kamailio:6.1.4-trixie took three changes beyond the base image:

  • Dockerfile: pip refuses system-wide installs since Debian 12, hence --break-system-packages; upgrading pip and setuptools over the distribution's own copies is dropped for the same reason.
  • kamailio.cfg: the dialog module no longer has dlg_flag. It was never set anyway: dialogs are tracked by dlg_manage(). app_python3 gets threads_mode 1: with the default mode, Python 3.13 aborts every worker at start-up (_PyThreadState_Attach: non-NULL old thread state).
  • request_gw.py: Kamailio 6 no longer ships the legacy Router module nor the old message object. Logging goes through KSR.err, and the request is read through $mt, $ru, $rm and $hdr(From), and rewritten through $ru. The routing logic is unchanged.

…o longer builds

Debian 11 left long-term support on 31 August 2026 and its security
archive is being withdrawn: the apt-get install step fails with 404s,
so the Kamailio image cannot be rebuilt anywhere.

Moving to kamailio:6.1.4-trixie took three changes beyond the base image:

- Dockerfile: pip refuses system-wide installs since Debian 12, hence
  --break-system-packages; upgrading pip and setuptools over the
  distribution's own copies is dropped for the same reason.
- kamailio.cfg: the dialog module no longer has dlg_flag. It was never
  set anyway: dialogs are tracked by dlg_manage(). app_python3 gets
  threads_mode 1: with the default mode, Python 3.13 aborts every worker
  at start-up (_PyThreadState_Attach: non-NULL old thread state).
- request_gw.py: Kamailio 6 no longer ships the legacy Router module nor
  the old message object. Logging goes through KSR.err, and the request
  is read through $mt, $ru, $rm and $hdr(From), and rewritten through
  $ru. The routing logic is unchanged.
@nicotyze
nicotyze merged commit c19d1ee into Renater:main Oct 8, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants