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: transcription channels stay up after calls #8392
On a NethVoice with call transcription enabled, some internal channels created for the transcription stay active for hours or days after the call has ended. They pile up until NethVoice is restarted.
Steps to reproduce
Enable call transcription on a NethVoice instance with a good number of calls per day
Wait for calls that end right after the answer, while the transcription is still being set up: it is not possible to trigger it on purpose on every call, on a busy system it happens a few times per day
Inside the freepbx container run asterisk -rx 'core show channels verbose'
Expected behavior
Only the channels of the calls in progress are listed. The channels used for the transcription are closed together with their call.
Actual behavior
The list shows UnicastRTP channels of the satellite application that are much older than any call in progress. Some are still inside a bridge, others are alone:
UnicastRTP/127.0.0.1:20997-0x7f1acc0aa7e0 default s 1 Up Stasis satellite 45:52:31 bridge-in-1795518762
UnicastRTP/127.0.0.1:20997-0x7f1b0c043cc0 default s 1 Up Stasis satellite 41:48:15
Each leftover channel inside a bridge keeps sending audio packets to the transcription service, so it uses some processor time for nothing, and the transcription service can attach those packets to a new call. The Satellite log also shows Error in WebSocket event loop followed by a reconnection to Asterisk.
Hanging up the leftover channels by hand removes them, but new ones appear in the following days.
Setup: a NethVoice instance with call transcription enabled, updated to the testing release below.
Test Case 1 - Leftover channels are removed at startup
Before the update, on an instance that shows the problem, run asterisk -rx 'core show channels verbose' inside the freepbx container and note the UnicastRTP channels of the satellite application older than the calls in progress
Update the instance
Run the command again: the old UnicastRTP channels are gone
Test Case 2 - No leftover channels after short calls
Make several calls and hang up right after the answer, while the transcription is still being set up
Wait a couple of minutes with no calls in progress
asterisk -rx 'core show channels verbose' shows no UnicastRTP, Snoop or satellite channels
asterisk -rx 'bridge show all' shows no bridge-in-* or bridge-out-* bridges
Test Case 3 - Transcription still works
Make a normal call with transcription enabled and talk for a while
The transcription of the call is produced as before
After the hangup, the channels and bridges of the call are closed
Activity
fix(satellite): hang up orphaned helper channels (#1342)
edospadoni commentedon Nov 27, 2026
Test
PR: nethesis/ns8-nethvoice#1342
Setup: a NethVoice instance with call transcription enabled, updated to the testing release below.
Test Case 1 - Leftover channels are removed at startup
asterisk -rx 'core show channels verbose'inside thefreepbxcontainer and note theUnicastRTPchannels of thesatelliteapplication older than the calls in progressUnicastRTPchannels are goneTest Case 2 - No leftover channels after short calls
asterisk -rx 'core show channels verbose'shows noUnicastRTP,Snooporsatellitechannelsasterisk -rx 'bridge show all'shows nobridge-in-*orbridge-out-*bridgesTest Case 3 - Transcription still works
Testing release: 1.8.7-testing.33 (nethesis/ns8-nethvoice#1342)
Update command (replace
nethvoiceXwith the NethVoice instance):edospadoni commentedon Nov 27, 2026
Release
nethesis/ns8-nethvoice1.8.7