[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.49,1.510.2.50

russell at lists.digium.com russell at lists.digium.com
Mon Feb 14 16:48:28 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv8274/channels

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
typo (bug #3557)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.49
retrieving revision 1.510.2.50
diff -u -d -r1.510.2.49 -r1.510.2.50
--- chan_sip.c	7 Feb 2005 17:10:25 -0000	1.510.2.49
+++ chan_sip.c	14 Feb 2005 22:47:57 -0000	1.510.2.50
@@ -3670,7 +3670,7 @@
 		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 */




More information about the svn-commits mailing list