[Home]

Summary:ASTERISK-12001: Console-phone one-way audio option (chan_alsa.c/chan_oss.c)
Reporter:nick_lewis (nick_lewis)Labels:
Date Opened:2008-05-09 04:53:02Date Closed:2008-05-09 09:18:11
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/New Feature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:It would be very useful if the console phone could optionally operate with audio in one direction only. A configuration option such as "noaudiocapture=yes" in alsa.conf (and oss.conf for oss users) would permit the console phone to operate with a PA system to provide a external pager facility while still allowing pcm capture to be used for live music on hold.

****** ADDITIONAL INFORMATION ******

This functionality would require changes to chan_alsa.c (similarly chan_oss.c) to prevent the grabbing on module load of the pcm capture stream e.g.

snd_pcm_open(&handle, ALSA_INDEV, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK)

and to feed muted audio to asterisk e.g.

f.frametype = AST_FRAME_NULL;
Comments:By: Russell Bryant (russell) 2008-05-09 09:18:11

feature requests without patches are not accepted here, sorry