Only print the SS7 UP once. Not every time we get the test messages on the
line. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64384 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
521c3bc9c5
commit
f91170af71
|
@ -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:
|
||||
|
|
Reference in New Issue