Hi,
Attached are my patches used in my tests in order to mute audio from "mic"
by disabling MprFromInputDevice
Indeed it seems to work without problems, at least for my tests until now.
Doing this way we don't mute Mic for all others application too, that is
another advantage.
I Noticed that RTP Unknown RTP version 0 packets are sent while Resource is
disabled.
Paulo

On Thu, Jul 16, 2009 at 4:53 AM, Alexander Chemeris <
alexander.cheme...@sipez.com> wrote:

> On Thu, Jul 16, 2009 at 05:33, Paulo Vicentini<vicentini.pa...@gmail.com>
> wrote:
> > By disabling MprFromInputDevice resource, it will stop to send RTP
> > too,right?
>
> It shouldn't, if DTX is not enabled. It's a bug if it does.
>
> > I think doing that way it can lead to other issues, maybe:
> > - close NAT pinholes
> > - close socket listening on remote endpoint
>
> This is effectively handled by keep-alive packets.
>
> > (**) The idea would be to keep just sending "mute" RTP packets when  mic
> is
> > muted.
> >  Is (1) Zeroing appropriate weights in the Bridge approach more suitable
> to
> > that aim (**) ?
>
> Zeroing Bridge weights will have the same ramifications on RTP sending
> as disabling MprFromInputDevice do. (**) is not correct approach, as
> Dan already pointed - you still may want to say audio other then from Mic
> (from a file, e.g.).
>
>
> --
> Regards,
> Alexander Chemeris.
>
> SIPez LLC.
> SIP VoIP, IM and Presence Consulting
> http://www.SIPez.com
> tel: +1 (617) 273-4000
>

Attachment: sipXmediaAdapterLib.patch
Description: Binary data

Attachment: sipXcallLib.patch
Description: Binary data

_______________________________________________
sipxtapi-dev mailing list
sipxtapi-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to