]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi: Allow autoreoriginating after hangup.
authorNaveen Albert <asterisk@phreaknet.org>
Fri, 4 Aug 2023 17:26:05 +0000 (17:26 +0000)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 9 Aug 2023 14:51:35 +0000 (14:51 +0000)
commitd16046e41fed599010edde4bce1cf06fe5efbc9f
treed47c59ab931ad285603d0550095ff752943ec177
parent806515597e92ba875b2c4a9fe815dc329623fb44
chan_dahdi: Allow autoreoriginating after hangup.

Currently, if an FXS channel is still off hook when
all calls on the line have hung up, the user is provided
reorder tone until going back on hook again.

In addition to not reflecting what most commercial switches
actually do, it's very common for switches to automatically
reoriginate for the user so that dial tone is provided without
the user having to depress and release the hookswitch manually.
This can increase convenience for users.

This behavior is now supported for kewlstart FXS channels.
It's supported only for kewlstart (FXOKS) mainly because the
behavior doesn't make any sense for ground start channels,
and loop start signalling doesn't provide the necessary DAHDI
event that makes this easy to implement. Likely almost everyone
is using FXOKS over FXOLS anyways since FXOLS is pretty useless
these days.

ASTERISK-30357 #close

Resolves: #224

UserNote: The autoreoriginate setting now allows for kewlstart FXS
channels to automatically reoriginate and provide dial tone to the
user again after all calls on the line have cleared. This saves users
from having to manually hang up and pick up the receiver again before
making another call.
channels/chan_dahdi.c
channels/chan_dahdi.h
configs/samples/chan_dahdi.conf.sample