AFAIK there isn't anything pre-rolled that you can use. However, I know that Tony's auto gain control (agc) logic checks the "volume" level coming in on a channel. You might be able to look in mod_conference.c and see where the agc calculates the incoming volume level and write an API that displays that value.<br>
<br>I'd start by looking at the function check_agc_levels() and for references to member->agc_volume_in_level. Hopefully that will give you a place to start.<br><br>-MC<br><br><div class="gmail_quote">On Wed, Mar 14, 2012 at 10:26 AM, Matt Stockton <span dir="ltr"><<a href="mailto:mstockton@harqen.com">mstockton@harqen.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>I am interested in providing a visualization of a channel in a conference. I am able to process the start talking and stop talking events from the conference, but I'm wondering, has anyone done anything that can get the real-time amplitude of a channel? I didn't see any built-in API commands to do this, but wondering if there's any modules or something else that I'm overlooking? Or maybe now is the time for me to dig into the API documentation?</div>
<div><br></div><div>Just curious if anyone has done something like this before, and if so, if you could guide me in the right direction.</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>
Matt</div>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>