]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Change ast_write to not stop generator when called from ast_prod.
authorJeff Peeler <jpeeler@digium.com>
Mon, 12 Jul 2010 16:58:39 +0000 (16:58 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 12 Jul 2010 16:58:39 +0000 (16:58 +0000)
commitcd054ab3b4e1d58d69fa06f0ba730f26f80a905f
tree3095ded6ce9e160c7dd210ff3a9080186088d5a9
parentea332c39bf6464d0776bc1be05c406ff98534302
Change ast_write to not stop generator when called from ast_prod.

For SIP channels configured with the progressinband option on, the ringback was
being immediately stopped. This problem was due to ast_prod being moved for a
deadlock fix in 259858. Prodding the channel after setting up the generator
triggered the check in ast_write to stop the generator. The fix here should
write the frame the same as was done before the call to ast_prod was moved.

(closes issue #17372)
Reported by: tech_admin

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@275665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c