feat: Handle *6 DTMF command in SIP gateway#600
Merged
Conversation
When a SIP caller presses *6, jibri now detects it via a named FIFO (/tmp/jibri_pjsua_dtmf) written to by pjsua and acts in the Jitsi Meet conference: - Visitor mode: toggle raise hand - Currently unmuted: mute audio only - Currently muted, both audio+video blocked by AV moderation: raise hand - Currently muted, audio or video allowed: unmute whichever is permitted Also logs the full visited URL (including fragment params) on page load.
bgrozev
reviewed
Apr 26, 2026
bgrozev
reviewed
Apr 26, 2026
bgrozev
reviewed
Apr 26, 2026
bgrozev
reviewed
Apr 26, 2026
bgrozev
reviewed
Apr 26, 2026
muteVideo() returns a Promise, so the previous synchronous implementation could return before the toggle actually completed. Video unmuting also requires re-acquiring the camera device asynchronously. Added Redux store subscription with appropriate timeouts (5s muting, 12s unmuting) and explanatory comments to both toggleVideoMute and toggleAudioMute.
Replace the hardcoded /tmp/jibri_pjsua_dtmf constant with a config value at jibri.sip.dtmf-fifo-path, defaulting to the same path. Allows overriding in jibri.conf when the default tmp location is unsuitable.
Replace raw Thread construction with TaskPools.ioPool.submit, consistent with how other blocking IO tasks are dispatched throughout the codebase. The unblock task on stop is also submitted to the same pool.
…io toggle *6 now controls audio only; *7 controls video only. Each respects AV moderation force-mute by raising hand when the track cannot be unmuted.
bgrozev
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a SIP caller presses *6, jibri now detects it via a named FIFO (/tmp/jibri_pjsua_dtmf) written to by pjsua and acts in the Jitsi Meet conference:
Also logs the full visited URL (including fragment params) on page load.