[asterisk-commits] mmichelson: trunk r114259 - in /trunk: ./ channels/chan_zap.c main/callerid.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 18 13:03:06 CDT 2008
Author: mmichelson
Date: Fri Apr 18 13:03:06 2008
New Revision: 114259
URL: http://svn.digium.com/view/asterisk?view=rev&rev=114259
Log:
Merged revisions 114257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r114257 | mmichelson | 2008-04-18 12:44:29 -0500 (Fri, 18 Apr 2008) | 6 lines
Clearing up error messages so they make a bit more sense. Also removing a redundant error
message.
Issue AST-15
........
Modified:
trunk/ (props changed)
trunk/channels/chan_zap.c
trunk/main/callerid.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=114259&r1=114258&r2=114259
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Fri Apr 18 13:03:06 2008
@@ -6855,7 +6855,7 @@
}
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;
@@ -6866,9 +6866,6 @@
if (res == 1) {
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) {
Modified: trunk/main/callerid.c
URL: http://svn.digium.com/view/asterisk/trunk/main/callerid.c?view=diff&rev=114259&r1=114258&r2=114259
==============================================================================
--- trunk/main/callerid.c (original)
+++ trunk/main/callerid.c Fri Apr 18 13:03:06 2008
@@ -302,7 +302,7 @@
res = fsk_serial(&cid->fskd, buf, &mylen, &b);
if (mylen < 0) {
- ast_log(LOG_ERROR, "fsk_serial made mylen < 0 (%d)\n", mylen);
+ ast_log(LOG_ERROR, "No start bit found in fsk data.\n");
return -1;
}
@@ -537,7 +537,7 @@
olen = mylen;
res = fsk_serial(&cid->fskd, buf, &mylen, &b);
if (mylen < 0) {
- ast_log(LOG_ERROR, "fsk_serial made mylen < 0 (%d)\n", mylen);
+ ast_log(LOG_ERROR, "No start bit found in fsk data.\n");
return -1;
}
buf += (olen - mylen);
More information about the asterisk-commits
mailing list