sig_analog: Add Called Subscriber Held capability.

This adds support for Called Subscriber Held for FXS
lines, which allows users to go on hook when receiving
a call and resume the call later from another phone on
the same line, without disconnecting the call. This is
a convenience mechanism that most real PSTN telephone
switches support.

ASTERISK-30372 #close

Resolves: #240

UserNote: Called Subscriber Held is now supported for analog
FXS channels, using the calledsubscriberheld option. This allows
a station  user to go on hook when receiving an incoming call
and resume from another phone on the same line by going on hook,
without disconnecting the call.
This commit is contained in:
Naveen Albert
2023-08-09 22:04:23 +00:00
committed by asterisk-org-access-app[bot]
parent 27c5d27f01
commit 301b0258bf
5 changed files with 60 additions and 0 deletions

View File

@@ -204,6 +204,13 @@ struct dahdi_pvt {
* \note Set from the "busydetect" value read in from chan_dahdi.conf
*/
unsigned int busydetect:1;
/*!
* \brief TRUE if Called Subscriber held is enabled.
* This allows a single incoming call to hold a DAHDI channel up,
* allowing a recipient to hang up an extension and pick up another
* phone on the same line without disconnecting the call.
*/
unsigned int calledsubscriberheld:1;
/*!
* \brief TRUE if call return is enabled.
* (*69, if your dialplan doesn't catch this first)