[Asterisk-cvs] asterisk/apps app_privacy.c,1.8,1.9
markster at lists.digium.com
markster at lists.digium.com
Sun Jan 9 04:32:40 CST 2005
- Previous message: [Asterisk-cvs] asterisk/channels chan_iax2.c, 1.232,
1.233 iax2-parser.c, 1.33, 1.34 iax2-parser.h, 1.13,
1.14 iax2.h, 1.19, 1.20
- Next message: [Asterisk-cvs] asterisk/res res_odbc.c,1.5.2.1,1.5.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv23808/apps
Modified Files:
app_privacy.c
Log Message:
Fix privacy manager to "do the right things" with blank, but present, callerid (bug #3294)
Index: app_privacy.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_privacy.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- app_privacy.c 12 Dec 2004 01:24:35 -0000 1.8
+++ app_privacy.c 9 Jan 2005 10:37:03 -0000 1.9
@@ -69,13 +69,10 @@
struct ast_config *cfg;
LOCAL_USER_ADD (u);
- if (chan->cid.cid_num)
- {
+ if (chan->cid.cid_num && !ast_strlen_zero(chan->cid.cid_num)) {
if (option_verbose > 2)
ast_verbose (VERBOSE_PREFIX_3 "CallerID Present: Skipping\n");
- }
- else
- {
+ } else {
/*Answer the channel if it is not already*/
if (chan->_state != AST_STATE_UP) {
res = ast_answer(chan);
- Previous message: [Asterisk-cvs] asterisk/channels chan_iax2.c, 1.232,
1.233 iax2-parser.c, 1.33, 1.34 iax2-parser.h, 1.13,
1.14 iax2.h, 1.19, 1.20
- Next message: [Asterisk-cvs] asterisk/res res_odbc.c,1.5.2.1,1.5.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list