]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 20 Mar 2024 12:49:08 +0000 (12:49 +0000)
commit953dc3d127b2fd03e12cbc6158cd93c1e2664ca4
tree66cfc802aadeb2cd85ecae7938df930d1c0be507
parent786f45d94eabf59d11d57aeb38c8551234aa82c8
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