]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi: Allow specifying waitfordialtone per call.
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 2 Dec 2023 18:24:20 +0000 (13:24 -0500)
committerNaveen Albert <asterisk@phreaknet.org>
Wed, 20 Mar 2024 12:49:05 +0000 (12:49 +0000)
commit7f5131372519cea4567b49b8c96059157a91bc2e
treea4629c96cc385b7ea0233f86ec4b67fb7075c453
parente1dfa207977b4c68e274ba88476dc21271737420
chan_dahdi: Allow specifying waitfordialtone per call.

The existing "waitfordialtone" setting in chan_dahdi.conf
applies permanently to a specific channel, regardless of
how it is being used. This rather restrictively prevents
a system from simultaneously being able to pick free lines
for outgoing calls while also allowing barge-in to a trunk
by some other arrangement.

This allows specifying "waitfordialtone" using the CHANNEL
function for only the next call that will be placed, allowing
significantly more flexibility in the use of trunk interfaces.

Resolves: #472

UserNote: "waitfordialtone" may now be specified for DAHDI
trunk channels on a per-call basis using the CHANNEL function.
channels/chan_dahdi.c
channels/chan_dahdi.h