[asterisk-bugs] [Asterisk 0014673]: [patch] Missing mute facility

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 10 03:12:50 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14673 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14673
Category:                   Channels/chan_alsa
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             Feature Tracker
Asterisk Version:           1.6.0.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-16 10:18 CDT
Last Modified:              2009-11-10 03:12 CST
====================================================================== 
Summary:                    [patch] Missing mute facility
Description: 
chan_oss.c has a mute facility for the console phone. This facility is
missing from chan_alsa.c. Please find attached a patch that adds the
facility. 

The patch permits the initial mute state to be defined in the conf file.
This is useful in conjunction with auto-answer for call screening purposes.
Also the patch ensures that the console will not attach to a sound capture
port if a noaudiocapture parameter is set in the conf file. This permits
the console phone to be connected to a public address system which has no
return audio path. It also frees up the sound capture port for streaming or
live music on hold uses.


====================================================================== 

---------------------------------------------------------------------- 
 (0113491) Nick_Lewis (reporter) - 2009-11-10 03:12
 https://issues.asterisk.org/view.php?id=14673#c113491 
---------------------------------------------------------------------- 
Yes it may work fine in some cases but I have the following concerns
(i) On older alsa installations the default did not include dmix and
dsnoop so sharing does not work on these systems
(ii) Some utilities do not behave well when connecting to a device that is
already used. They may hang indefinitely causing wider problems in
dependent scripts and applications. (Until a previous fix chan_alsa would
hang asterisk in this way.)
(iii) The audio capture may be used for an application that is unsuited to
being output via the console phone. For example it may be connected to an
external radio receiver and used for live music-on-hold. Anyone calling the
console phone from their own extension (e.g. to make a public announcement
over a PA system) would find it difficult to speak while the music was
being played at them. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-10 03:12 Nick_Lewis     Note Added: 0113491                          
======================================================================




More information about the asterisk-bugs mailing list