]> 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:00 +0000 (12:49 +0000)
commite10bca9f588415cf5a816d425e6b865ead45a9e3
tree3b50fc70d9953a87a8cecd1887ec473768f5fb20
parentd0b51f1ff784c5edaa27f58a192781c1e4f6f349
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