From efc550418c0b107c07818809a3d8e779e476dcd4 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Tue, 4 Nov 2008 09:31:09 +0100 Subject: Added processing of second caller id. New routing macht rule to filter second caller id. Fixed extensions directory path. "make clean" now cleans ".po" files. Fixed unititialized variable bugs and compiler warnings. modified: Makefile.am modified: Makefile.in modified: action.cpp modified: apppbx.cpp modified: callerid.c modified: chan_lcr.c modified: dss1.cpp modified: dss1.h modified: extension.c modified: gentones.c modified: ie.cpp modified: mISDN.cpp modified: message.h modified: port.cpp modified: route.c modified: route.h modified: socket_server.c modified: tones.c modified: trace.c --- callerid.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'callerid.c') diff --git a/callerid.c b/callerid.c index a60c451..c12e908 100644 --- a/callerid.c +++ b/callerid.c @@ -43,6 +43,9 @@ const char *numberrize_callerinfo(const char *string, int ntype, const char *nat switch(ntype) { + case INFO_NTYPE_NOTPRESENT: + return(""); + case INFO_NTYPE_INTERNATIONAL: strcpy(result, international); strncat(result, string, sizeof(result)-strlen(result)-1); -- cgit v1.2.3-55-g7522