]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Wed, 9 Aug 2023 14:51:32 +0000 (14:51 +0000)
commitc16cc93a4b9a79a7586b63baf58edad1388c2915
tree99748a9ad8d74aa08327c8262ad6473391d1dab4
parent5ebe1b61bd8f8a5aa2bda96542b070c1346e3d12
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