[asterisk-dev] Volume Control

Murthy Gandikota mgandikota at nts.net
Wed Dec 24 13:14:21 CST 2014


To correct myself, it has nothing to do with hardware. I am using ast_openstream acquire the stream object. I then use ast_write to send a frame on the stream to all the conference members. Meanwhile  another thread is waiting  for events  on the channel (ast_waitfor) and if a spoken frame is sensed, then it is being queued for the conference members. Here is the catch: if I do ast_write(stream, NULL) and speak up on the phone, then I can hear an echo of myself. So it must be possible to do ast_write(stream, frame) and hear an echo, if the talk volume is sufficiently higher than the listen volume?

Thanks

From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Murthy Gandikota
Sent: Wednesday, December 24, 2014 11:02 AM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Volume Control

Using

set(Volumn(TX)=1)
set(Volume(RX)=1)

in the dialplan had no effect.

I understand that App Konference is not part of the Asterisk code base. I am using it because the source code to set up a dynamic conference--as opposed to confbridge or meetme--is given away at sourceforge.net.

In general, though, is it possible to overlay spoken frames on top of a playback/background/moh?

For me, it seems possible by mixing  frames. However, does the hardware support it?

Thanks

From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Gaston Draque
Sent: Wednesday, December 24, 2014 10:46 AM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Volume Control

Per channel, there is a dialplan function called volume.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_VOLUME

AFAIK App Konference is not part of the Asterisk code base.

On Wed, Dec 24, 2014 at 3:08 PM, Murthy Gandikota <mgandikota at nts.net<mailto:mgandikota at nts.net>> wrote:

Hello All



What is the standard practice to adjust the volume on a channel? I am using App Konference where they have a talk volume and listen volume. No matter what I try, it's not making a difference. By the way, I know that the phone comes with a volume control. I am interested in the software control. If you are wondering what I am trying to do: I am trying to use ast_write and ast_read to write and read frames. The outgoing frames are played in the form of audio correctly. The issue is with the incoming frames--spoken frames--that cannot be heard. Interestingly, when a null frame is written, the talk volume is sufficient to hear an echo. However, when the outgoing frames are played, no conversation can be overlaid. Any help is appreciated.



Thanks


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141224/e95a39d3/attachment.html>


More information about the asterisk-dev mailing list