]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_local: Switch from using a random 4 digit hex identifier to unique id
authorJonathan Rose <jrose@digium.com>
Tue, 11 Sep 2012 22:11:58 +0000 (22:11 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 11 Sep 2012 22:11:58 +0000 (22:11 +0000)
commitd8fb8353cf78f2a90bb5f6f819dd1ac49441ae59
treee3298ed44cc38aa76a43657dc8a36fb302e97766
parent842a34d6226725d1434b2db306933c20d77e183e
chan_local: Switch from using a random 4 digit hex identifier to unique id

Changes chan_local channels to use an 8 digit hex identifier generated
atomically and sequentially in order to eliminate the chance of having
multiple channels with the same name during high call volume situations.

(issue ASTERISK-20318)
Reported by: Dan Cropp
Review: https://reviewboard.asterisk.org/r/2104/

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