[asterisk-dev] Question regarding native bridge's framehook

Joshua C. Colp jcolp at sangoma.com
Wed Oct 6 07:35:26 CDT 2021


On Wed, Oct 6, 2021 at 6:54 AM Jean Aunis <jean.aunis at prescom.fr> wrote:

> Hello,
>
> I have a question regarding the use of a framehook in bridge_native_rtp.
>
> The framehook is used to redirect RTP streams when a hold, unhold or RTP
> update is detected.
>
> But what's the reason for doing this in a framehook ? Why not doing it
> in the native_rtp_bridge_write callback ? Doing this in the framehook is
> somehow more "complex" since it implies restoring a proper lock order.
>

I don't remember specific reasoning. It may or may not work as needed there.

-- 
Joshua C. Colp
Asterisk Technical 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/20211006/caaec688/attachment.html>


More information about the asterisk-dev mailing list