[asterisk-dev] AST_CONTROL_MUTE/UNMUTE

Nick Lewis Nick.Lewis at atltelecom.com
Tue Jan 19 10:07:08 CST 2010


I would like to add a builtin feature for muting a call. Initially I
intended to add all the new code into features.c but I now think that
each of the channel technologies should create their own outgoing mutes.
This is because in some technologies it may require more than just
sending silence (e.g. interrupting transmission and informing downstream
systems).

I therefore propose the new control frame types of AST_CONTROL_MUTE and
AST_CONTROL_UNMUTE. When features.c detects a mute request (via DTMF) it
may inform the channel (or channels) that that need to be muted with an
AST_CONTROL_MUTE frame and the mute may then be implemented in a way
appropriate to the technology

May I please have your comments on the suitability of such an approach

N_L

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.
_____________________________________________________________________
Disclaimer of Liability
ATL Telecom Ltd shall not be held liable for any improper or incorrect use of the  information described and/or contained herein and assumes no responsibility for anyones use  of the information. In no event shall ATL Telecom Ltd be liable for any direct, indirect,  incidental, special, exemplary, or consequential damages (including, but not limited to,  procurement or substitute goods or services; loss of use, data, or profits; or business  interruption) however caused and on any theory of liability, whether in contract, strict  liability, or tort (including negligence or otherwise) arising in any way out of the use of  this system, even if advised of the possibility of such damage.

Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB
Registered in Wales Number 4335781

All goods and services supplied by ATL Telecom Ltd are supplied subject to ATL Telecom Ltd standard terms and conditions, available upon request.



More information about the asterisk-dev mailing list