SIP channel name uniqueness
authorDavid Brooks <dbrooks@digium.com>
Mon, 2 Nov 2009 20:57:45 +0000 (20:57 +0000)
committerDavid Brooks <dbrooks@digium.com>
Mon, 2 Nov 2009 20:57:45 +0000 (20:57 +0000)
commitd279260f510bfe0e6dcf98cd5ef99de74c73c2e6
treeb64f7485ad9a0b1c06d52b5117ef3aa4cc4a6557
parent8d64231c62263383e72dfd1a4f96d27df98268bd
SIP channel name uniqueness

SIP channel names were supposed to be unique by way of a name suffix derived from the
pointer to the channel's private data. Uniqueness was preserved on 32-bit systems, but
not on 64-bit systems. This patch, as suggested by kpfleming, replaces this suffix with
a simple incremented unsigned int.

(closes issue #15152)
Reported by: palbrecht

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226973 65c4cc65-6c06-0410-ace0-fbb531ad65f3