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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 4 18:31:45 CST 2008


email_notification_title_for_status_bug_ready_for_testing 
====================================================================== 
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:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 96398 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-10-2007 05:08 CST
Last Modified:              01-04-2008 18:31 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.

This patch adds a cli command 'zap set dnd', and it uses the same code as
used from *78 and *79. It also shows 'DND' in 'zap show channel'
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-04-08 18:31  tzafrir        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list