From ece934101943af728915929441e91ab68cf2312e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 14 Feb 2005 22:47:57 +0000 Subject: [PATCH] typo (bug #3557) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5030 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 292389078b..5bb4466f7c 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3670,7 +3670,7 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, char *cmd, c ast_callerid_parse(cid, &n, &l); if (l) ast_shrink_phone_number(l); - if (!l || (ast_isphonenumber(l) && default_callerid[0])) + if (!l || (!ast_isphonenumber(l) && default_callerid[0])) l = default_callerid; } /* if user want's his callerid restricted */ -- 2.47.2