From: Matthew Fredrickson Date: Mon, 14 May 2007 22:25:56 +0000 (+0000) Subject: Only print the SS7 UP once. Not every time we get the test messages on the X-Git-Tag: 1.6.0-beta1~3^2~2676 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f553a4abeab27281878e69a617ecea17e590f1;p=thirdparty%2Fasterisk.git 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 --- 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: