diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-10 23:29:14 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-10 23:29:14 +0000 |
commit | 5e30f2459e043784e5b096604c6ba8b66cd95ef1 (patch) | |
tree | 1a56bf8165a558f80be2e26cf63477f2614658d4 /channels/sig_analog.h | |
parent | 6543a06968c79bf39deb8e60e54c5d0c4f05250c (diff) |
Allow do not disturb to be set on analog channels via the CLI and AMI.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@217954 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/sig_analog.h')
-rw-r--r-- | channels/sig_analog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/sig_analog.h b/channels/sig_analog.h index 1b9a14de1..522012b26 100644 --- a/channels/sig_analog.h +++ b/channels/sig_analog.h @@ -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 */ |