[asterisk-dev] Asterisk bridging framework

Joshua C. Colp jcolp at sangoma.com
Sun Dec 31 12:43:48 CST 2023


On Sun, Dec 31, 2023 at 11:37 AM <asterisk at phreaknet.org> wrote:

>
> Thanks, Josh,
>    One other question I have: is there any current mechanism for
> retaining a channel's TX audio in the RX audio it gets from the bridge?
> I see in bridge_softmix that the channel's audio is removed, but at
> least here I don't see any logic to keep the audio:
>
> https://github.com/asterisk/asterisk/blob/master/bridges/bridge_softmix.c#L199
>
> I thought maybe this was related to the binaural setting, but now I
> don't think so since both paths subtract.
> Interface wise, this is more about the bridging framework as a whole,
> but practically speaking, only bridge_softmix is used as the bridging
> technology, so I'm more focused on that.
>
> If the answer is 'no', I'm assuming a bridging option would need to be
> added to not subtract the sender's audio from what it gets back from the
> bridge? If this was done, would it be fine if only certain technologies,
> e.g. bridge_softmix obeyed this? Or does it have to be universally
> implemented?


There is no current mechanism, because it's counter to how almost everyone
expects/needs bridging to work and operate. Hearing yourself never ends
well. Why is such a thing needed? Does it have wide applicability? Is it
only for your usage/use case?

-- 
Joshua C. Colp
Director of Engineering | Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20231231/74b0dc9b/attachment.html>


More information about the asterisk-dev mailing list