]> 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 17:40:38 +0000 (11:40 -0600)
commit53296e50dcb31e035b9ef290018fa4eea892db87
tree0db161b06e96e0e7075e48decfeb58fe3423c9eb
parentc3ec26751112dc5ea0b3f324e07082a3007908dc
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 9b5ffe513d7ffe2cf6de203e03c0c98b80c1a7ac)
channels/chan_dahdi.c
channels/chan_dahdi.h
channels/sig_analog.c
channels/sig_analog.h