SIP channel name uniqueness
authorDavid Brooks <dbrooks@digium.com>
Mon, 2 Nov 2009 20:59:37 +0000 (20:59 +0000)
committerDavid Brooks <dbrooks@digium.com>
Mon, 2 Nov 2009 20:59:37 +0000 (20:59 +0000)
commit2c4d3b3168743f876a9935d66c0756967955b841
tree43445d5c9e1bde0981e828ae0976a53f321850eb
parentd279260f510bfe0e6dcf98cd5ef99de74c73c2e6
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@226974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c