Merging patch from 1.2/1.4. I think this was originally spotted by
authorOlle Johansson <oej@edvina.net>
Thu, 30 Nov 2006 09:23:25 +0000 (09:23 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 30 Nov 2006 09:23:25 +0000 (09:23 +0000)
commit389ed67b418be05cec5a4aea9a9a32c04051fa5d
treee0e59c84b4761bcc7366785a4becfc071252ee32
parentbf9a5e1dee07d66a6eaca55df58328d425b8bf28
Merging patch from 1.2/1.4. I think this was originally spotted by
Luigi, but hit me in the back today.

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