]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Apply some logic used in iax2_indicate() to iax2_setoption(), as well, since they
authorRussell Bryant <russell@russellbryant.com>
Mon, 1 Dec 2008 17:27:30 +0000 (17:27 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 1 Dec 2008 17:27:30 +0000 (17:27 +0000)
commitdfec3b69d600f10c569589bbb7353281b0d59d89
treecb1f028f59a754e8eacc5530b9fc30db3de0d0e5
parent8f27432e7690a6cb82519c3aac81efffcf5c2491
Apply some logic used in iax2_indicate() to iax2_setoption(), as well, since they
both have the potential to send control frames in the middle of call setup.  We
have to wait until we have received a message back from the remote end before
we try to send any more frames.  Otherwise, the remote end will consider it
invalid, and we'll get stuck in an INVAL/VNAK storm.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@160003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c