]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix an issue that would cause a NewCallerID manager event to be generated
authorRussell Bryant <russell@russellbryant.com>
Sat, 5 Aug 2006 05:08:50 +0000 (05:08 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 5 Aug 2006 05:08:50 +0000 (05:08 +0000)
commit66b15a3461cebf7617fcc236788da55960321c14
treeae71fb6b76d48d499d0f8c8db72cfb68cc837b7f
parent5e3b7eec7d628b1c12c5c0f0b8593c76d9fccff5
Fix an issue that would cause a NewCallerID manager event to be generated
before the channel's NewChannel event.  This was due to a somewhat recent
change that included using ast_set_callerid() where it wasn't before.  This
function should not be used in the channel driver "new" functions.
(issue #7654, fixed by me)

Also, fix a couple minor bugs in usecount handling.  chan_iax2 could have
increased the usecount but then returned an error.  The place where chan_sip
increased the usecount did not call ast_update_usecount()

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_h323.c
channels/chan_iax2.c
channels/chan_mgcp.c
channels/chan_misdn.c
channels/chan_modem.c
channels/chan_phone.c
channels/chan_sip.c
channels/chan_skinny.c
channels/chan_vpb.c
channels/chan_zap.c