]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi: Add dialmode option for FXS lines.
authorNaveen Albert <asterisk@phreaknet.org>
Fri, 28 Apr 2023 18:57:37 +0000 (18:57 +0000)
committerNaveen Albert <asterisk@phreaknet.org>
Tue, 2 May 2023 14:06:22 +0000 (14:06 +0000)
commit82d7bb49ddc15cff5ea2e50f5ee6934102fe13d1
treeabe2c90e0e05dc5d086f2de72ab81f3843c9afd3
parentef644c3e937e132c7b91e75f6ca580b04991ab05
chan_dahdi: Add dialmode option for FXS lines.

Currently, both pulse and tone dialing are always enabled
on all FXS lines, with no way of disabling one or the other.

In some circumstances, it is desirable or necessary to
disable one of these, and this behavior can be problematic.

A new "dialmode" option is added which allows setting the
methods to support on a per channel basis for FXS (FXO
signalled lines). The four options are "both", "pulse",
"dtmf"/"tone", and "none".

Additionally, integration with the CHANNEL function is
added so that this setting can be updated for a channel
during a call.

Resolves: #35
ASTERISK-29992

UserNote: A "dialmode" option has been added which allows
specifying, on a per-channel basis, what methods of
subscriber dialing (pulse and/or tone) are permitted.

Additionally, this can be changed on a channel
at any point during a call using the CHANNEL
function.
channels/chan_dahdi.c
channels/chan_dahdi.h
channels/sig_analog.c
channels/sig_analog.h
configs/samples/chan_dahdi.conf.sample