mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
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:
@@ -289,6 +289,7 @@ struct analog_pvt {
|
||||
unsigned int ani_wink_time:16; /* Safe wait time before we wink to start ANI spill */
|
||||
|
||||
unsigned int answeronpolarityswitch:1;
|
||||
unsigned int calledsubscriberheld:1; /*!< TRUE if a single incoming call can hold an FXS channel */
|
||||
unsigned int callreturn:1;
|
||||
unsigned int cancallforward:1;
|
||||
unsigned int canpark:1;
|
||||
@@ -330,6 +331,7 @@ struct analog_pvt {
|
||||
|
||||
/* XXX: All variables after this are internal */
|
||||
unsigned int callwaiting:1; /*!< TRUE if call waiting is enabled. (Active option) */
|
||||
unsigned int cshactive:1; /*!< TRUE if FXS channel is currently held by an incoming call */
|
||||
unsigned int dialednone:1;
|
||||
unsigned int dialing:1; /*!< TRUE if in the process of dialing digits or sending something */
|
||||
unsigned int dnd:1; /*!< TRUE if Do-Not-Disturb is enabled. */
|
||||
|
Reference in New Issue
Block a user