mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
typo (bug #3557)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user