callerid(num) is wrong when username is missing
authorDavid Vossel <dvossel@digium.com>
Wed, 15 Jul 2009 20:20:01 +0000 (20:20 +0000)
committerDavid Vossel <dvossel@digium.com>
Wed, 15 Jul 2009 20:20:01 +0000 (20:20 +0000)
commit3402f34e9b67ee5dd84a2a2869dc8ae44280fadd
treedcb760a6e30028ca91a305c09a3d390bb02b5809
parent6b5dbba90ced929ba1191c65f45598225f6f2c32
callerid(num) is wrong when username is missing

A domain only sip uri <sip:123.123.123.123> would return
123.123.123.123 as callid num.  Now, if the username is
missing from a uri, the callerid num field is left empty.

(closes issue #15476)
Reported by: viraptor

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