]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Don't allow a REFER w/replaces to replace its own dialog
authorTerry Wilson <twilson@digium.com>
Mon, 7 Feb 2011 21:51:43 +0000 (21:51 +0000)
committerTerry Wilson <twilson@digium.com>
Mon, 7 Feb 2011 21:51:43 +0000 (21:51 +0000)
commitc80738307a0bf1d1e3acab7fe13067c5fd2a9bfb
tree098a76f48c72e8919c2efaf084d3220a7f70f45b
parenta7d12781c014416fd903f25fb11b78068f907393
Don't allow a REFER w/replaces to replace its own dialog

Asterisk currently accepts a REFER with a Refer-To with an embedded Replaces
header that matches the dialog of the REFER. This would be a situation like A
calls B, A calls C, A transfers B to A, which is just silly. This patch makes
the transfer fail instead of making Asterisk freak out and forget to hang other
channels up.

Review: https://reviewboard.asterisk.org/r/1093/

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