[Asterisk-code-review] Add API for channel frame deferral. (asterisk[13])
Mark Michelson
asteriskteam at digium.com
Mon Nov 7 12:26:24 CST 2016
Hello George Joseph, Anonymous Coward #1000019, Joshua Colp,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/4297
to look at the new patch set (#2).
Change subject: Add API for channel frame deferral.
......................................................................
Add API for channel frame deferral.
There are several places in Asterisk that have duplicated logic
for deferring important frames until later.
This commit adds a couple of API calls to facilitate this automatically.
ast_channel_start_defer_frames(): Future reads of deferrable frames on
this channel will be deferred until later.
ast_channel_stop_defer_frames(): Any frames that have been deferred get
requeued onto the channel.
ASTERISK-26343
Change-Id: I3e1b87bc6796f222442fa6f7d1b6a4706fb33641
---
M include/asterisk/channel.h
M main/channel.c
M main/channel_internal_api.c
3 files changed, 89 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/97/4297/2
--
To view, visit https://gerrit.asterisk.org/4297
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3e1b87bc6796f222442fa6f7d1b6a4706fb33641
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list