sig_analog: Add Call Waiting Deluxe support.

Adds support for Call Waiting Deluxe options to enhance
the current call waiting feature.

As part of this change, a mechanism is also added that
allows a channel driver to queue an audio file for Dial()
to play, which is necessary for the announcement function.

ASTERISK-30373 #close

Resolves: #271

UserNote: Call Waiting Deluxe can now be enabled for FXS channels
by enabling its corresponding option.
This commit is contained in:
Naveen Albert
2023-08-24 14:07:06 +00:00
parent dc2d559ccf
commit 876c25a953
10 changed files with 294 additions and 0 deletions

View File

@@ -332,6 +332,10 @@ struct dahdi_pvt {
* \note Set from the "callwaiting" value read in from chan_dahdi.conf
*/
unsigned int permcallwaiting:1;
/*!
* \brief TRUE if Call Waiting Deluxe options should be available
*/
unsigned int callwaitingdeluxe:1;
/*!
* \brief TRUE if the outgoing caller ID is blocked/restricted/hidden.
* \note Set from the "hidecallerid" value read in from chan_dahdi.conf