Fix improper comaparison of anonymous URI when getting P-Asserted-Identity.
authorMark Michelson <mmichelson@digium.com>
Wed, 31 Mar 2010 22:35:20 +0000 (22:35 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 31 Mar 2010 22:35:20 +0000 (22:35 +0000)
commit284ac3a4d975e8637a0cdb90d343fdd7f0060644
tree879df3da5e904dc12e539348a572e11e05d71ca1
parent0511d3c79879fd9c9710e7ecd3652706228c67f4
Fix improper comaparison of anonymous URI when getting P-Asserted-Identity.

There was a bug where we split the URI on the @ sign and then attempted
to compare to "anonymous@anonymous.invalid" afterwards. This comparison
could never evaluate true. So now we keep a copy of the URI prior to the
split so that the comparison is valid.

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