]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channel.c: Route all control frames to a channel through the same code. 98/2298/2
authorRichard Mudgett <rmudgett@digium.com>
Mon, 22 Feb 2016 18:15:34 +0000 (12:15 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 29 Feb 2016 18:50:19 +0000 (12:50 -0600)
commit7c4495cb700019108294877a7ec1935379f77627
tree3ca518a79fb9f782b98f94b912012e3b238c0ec7
parentd35c494df1bfc1cc44d7483d9750f31d0184d020
channel.c: Route all control frames to a channel through the same code.

Frame hooks can conceivably return a control frame in exchange for an
audio frame inside ast_write().  Those returned control frames were not
handled quite the same as if they were sent to ast_indicate().  Now it
doesn't matter if you use ast_write() to send an AST_FRAME_CONTROL to a
channel or ast_indicate().

ASTERISK-25582

Change-Id: I5775f41421aca2b510128198e9b827bf9169629b
main/channel.c