Repository navigation
·
42 commits
to main
since this release
Commit ae0cbce02050, 2026-11-23.
| App | Version |
|---|---|
| chappe_audio | 0.1.0 (first release) |
| chappe_cluster | 0.1.0 (first release) |
| chappe_esl | 0.2.0 (was 0.1.0) |
| chappe_mix | 0.1.0 (first release) |
| chappe_mrf | 0.1.0 (first release) |
| chappe_rtpengine | 0.2.0 (was 0.1.0) |
| chappe_sip | 0.3.0 (was 0.2.0) |
chappe_audio 0.1.0
New
- Needs Erlang/OTP 29.1.2 or later: earlier OTP 29 releases let a TLS 1.3
server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - A new app. It receives the audio FreeSWITCH forks over WebSocket (from
mod_audio_fork or mod_audio_stream), checks the path and a token, and
hands each stream to your process. A listener can sit under your own
supervisor. - A recording store: WAV files with JSON metadata by default, or your own
store. Recordings in progress are hidden, a call's recordings are found by
its reference from any node, and old ones are swept, on one node for a
shared store. - The RTP and SRTP receiver used by the SIPREC recording server. It follows
a sender that moves mid-stream and can take part in RTCP (off by
default), with its departures from RFC 3550 listed in the compliance
matrix. A packet that arrives late, after its sender said goodbye, is
counted against that sender instead of restarting its statistics, while
a sender that keeps sending new audio is heard again at once.
chappe_cluster 0.1.0
New
- Needs Erlang/OTP 29.1.2 or later: earlier OTP 29 releases let a TLS 1.3
server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - A new app that lets chappe nodes agree on one owner for anything that
must not run twice (a room, a registration, a trunk pinger), share a small
key-value store, and run a job on exactly one node. With most nodes
unreachable nothing new is claimed, calls already up are never touched,
and node clocks need not agree.
chappe_esl 0.2.0
Before you upgrade
- Use Erlang/OTP 29.1.2 or later.
- Give the outbound listener its address and allowed networks
when FreeSWITCH runs on another host, and stop calling
chappe_esl_outbound_sup:start_conn/2.
Breaking
- Erlang/OTP 29.1.2 or later is required: earlier OTP 29 releases let a
TLS 1.3 server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - The outbound listener listens on 127.0.0.1 only unless you give it an
address; before, anyone who connected got a call. Give it the networks
FreeSWITCH connects from when it runs on another host. - Removed:
chappe_esl_outbound_sup:start_conn/2.
New
- Call control: drive a FreeSWITCH call step by step, each command waiting
for completion, with prompts, digits, recording, audio streams to a
WebSocket, timeouts, and hang-up when the owner dies. Your call process
also hearslingeranddisconnectas the channel winds down. A slow
command does not hold up timeouts or other callers; use bgapi if you need
FreeSWITCH events meanwhile. - Audio forks through mod_audio_fork or mod_audio_stream (v1.1.0 or
newer). A stereo mod_audio_stream fork sends nothing unless both
directions carry audio; fork in mono or mixed if that matters. - A node registry: several FreeSWITCH nodes kept connected and health
checked, picked by sessions, idle CPU or weight, drained on demand, with
up and down notices. - The outbound listener takes an IPv4 or IPv6 address, a backlog and an
allow list, and closes peers that send nothing in time or pile up. - Commands for one channel's events, dropping subscriptions, and sending a
message or event with a body. - Call control carries the call's reference in its events.
Fixed
- The outbound listener ignored the backlog you passed.
- A command on a closed or refused connection crashed the caller.
chappe_mix 0.1.0
New
- Needs Erlang/OTP 29.1.2 or later: earlier OTP 29 releases let a TLS 1.3
server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - A new app: a G.711 RTP conference mixer in your node, one process per
room, each party hearing everyone but itself, with gain control, RFC 4733
digits, talker events and leg roles. rtpengine in front handles SRTP and
transcoding. - A room owned by a conference process outlives its first caller, and
parties can be moved between rooms safely. - A tap hands the decoded audio of a party or the room to a process.
- Legs carry the call's reference in their events.
- A late packet from a party that has just said goodbye is not mixed back
in, while a party that goes on sending, as some phones do on hold and
unhold, is heard again at once.
chappe_mrf 0.1.0
New
- Needs Erlang/OTP 29.1.2 or later: earlier OTP 29 releases let a TLS 1.3
server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - A new app, a media resource function in the drachtio-fsmrf style: answer
a caller with a FreeSWITCH endpoint you drive from Erlang, move it to a
phone or another endpoint unnoticed, and put it in a conference on
chappe_mix or FreeSWITCH, with mute, kick, lock, PIN and talker events.
The channel hangs up when its owner dies. Its event socket listener
listens on 127.0.0.1 unless you set an address and the networks
FreeSWITCH connects from. - Endpoints: playback results (duration, how it ended, missing files as
errors), offsets and time limits, digit terminators and invalid digits,
mute, variables, asynchronous applications, events to the owner, mod_say,
text to speech, and tone and fax detection. - Forks can be named, stereo, paused, resumed and sent text.
- Conferences: record a native room through SIPREC or a FreeSWITCH room
into the store, set member limits and flags, move members between rooms,
join a caller not yet answered, and add, remove or transfer members by
REFER on both backends. Backends are a documented behaviour you can add
to. - Rooms across nodes with chappe_cluster: one room per name, moved to a live
node when its node stops cleanly. After a crash, callers keep their calls
but lose the room audio until the next caller reopens it. FreeSWITCH rooms
do not move. - Endpoints and rooms carry the call's reference in their events.
chappe_rtpengine 0.2.0
Before you upgrade
- Use Erlang/OTP 29.1.2 or later.
- Call the session media commands on
chappe_rtpengine_cmdinstead ofchappe_rtpengine_session.
Breaking
- Erlang/OTP 29.1.2 or later is required: earlier OTP 29 releases let a
TLS 1.3 server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - The session media commands moved from
chappe_rtpengine_sessionto
chappe_rtpengine_cmd, with the same names and arguments.
New
- List a node's calls, read its statistics, and start and stop forwarding.
publishon sessions and nodes anchors a call with no second leg.chappe_rtpengine_sdp:streams/1andfork_answer/2,3answer a
subscription with one chosen stream.- Sessions carry the call's reference in their events.
Fixed
- Security: only a UDP reply from the node asked is accepted, and request
cookies are unguessable. - Re-adding a node left extra health checks that could mark it down.
- Over TCP, a reply arriving in many small pieces used CPU out of
proportion to its size and could stall other requests. - On erlang_ws 0.5.0, a reply sent with the WebSocket upgrade is no longer
lost.
chappe_sip 0.3.0
Before you upgrade
- Use Erlang/OTP 29.1.2 or later.
- Replace the removed functions listed under Breaking, and call
chappe_sip_flow:ensure_secret/0instead of
chappe_sip_route:ensure_secret/0. - Drop
ws,wssand*from native and TLS contacts, fix
invalid start options, and keep the message size limit between 1 KiB and
64 MiB, or the start fails. - Reload the SIP engine library with
chappe_sip_nif:replace/0
while the stack is stopped. - Build the registrar with
chappe_sip:registrar/1, and give it
author setallow_unauthenticated => true, or it fails to start. - Remove
freeswitchfrom thechappe_sip_mediaconfiguration;
run conferences on chappe_mix and drive FreeSWITCH through chappe_mrf.
Breaking
- Erlang/OTP 29.1.2 or later is required: earlier OTP 29 releases let a
TLS 1.3 server be impersonated (CVE-2026-89422) or a resumed session skip
authentication (CVE-2026-105236). - Removed:
chappe_sip:registrar/0,chappe_sip:bye/1andupdate/1,
chappe_sip_engine:unhandle/1,respond/3andunreg_handle/1,
chappe_sip_msg:new_response/3,chappe_sip_req:can_form_dialog/1and
chappe_sip_res:final_ref/1. - Moved:
chappe_sip_route:ensure_secret/0is now
chappe_sip_flow:ensure_secret/0. - sofia's own WebSocket transport is never opened: a native or TLS contact
namingws,wssor*fails the start, and a TLS contact naming no
transport binds TLS only. Thewsandwssoptions serve WebSocket. - An invalid start option fails the start instead of being ignored, and
the message size limit must be between 1 KiB and 64 MiB. - An in-place upgrade of the SIP engine library is refused, as it could
leave the stack unable to start or unload the library under a live call.
Usechappe_sip_nif:replace/0with the stack stopped. - A registrar with no
authfails to start unless you set
allow_unauthenticated => true. Before, it accepted unauthenticated
REGISTER requests by default. - The FreeSWITCH media backend of
chappe_sip_mediais removed
(chappe_sip_media_freeswitch,chappe_sip_media_esl_mgr), and a media
configuration namingfreeswitchreturns an error. Conferences run on
chappe_mix; FreeSWITCH is driven through chappe_mrf.
New
- Several nodes, with chappe_cluster in the release as
{chappe_cluster, load}: the registrar runs on every node, a device can
be called from any node, concurrent registrations are never lost, and
with most nodes unreachable a registration is refused with a retry delay
while calls go on. A TCP, TLS or WebSocket device whose node stops is
unreachable until it registers again. A trunk can be pinged from one node
for all, and message-waiting updates reach subscribers on every node. - Call correlation: one reference per call, on every leg, call record and
Homer capture. You can pass your own and find a call's processes from any
node. - SIPREC: record a call or a native room to a recording server, with pause,
resume and party changes, or act as a recording server that hands each
stream and its metadata to your app and writes it to the recording store.
The recording server takes its audio through chappe_audio, which must run
on the node, and refuses an offer with no stream it can take with 488. - The SIPREC recording server takes SRTP (keys over TLS or WSS only, unless
you mark the network trusted), answers re-offers as RFC 3264 asks
(pause, added and removed streams, UPDATE offers, moves and codec
changes), sends and reads RTCP as RFC 7866 asks (a stream without shared
RTCP takes two ports), and can bind its ports within a range for
containers. - B2BUA forking and hunting: ring all of a user's devices at once, each with
its own flow, headers and rtpengine flags, learn which one answered, or
take over every failure and try the next target unseen by the caller.
Registrar bindings say which flow reaches each device. - B2BUA leg control: hear the outgoing INVITE, provisional answers and early
dialogs and cancel while ringing, add headers to the caller's answer,
follow redirects, compute offer, credentials and answer from a function,
end a call with a reason, and receive or forward REFER, INFO (DTMF) and
MESSAGE. - B2BUA moves: move an anchored call to another callee or a media server
without the caller noticing, across networks, to several destinations at
once (first answer wins, the caller stays if none does), choosing who the
new callee sees as calling. - B2BUA caller identity: the identity you set for the outgoing leg is
checked, so untrusted text cannot add SIP headers; a bad value is never
sent and you get an error. - B2BUA transfers: blind or attended, on either leg, FreeSWITCH-bridged
calls included, through your policy or your app. Without a policy, a
transfer to another network is refused and transfers per call are
bounded. A REFER to a conference focus adds or removes a participant. - B2BUA media: one option anchors a whole call in rtpengine, a helper picks
direct or anchored per call, and a live call can switch. An SRTP caller
stays encrypted unless your app chooses otherwise. The SDP hook
tells offers from answers. INVITE and re-INVITE without an offer work end
to end, UPDATE crosses while ringing, and hold and unhold reach your app. - B2BUA: a call can run in its own process; a background call runs
supervised and hangs up when its named owner dies. - Dialogs report hold, unhold, session refreshes and in-dialog PUBLISH, and
their state changes can be followed. Middleware can hand data to the
request handler. - A registration client that keeps a registration to a carrier alive.
- Presence and message-waiting: PUBLISH is taken only from authenticated
users for their own address, unless your app decides otherwise or you
allow unauthenticated PUBLISH, and stored publications are capped. - Peers watched with OPTIONS and picked by priority, turn or weight; a call
to a group fails over on 408, 503 or a transport error. The registrar can
keep UDP contacts open with OPTIONS. - A guard against scanners, unwanted networks and floods, with rules on any
header and per transport; a dropped source costs no memory. - The proxy follows redirects within limits and can drop a silent branch
early. - Prometheus metrics for requests, responses, dialogs, registrations and
peers, optionally on their own port. - 1:1 NAT: a listen address can advertise a public address and show the
local one to the networks you list. - Start options for SIP timers, an outbound proxy or preloaded route, TCP
keep-alives, the size past which a request goes over TCP, and node
aliases. - Registrations record their transport, and requests, call records and
registrations over WebSocket say WS or WSS. chappe_sip_media:publish/2,3anchors a call with no second leg,
chappe_sip_media:subscribe/2reports the tapped streams, and
chappe_sip:create_uac/2takes a body that is not SDP.
Fixed
- Security: bundled sofia-sip 1.13.19 fixes a DNS answer that froze
outbound routing (CVE-2026-116792), memory corruption in sofia's
WebSocket transport (CVE-2026-116791) and a multipart over-read
(CVE-2026-110658). Its unused WebSocket and HTTP code is no longer built. - Security: livery 0.14 and instrument 2.0 bring a hackney without its five
published flaws and an ssl_verify_fun that matches wildcards correctly. - Security: digest authentication refuses a request whose Request-URI was
changed after signing; before, only user, host and port were compared. - The SIP engine refuses NUL bytes in headers, bodies, routes and options
instead of cutting them short, refuses a message it cannot allocate
instead of sending it incomplete, and no longer crashes the node on a
refused start. Three sofia-sip parser bugs are patched at build time. - Over UDP the first retransmission ignored T1 and came after a second.
- With a separate TLS contact, the ACK of a failed re-INVITE and a CANCEL
could be lost; they now leave from the address the request used. - A proxy listening on two transports record-routed only one side.
- A proxy kept every late answer, so a peer could grow its memory.
- A UA with a private Contact address is now reached where its requests
come from. - Cancelling a request after the stack stopped crashed it, and hold missed
media lines in an SDP with mixed line endings. - A request handler that ended normally after answering was logged as a
crash.