[asterisk-bugs] [Asterisk 0011212]: [patch] expose zap DND mode to the dialplan
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Nov 12 07:58:09 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11212
======================================================================
Reported By: tzafrir
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11212
Category: Channels/chan_zap
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 89133
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-10-2007 05:08 CST
Last Modified: 11-12-2007 07:58 CST
======================================================================
Summary: [patch] expose zap DND mode to the dialplan
Description:
chan_zap has a number of channel-specific features which seem to replicate
core feature functionality. It seems that those features won't go away or
get deprecated as "users need them". One of them is the DND
(Do-Not-Disturb) mode.
struct zt_pvt in chan_zap has a boolean field "DND". When this field is
set, no calls can go to that Zaptel channel.
Right now it can be set / unset in two ways:
1. dialing *78 (set or *79 (unset) from that phone, if the dialplan did
not catch those numbers
2. Using a manger command.
(1) also generates a verbose message and a manager event, whereas (2)
doesn't.
The attached patch at the moment only seperates out the code for setting
dnd, but doesn't yet expose it as a dialplan application (or a CLI
command).
======================================================================
----------------------------------------------------------------------
file - 11-12-07 07:58
----------------------------------------------------------------------
There's a small issue with the patch. DND can never be turned off, it
always gets set to 1 no matter what is passed in.
Issue History
Date Modified Username Field Change
======================================================================
11-12-07 07:58 file Note Added: 0073513
======================================================================
More information about the asterisk-bugs
mailing list