From 79f553a4abeab27281878e69a617ecea17e590f1 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Mon, 14 May 2007 22:25:56 +0000 Subject: [PATCH] Only print the SS7 UP once. Not every time we get the test messages on the line. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64384 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 5f3c23fb96..3aa200f742 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -8619,9 +8619,10 @@ static void *ss7_linkset(void *data) while ((e = ss7_check_event(ss7))) { switch (e->e) { case SS7_EVENT_UP: - ast_verbose("--- SS7 Up ---\n"); - if (linkset->state != LINKSET_STATE_UP) + if (linkset->state != LINKSET_STATE_UP) { + ast_verbose("--- SS7 Up ---\n"); ss7_reset_linkset(linkset); + } linkset->state = LINKSET_STATE_UP; break; case SS7_EVENT_DOWN: -- 2.47.2