]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi: Fix erroneously persistent dialmode.
authorNaveen Albert <asterisk@phreaknet.org>
Mon, 18 Aug 2025 12:56:23 +0000 (08:56 -0400)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 27 Aug 2025 14:14:27 +0000 (14:14 +0000)
commitfe7be89a3c59a13a661c088daff9997fd70d6b06
treec6d8ba245c2c25f344b42a12e94ddcf6fe2dddd5
parent38cab432272e3a0f8411d59b9b6cbe458af2dffa
chan_dahdi: Fix erroneously persistent dialmode.

It is possible to modify the dialmode setting in the chan_dahdi/sig_analog
private using the CHANNEL function, to modify it during calls. However,
it was not being reset between calls, meaning that if, for example, tone
dialing was disabled, it would never work again unless explicitly enabled.

This fixes the setting by pairing it with a "perm" version of the setting,
as a few other features have, so that it can be reset to the permanent
setting between calls. The documentation is also clarified to explain
the interaction of this setting and the digitdetect setting more clearly.

Resolves: #1378
channels/chan_dahdi.c
channels/chan_dahdi.h
channels/sig_analog.c
channels/sig_analog.h