Add support to see MTP2 down events when the link layer drops in SS7

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Fredrickson
2008-06-30 20:25:46 +00:00
parent 6f58a4f63a
commit 5862f66c88

View File

@@ -9545,7 +9545,10 @@ static void *ss7_linkset(void *data)
}
break;
case MTP2_LINK_UP:
ast_debug(1, "MTP2 link up\n");
ast_verbose("MTP2 link up (SLC %d)\n", e->gen.data);
break;
case MTP2_LINK_DOWN:
ast_log(LOG_WARNING, "MTP2 link down (SLC %d)\n", e->gen.data);
break;
case ISUP_EVENT_CPG:
chanpos = ss7_find_cic(linkset, e->cpg.cic, e->cpg.opc);