diff options
author | Joshua Colp <jcolp@digium.com> | 2013-12-17 18:26:09 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-12-17 18:26:09 +0000 |
commit | 9fc2cc178a8685dcb3afb9ed9d820f17d39dc4cd (patch) | |
tree | 26a0e93982a39c206dd4db4f8f2cd82a684b3e48 /main/stasis_bridges.c | |
parent | 27f37f6e3df6de123a8af8096303d71bebcb180d (diff) |
framehooks: Re-iterate if framehook provides different frame.
Framehooks can be used in a reactive manner to execute specific logic
when a frame is received with a certain type and payload. Since it is
possible for framehooks to provide frames it was possible for this
reactive framehook to be unaware of frames it is looking for.
This change makes it so that when framehooks return a modified frame
the code will now re-iterate (from the beginning) and call any
previous framehooks that have not provided a modified frame themselves.
Review: https://reviewboard.asterisk.org/r/3046/
........
Merged revisions 404027 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/stasis_bridges.c')
0 files changed, 0 insertions, 0 deletions