aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-14 16:41:57 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-14 16:41:57 +0000
commitc8ca7d2f263f5161ce1b29ec2c9de835131fc950 (patch)
tree2f75204349a21a8550a6ebb1393e5d3675f22387
parentcf12cac752b5b8daf2f824115db1935cf0c65bfd (diff)
Clean up debug messages a little bit for ss7 linkset debugging
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69308 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_zap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 12aa7a815..69d5aa297 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -8891,6 +8891,7 @@ static void *ss7_linkset(void *data)
static void zt_ss7_message(struct ss7 *ss7, char *s)
{
+#if 0
int i;
for (i = 0; i < NUM_SPANS; i++)
@@ -8898,17 +8899,23 @@ static void zt_ss7_message(struct ss7 *ss7, char *s)
break;
ast_verbose("[%d] %s", i+1, s);
+#else
+ ast_verbose("%s", s);
+#endif
}
static void zt_ss7_error(struct ss7 *ss7, char *s)
{
+#if 0
int i;
for (i = 0; i < NUM_SPANS; i++)
if (linksets[i].ss7 == ss7)
break;
- ast_log(LOG_ERROR, "[%d] %s", i+1, s);
+#else
+ ast_log(LOG_ERROR, "%s", s);
+#endif
}
#endif /* HAVE_SS7 */