[Asterisk-cvs] asterisk/channels chan_iax2.c,1.277,1.278
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Wed May 4 00:42:27 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv11730/channels
Modified Files:
chan_iax2.c
Log Message:
move some debugging output to a higher debug level (bug #4119)
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -d -r1.277 -r1.278
--- chan_iax2.c 2 May 2005 01:34:21 -0000 1.277
+++ chan_iax2.c 4 May 2005 04:49:32 -0000 1.278
@@ -1464,7 +1464,7 @@
int res;
char iabuf[INET_ADDRSTRLEN];
/* Called with iaxsl held */
- if (option_debug)
+ if (option_debug > 2)
ast_log(LOG_DEBUG, "Sending %d on %d/%d to %s:%d\n", f->ts, f->callno, iaxs[f->callno]->peercallno, ast_inet_ntoa(iabuf, sizeof(iabuf), iaxs[f->callno]->addr.sin_addr), ntohs(iaxs[f->callno]->addr.sin_port));
/* Don't send if there was an error, but return error instead */
if (!f->callno) {
@@ -3436,7 +3436,7 @@
if (delivery && (delivery->tv_sec || delivery->tv_usec)) {
ms = (delivery->tv_sec - p->offset.tv_sec) * 1000 +
(1000000 + delivery->tv_usec - p->offset.tv_usec) / 1000 - 1000;
- if (option_debug)
+ if (option_debug > 2)
ast_log(LOG_DEBUG, "calc_timestamp: call %d/%d: Timestamp slaved to delivery time\n", p->callno, iaxs[p->callno]->peercallno);
} else {
gettimeofday(&tv, NULL);
@@ -8879,7 +8879,7 @@
ext = NULL;
}
- if (option_debug > 1)
+ if (option_debug > 2)
ast_log(LOG_DEBUG, "Checking device state for device %s\n", dest);
p = find_peer(host, 1);
More information about the svn-commits
mailing list