[asterisk-bugs] [Asterisk 0011212]: [patch] expose zap DND mode to the dialplan

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Dec 16 03:29:30 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11212 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tzafrir
====================================================================== 
Project:                    Asterisk
Issue ID:                   11212
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
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:              12-16-2007 03:29 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).
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-16-07 03:29  oej            Status                   new => assigned     
12-16-07 03:29  oej            Assigned To               => tzafrir         
======================================================================




More information about the asterisk-bugs mailing list