aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-18 17:44:29 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-18 17:44:29 +0000
commit346ef7714cd5635a96ee578308aba61537b37d88 (patch)
tree2bb59b4eeb26c76cd8e78a02de02585b9fbc1ff8 /channels
parent3f4fd762de908647ea7c2a3321f48536113fbcad (diff)
Clearing up error messages so they make a bit more sense. Also removing a redundant error
message. Issue AST-15 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114257 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_zap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index a70124368..0653a2a36 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -6223,7 +6223,7 @@ static void *ss_thread(void *data)
}
if (res < 0) {
- ast_log(LOG_WARNING, "CallerID feed failed: %s\n", strerror(errno));
+ ast_log(LOG_WARNING, "CallerID feed failed on channel '%s'\n", chan->name);
break;
} else if (res)
break;
@@ -6235,9 +6235,6 @@ static void *ss_thread(void *data)
callerid_get(cs, &name, &number, &flags);
ast_log(LOG_NOTICE, "CallerID number: %s, name: %s, flags=%d\n", number, name, flags);
}
- if (res < 0) {
- ast_log(LOG_WARNING, "CallerID returned with error on channel '%s'\n", chan->name);
- }
if (p->cid_signalling == CID_SIG_V23_JP) {
res = zt_set_hook(p->subs[SUB_REAL].zfd, ZT_ONHOOK);