]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix __sip_subscribe_mwi_do() incorectly changing dialogs hash key callid.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 7 Nov 2011 21:13:21 +0000 (21:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 7 Nov 2011 21:13:21 +0000 (21:13 +0000)
commit71769a3245e0b5c2997d04da00414db27bae786a
treebc273fbcade2c5b7d305e1d1bece332dd8541cfe
parentdc3ca68670e0af9979ac8dcb9241c4b4acbb43ea
Fix __sip_subscribe_mwi_do() incorectly changing dialogs hash key callid.

Changing an object value used as a container key requires removing the
object from the container and reinserting it.

* Created change_callid_pvt() to call instead of build_callid_pvt().  The
change_callid_pvt() will correctly change the dialog callid so the ao2
conainter can explicitly unlink it.

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