]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:27 +0000 (14:04 -0600)
commit77cedfb0fb63b8ebbae4b35a54c9de849f708dbe
treef7e74edb3d8ffc38af42d3913bbbc81a6e8c1fbe
parent17d39e809f426b235c4796c80084178e2f27bbdc
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
(cherry picked from commit 1cfd9216b7a576f72c5d6d16c85fcea00a2f7eab)
channels/chan_dahdi.c
channels/chan_dahdi.h
channels/sig_analog.c
channels/sig_analog.h