aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-26 16:03:00 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-26 16:03:00 +0000
commite279324e49f40511e4b3a2c00d16c740c5433eaa (patch)
tree142829c123ceb9fe6041a991978c6412c4b922de /channels
parent1370f15e537e3902d8104a19955567441ee0e54a (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@38249 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0a53303f0..d1e0a2b16 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4934,7 +4934,7 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, int sipmetho
l = CALLERID_UNKNOWN;
n = l;
}
- if (!l)
+ if (ast_strlen_zero(l))
l = default_callerid;
if (ast_strlen_zero(n))
n = l;