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: TOPOS and SRTP options missing from trunks #8311
Open Connectivity → Trunks and add or edit a PJSIP trunk.
Open PJSIP Settings → Advanced and find the Outbound Proxy field.
Expected behavior
The page provides the Disable TOPOS proxy header and Disable SRTP proxy header options, as in NethVoice 1.7.14. They allow configuring the topos=0 and isTrunk=1 headers for the trunk.
Actual behavior
The options are missing even though their rendering, storage and dialplan code remain present.
The current NethCTI GUI hook inserts the fields through an output-buffer callback. For normal and popover responses, FreePBX config.php first copies the unmodified HTML with ob_get_contents() and then discards the buffer with ob_end_clean(). The callback's replacement HTML is discarded, so neither control reaches the response. The previous regression test flushed the buffer instead of reproducing this capture-and-clean sequence and therefore passed incorrectly. A local reproduction of the actual sequence produces zero TOPOS and zero SRTP controls.
Components
NethVoice main, with FreePBX Core 17.0.18.54 and framework 17.0.33.2. Compared with NethVoice 1.7.14.
Suggested fix
Restore trunk page interception so the fields are inserted before the framework captures the response. Correct Core's $module_hook == moduleHook::create() typo to an assignment so the page can safely render in the interceptor's scope, and cover normal, popover and quiet responses in the regression.
Activity
edospadoni commentedon Nov 11, 2026
Testing release: https://github.com/nethesis/ns8-nethvoice/releases/tag/1.8.2-testing.4
mgarra commentedon Nov 12, 2026
Tested and verified.
Stell0 commentedon Nov 12, 2026
Release
nethesis/ns8-nethvoice1.8.2