]> 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:02 +0000 (12:49 +0000)
commit8dd77df69b8a59d5b9cc5f059397b512847f603c
tree421577adcadd44346ea1eabf29c3ebbc34bbed52
parentb05865d8e958ca82c5e82c8141356bac3e6178ff
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