Allow do not disturb to be set on analog channels via the CLI and AMI.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2009-09-10 23:29:14 +00:00
parent a393b47316
commit 3a718192c6
3 changed files with 43 additions and 12 deletions

View File

@@ -274,7 +274,7 @@ struct analog_pvt {
unsigned int callwaiting:1;
unsigned int dialednone:1;
unsigned int dialing:1; /*!< TRUE if in the process of dialing digits or sending something */
unsigned int dnd:1;
unsigned int dnd:1; /*!< TRUE if Do-Not-Disturb is enabled. */
unsigned int echobreak:1;
unsigned int hidecallerid:1;
unsigned int outgoing:1;
@@ -350,4 +350,6 @@ int analog_ss_thread_start(struct analog_pvt *p, struct ast_channel *ast);
int analog_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, void *newp);
int analog_dnd(struct analog_pvt *p, int flag);
#endif /* _SIG_ANSLOG_H */