mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
chan_dahdi: Allow MWI to be manually toggled on channels.
This adds a CLI command to manually toggle the MWI status
of a channel, useful for troubleshooting or resetting
MWI devices, similar to the capabilities offered with
SIP messaging to manually control MWI status.
UserNote: The 'dahdi set mwi' now allows MWI on channels
to be manually toggled if needed for troubleshooting.
Resolves: #440
(cherry picked from commit 4b908f364d
)
This commit is contained in:
committed by
Asterisk Development Team
parent
727a4cceec
commit
76d33df366
@@ -431,6 +431,10 @@ struct dahdi_pvt {
|
||||
unsigned int mwimonitoractive:1;
|
||||
/*! \brief TRUE if a MWI message sending thread is active */
|
||||
unsigned int mwisendactive:1;
|
||||
/*! \brief TRUE if a manual MWI override is active for a channel */
|
||||
unsigned int mwioverride_active:1;
|
||||
/*! \brief Manual MWI disposition (on/off) */
|
||||
unsigned int mwioverride_disposition:1;
|
||||
/*!
|
||||
* \brief TRUE if channel is out of reset and ready
|
||||
* \note Used by SS7. Otherwise set but not used.
|
||||
|
Reference in New Issue
Block a user